MCPcopy Index your code
hub / github.com/docker/docker-py / diff

Method diff

docker/models/containers.py:153–165  ·  view source on GitHub ↗

Inspect changes on a container's filesystem. Returns: (list) A list of dictionaries containing the attributes `Path` and `Kind`. Raises: :py:class:`docker.errors.APIError` If the server returns an error.

(self)

Source from the content-addressed store, hash-verified

151 return self.client.images.get(resp['Id'])
152
153 def diff(self):
154 """
155 Inspect changes on a container's filesystem.
156
157 Returns:
158 (list) A list of dictionaries containing the attributes `Path`
159 and `Kind`.
160
161 Raises:
162 :py:class:`docker.errors.APIError`
163 If the server returns an error.
164 """
165 return self.client.api.diff(self.id)
166
167 def exec_run(self, cmd, stdout=True, stderr=True, stdin=False, tty=False,
168 privileged=False, user='', detach=False, stream=False,

Callers 6

test_diffMethod · 0.45
test_diffMethod · 0.45
test_diffMethod · 0.45
test_diffMethod · 0.45

Calls

no outgoing calls

Tested by 6

test_diffMethod · 0.36
test_diffMethod · 0.36
test_diffMethod · 0.36
test_diffMethod · 0.36