A Docker Image for a Salt Minion. This image allows you to run a Salt Minion enabled server within a Docker container. This is designed for testing purposes of Salt States contained within a Salt Master server.
Simply run this docker command:
docker run --rm -it soon/salt-minion
You can link to a running Salt Master container by running the following docker command:
docker run -d soon/salt-master
docker run --rm -it --link salt-master:salt soon/salt-minion
The following environment variables can be set:
LOG_LEVEL
: The level to log at, defaults toerror
For example:
docker run --rm -it -e LOG_LEVEL=debug soon/salt-minion
The image shares the /etc/salt/minion.d
directory where you can place your
own minion configuration. See the Salt Stack documentation for more on
configuring a Salt Minion.