SaltStack image providing the SaltStack master service for deploying configurations to minions.
5.4K
Container Source - GitHub Mirror
This is the Conarx Containers SaltStack image, it provides the SaltStack master service for deploying configurations to SaltStack minions.
Features:
| Provider | Repository |
|---|---|
| DockerHub | allworldit/saltstack |
| Conarx | registry.conarx.tech/containers/saltstack |
All our Docker images are part of our Conarx Containers product line. Images are generally based on Alpine Linux and track the
Alpine Linux major and minor version in the format of vXX.YY.
Images built from source track both the Alpine Linux major and minor versions in addition to the main software component being
built in the format of vXX.YY-AA.BB, where AA.BB is the main software component version.
Our images are built using our Flexible Docker Containers framework which includes the below features...
Please use the project Issue Tracker.
Commercial support for all our Docker images is available from Conarx.
We also provide consulting services to create and maintain Docker images to meet your exact needs.
PKI certificate directory, this must be bind mounted.
SaltStack master cache, this must be bind mounted. This directory is generally used for caching gitfs repositories.
SaltStack master configuration for state, pillars and formulas. This directory is pointless if all data is pulled from gitfs.
Additional SaltMaster configuration files can be bind-mounted into this directory.
SaltStack ports 4505 and 4506 are exposed.
You will need to bind mount the following:
/etc/salt/pki/var/cache/salt/srvOptional bind mounts for specifying configuration:
/etc/salt/master.d/config/etc/salt/gitfsThe container folder /etc/salt/gitfs is treated as private. As per below the ssh keys for gitfs can be put here.
An example of a basic gitfs configuration can be found below, this assumes that SSH keys are bind mounted into /etc/salt/gitfs,
this configuration would be bind mounted into /etc/saltmaster.d/config...
fileserver_backend:
- git
gitfs_provider: pygit2
gitfs_remotes:
- 'ssh://[email protected]:1022/saltstack/states.git':
- privkey: /etc/salt/gitfs/id_rsa
- pubkey: /etc/salt/gitfs/id_rsa.pub
ext_pillar:
- git:
- master 'ssh://[email protected]:1022/saltstack/pillars.git':
- privkey: /etc/salt/gitfs/id_rsa
- pubkey: /etc/salt/gitfs/id_rsa.pub
Exmaple docker-compose.yml snippet for a SaltStack master...
version: '3'
services:
saltstack:
image: registry.conarx.tech/containers/saltstack
ports:
- '4505:4505'
- '4506:4506'
volumes:
- ./data/pki:/etc/salt/pki
- ./data/cache:/var/cache/salt
- ./data/srv:/srv
- ./config/gitfs:/etc/salt/gitfs
- ./config/master.conf:/etc/salt/master.d/config
Content type
Image
Digest
sha256:4e1c5359c…
Size
69 MB
Last updated
5 days ago
docker pull allworldit/saltstack