SaltStack Master of Masters (MOM) inside of Docker. This is being heavily worked on, so here be dragons!
Status: Pre-Production
- The docker image
phusion/baseimage
and the tag of0.9.10
. - The password to root is
changeme
... CHANGE THIS ASAP!, you have been warned! - The SSH port is
9001
, to make it live with the host machaine's port 22. - The Private Keys from SaltStack are stored on the host in
/root/.salt-pki/mom
via Docker's Read/Write volume. - The logs from MOM are storage on the host in
/var/log/docker/mom
as Read/Write in the container. /srv
on the host is mounted in/srv
as Read/Write in the container./opt/tools
on the host is mounted in/usr/bin/tools/
as Read-Only in the container.- Don't forget to change your timezone, unless you want US Central time.
git clone https://github.com/jasonswindle/mom
cd mom/
docker build --rm --tag='mom-image' .
docker run \
--volume=/var/log/docker/mom:/var/log:rw \
--volume=/root/.salt-pki/mom:/etc/salt/pki:rw \
--volume=/srv:/srv:rw \
--volume=/opt/tools:/usr/bin/tools:ro \
--publish=4505:4505 \
--publish=4506:4506 \
--publish=9001:9001 \
--hostname="mom" \
--name="mom-container" \
--detach=true \
mom-image:latest
- Clean up Dockerfile; more logic less layers.
- Tighten up the RUNIT config files.
- Fill out the README.md more.
- Test heavily.
- Replace Mom image with image I have the copyright to.
- Check into index.docker.io ?
- Add docs for upstart.
- Add rsync_user for Master PKI key sync-ing