Public Repository

Last pushed: 4 months ago
Short Description
ubuntu salt-minion for testing and development purpose
Full Description

salt minion for testing and development purpose

#How to use it.

  1. Using docker compose
    version: '2'
    services:
    salt-minion:
    image: salt-minion
    container_name: salt-minion
    hostname: salt-minion
    tty: true
    mem_limit: 2g
    memswap_limit: 2g

docker-compose -f your_docker_file.yml up -d

  1. Docker cmd
    docker run -d salt-minion /usr/bin/salt-minion

Connecting to your salt master
docker exec -it your_container bash
/etc/salt/minion and add your salt master ip
/etc/init.d/salt-minion restart

on salt master
salt-key -L # List all salt minion
salt-key -A # Accept all keys

Testing salt communication
salt '*' test.ping

Docker Pull Command
Owner
zolan

Comments (0)