Skip to content
Docker and Docker Compose files to easily startup with Salt for Network Automation
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
pillar
states
Dockerfile-master
Dockerfile-proxy
LICENSE
Makefile
README.rst
docker-compose.yml
master
proxy
run-master.sh
run-proxy.sh

README.rst

salt-netdev-docker

Docker and Docker compose files to easily startup with Salt for Network Automation

Usage

  1. Clone this repo:

    git clone git@github.com:mirceaulinic/salt-netdev-docker.git
  2. Change dir:

    cd salt-netdev-docker
  3. Start using it:

    make PROXYID=dummy

Example output:

$ make PROXYID=dummy
docker-compose up -d
Creating salt-proxy-dummy ...
Creating salt-master ...
Creating salt-proxy-dummy
Creating salt-master ... done

Run a test state from the Master side:

$ docker exec -it salt-master bash
root@salt-master:/# salt dummy state.apply test
dummy:
----------
          ID: Yay it works
    Function: test.succeed_without_changes
      Result: True
     Comment: Success!
     Started: 11:57:21.295204
    Duration: 0.76 ms
     Changes:

Summary for dummy
------------
Succeeded: 1
Failed:    0
------------
Total states run:     1
Total run time:   0.760 ms
root@salt-master:/# %
You can’t perform that action at this time.