module documentation

Undocumented

Class Container Local representation of a container object. Detailed configuration may be accessed through the :py:attr:`attrs` attribute. Note that local attributes are cached; users may call :py:meth:`reload` to query the Docker daemon for the current properties, causing :py:attr:`attrs` to be refreshed.
Class ContainerCollection No class docstring; 4/5 methods documented
Constant RUN_CREATE_KWARGS Undocumented
Constant RUN_HOST_CONFIG_KWARGS Undocumented
Variable ExecResult A result of Container.exec_run with the properties ``exit_code`` and ``output``.
Function _create_container_args Convert arguments to create() to arguments to create_container().
Function _host_volume_from_bind Undocumented
RUN_CREATE_KWARGS: list[str] = (source)

Undocumented

Value
['command',
 'detach',
 'domainname',
 'entrypoint',
 'environment',
 'healthcheck',
 'hostname',
...
RUN_HOST_CONFIG_KWARGS: list[str] = (source)

Undocumented

Value
['auto_remove',
 'blkio_weight_device',
 'blkio_weight',
 'cap_add',
 'cap_drop',
 'cgroup_parent',
 'cgroupns',
...
ExecResult = (source)

A result of Container.exec_run with the properties ``exit_code`` and ``output``.

def _create_container_args(kwargs): (source)

Convert arguments to create() to arguments to create_container().

def _host_volume_from_bind(bind): (source)

Undocumented