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

Method pause

docker/models/containers.py:324–332  ·  view source on GitHub ↗

Pauses all processes within this container. Raises: :py:class:`docker.errors.APIError` If the server returns an error.

(self)

Source from the content-addressed store, hash-verified

322 return self.client.api.logs(self.id, **kwargs)
323
324 def pause(self):
325 """
326 Pauses all processes within this container.
327
328 Raises:
329 :py:class:`docker.errors.APIError`
330 If the server returns an error.
331 """
332 return self.client.api.pause(self.id)
333
334 def put_archive(self, path, data):
335 """

Callers 4

test_pauseMethod · 0.45
test_pause_unpauseMethod · 0.45
test_pauseMethod · 0.45
test_pause_containerMethod · 0.45

Calls

no outgoing calls

Tested by 4

test_pauseMethod · 0.36
test_pause_unpauseMethod · 0.36
test_pauseMethod · 0.36
test_pause_containerMethod · 0.36