salt.proxy.docker

Warning

This module will be removed from Salt in version 3009 in favor of the docker Salt Extension.

Docker Proxy Minion

New in version 2019.2.0.

depends:

docker

This proxy minion is just a shim to the docker executor, which will use the docker.call for everything except state runs.

To configure the proxy minion:

proxy:
  proxytype: docker
  name: festive_leakey

It is also possible to just name the proxy minion the same name as the container, and use grains to configure the proxy minion:

proxy:
    proxytype: docker
    name: {{grains['id']}}

name

Name of the docker container

salt.proxy.docker.init(opts)

Always initialize

salt.proxy.docker.initialized()

This should always be initialized

salt.proxy.docker.module_executors()

List of module executors to use for this Proxy Minion

salt.proxy.docker.shutdown(opts)

Nothing needs to be done to shutdown