Comments (6)
As far as I know this formula currently doesn't have support for Docker Swarm. If you feel like adding support for it that would be awesome!
from docker-formula.
Well, swarm is just another container to be started. Thats why I am asking if it is possible to assign containers to specific nodes, as swarm has two different roles, a master and workers. If there is a way to do this in the pillar, already, that would be great. Otherwise I'll have to think about something.
But sure, It should be fairly easy to contribute this once it's finished.
from docker-formula.
Looking at the formula it doesn't currently appear to be configured in such a way. It's just to get docker itself configured and installed on systems. From there I imagine most people are writing additional states to handle their provisioning. You may want to simply add a swarm.sls
that sets up the swarm container via values set in the pillar. Should be pretty easy to do.
from docker-formula.
Alright, thank you. Wasn't sure if there's already a way builtin or not. Looks like what you describe will be my way forward, then.
from docker-formula.
Sounds good! If you implement this please make a PR against the formula as I'm sure other users would benefit from the addition.
from docker-formula.
@juwi Oh I forgot, I made this project a while back if you need a place to get started in terms of spinning the container up: https://github.com/gravyboat/docka-docka-docka/blob/master/docka-salt/srv/salt/docker/docka.sls
from docker-formula.
Related Issues (20)
- [Question] Windows support id command not found HOT 3
- Compose.ng: Removed Container Remains HOT 1
- [BUG] Setting ports for container throws the error: is not a valid port definition HOT 4
- [JFROG] bintray is gone away - docker-compose state failed HOT 5
- [BUG] segmentation fault from dockerd on fresh Pi 4 HOT 1
- [BUG] Failing on downloading docker binary from dl.bintray.com: HTTP 403: Forbidden HOT 1
- [FEATURE] Ability to change cgroupdriver to systemd HOT 3
- [FEATURE] Ability to install Docker deb package using apt-get repo on Debian/Ubuntu Linux HOT 3
- [BUG] pillar wanted breaking state when compose not included HOT 3
- [FEATURE] docker group created (mininium) & user added (optional) HOT 1
- [BUG] pip.installed fails on Windows HOT 1
- [FEATURE] Manage "driver" and "driver_opts" in docker.networks.install state HOT 1
- [BUG] CI failing due to tumbleweed repo issue
- [BUG] Environ settings ignored by upstream docker service HOT 2
- [BUG] Unable to install docker compose after upstream removed .SHA256 checksums in newest version HOT 1
- [BUG] daemon reloads on every run of salt HOT 1
- Privileged container Issue with python3-docker package on Ubuntu 22.04 HOT 1
- [BUG] Network specification should be a dict not list
- [BUG] docker_* states not available with onedir salt install
- almalinux el9 [BUG] - deps fail to install (iptables)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from docker-formula.