MCPcopy
hub / github.com/docker/docker-py / start

Method start

docker/models/containers.py:411–420  ·  view source on GitHub ↗

Start this container. Similar to the ``docker start`` command, but doesn't support attach options. Raises: :py:class:`docker.errors.APIError` If the server returns an error.

(self, **kwargs)

Source from the content-addressed store, hash-verified

409 return self.client.api.restart(self.id, **kwargs)
410
411 def start(self, **kwargs):
412 """
413 Start this container. Similar to the ``docker start`` command, but
414 doesn't support attach options.
415
416 Raises:
417 :py:class:`docker.errors.APIError`
418 If the server returns an error.
419 """
420 return self.client.api.start(self.id, **kwargs)
421
422 def stats(self, **kwargs):
423 """

Calls

no outgoing calls