This is a Docker-based test bench for Salt.
To use the project, the following components need to be installed on the system:
- Docker toolchain (at least the Docker Engine and Docker Compose) ;
- GNU Make.
The provided Docker Compose recipe is only compatible with the 18.06.0 version (or ulterior) of the Docker Engine. Make sure you have the correct version installed by running docker --version
. Docker Compose 1.25.4 (or ulterior) is also required.
Pre-built images are available on Docker Hub.
To build the images locally, just navigate to the root of the repository and run:
make build
Once the images have been built, one can bring the stack up and running using:
make up
Then, spawn an interactive shell inside the Salt Master container by issuing:
make shell
Finally, execute the following command to bring the whole stack down:
make down
In case you spot a mistake or encounter an issue, please file a ticket.