I'm running my Master and a shell container completely Docker-based.
The problem you describe is outlined in this issue:
https://github.com/saltstack/salt/issues/8009 (Salt CLI can't
communicate via AF_UNIX socket with master) which also provides a
workaround.
I have one Master container running and use 'n' shell containers to
operate the master.
Have a look at my Dockerfiles (and further auxiliary files) here:
https://gist.github.com/eliasp/7385009
Take a look at salt#master.sls to see how I run the master.
I connect to the master using my shell containers like this:
docker run --rm --interactive --tty --volumes-from=saltmaster-daemon
--link=saltmaster-daemon:master saltmaster-shell
Now that since Docker 1.0 the link-alias is also resolvable via DNS from
inside the container, you could also try to simply put 'interface:
master' into ~/.saltrc of the shell container.
Good luck!
- Elias
> --
> You received this message because you are subscribed to the Google
> Groups "Salt-users" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to
salt-users+...@googlegroups.com
> <mailto:
salt-users+...@googlegroups.com>.
> For more options, visit
https://groups.google.com/d/optout.