Coder Social home page Coder Social logo

Comments (6)

gravyboat avatar gravyboat commented on July 26, 2024

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.

juwi avatar juwi commented on July 26, 2024

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.

gravyboat avatar gravyboat commented on July 26, 2024

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.

juwi avatar juwi commented on July 26, 2024

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.

gravyboat avatar gravyboat commented on July 26, 2024

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.

gravyboat avatar gravyboat commented on July 26, 2024

@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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.