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

Method history

docker/api/image.py:42–57  ·  view source on GitHub ↗

Show the history of an image. Args: image (str): The image to show history for Returns: (list): The history of the image Raises: :py:class:`docker.errors.APIError` If the server returns an error.

(self, image)

Source from the content-addressed store, hash-verified

40
41 @utils.check_resource('image')
42 def history(self, image):
43 """
44 Show the history of an image.
45
46 Args:
47 image (str): The image to show history for
48
49 Returns:
50 (list): The history of the image
51
52 Raises:
53 :py:class:`docker.errors.APIError`
54 If the server returns an error.
55 """
56 res = self._get(self._url("/images/{0}/history", image))
57 return self._result(res, True)
58
59 def images(self, name=None, quiet=False, all=False, filters=None):
60 """

Callers

nothing calls this directly

Calls 3

_getMethod · 0.80
_urlMethod · 0.80
_resultMethod · 0.80

Tested by

no test coverage detected