Skip to content

Quick Start

Carlos D. Álvaro edited this page Sep 28, 2022 · 3 revisions

The quickest way to get started is using docker-compose.

wget https://raw.githubusercontent.com/cdalvaro/docker-salt-master/master/docker-compose.yml

Start the docker-salt-master container with the docker-compose.yml file by executing:

docker-compose up --detach

Alternatively, you can manually launch the docker-salt-master container:

docker run --name salt_master --detach \
    --publish 4505:4505 --publish 4506:4506 \
    --env 'SALT_LOG_LEVEL=info' \
    --volume $(pwd)/roots/:/home/salt/data/srv/ \
    --volume $(pwd)/keys/:/home/salt/data/keys/ \
    ghcr.io/cdalvaro/docker-salt-master:latest
Clone this wiki locally