Public | Automated Build

Last pushed: 18 days ago
Short Description
Short description is empty for this repo.
Full Description

docker-salt-minion

Salt-minion docker container (for testing purpose).

Build

To create the image bbinet/salt-minion:jessie, execute the following command
in the docker-salt-minion folder:

docker build -t bbinet/salt-minion:jessie .

You can now push the new image to the public registry:

docker push bbinet/salt-minion:jessie

Run

Then, when starting your salt-minion container, you will want to link it to
the salt-master container with the --link salt-master:salt-master option.

The salt-minion container will read its configuration from the /etc/salt
directory volume, so you should bind this config volume to a host directory or
data container. The salt-minion will load existing settings for the salt
configuration and pki stuff from this /etc/salt volume.

Also on debian jessie, systemd new init system needs the cgroup fs to be
mounted as a volume.

For example:

$ docker pull bbinet/salt-minion:jessie

$ docker run --name salt-minion \
    -v /home/salt-minion/config:/etc/salt \
    -v /sys/fs/cgroup:/sys/fs/cgroup \
    --link salt-master:salt-master \
    bbinet/salt-minion:jessie
Docker Pull Command
Owner
bbinet
Source Repository