class documentation

class DriverConfig(dict): (source)

View In Hierarchy

Indicates which driver to use, as well as its configuration. Can be used as ``log_driver`` in a :py:class:`~docker.types.ContainerSpec`, for the `driver_config` in a volume :py:class:`~docker.types.Mount`, or as the driver object in :py:meth:`create_secret`. Args: name (string): Name of the driver to use. options (dict): Driver-specific options. Default: ``None``.

Method __init__ Undocumented
def __init__(self, name, options=None): (source)

Undocumented