2 ms·
> ... and Docker Swarm was deprecated.. I thought the same thing until recently. Apparently there's a "Docker Swarm version 2" around, and it was the original
by justinclift 2y ago
> ... and Docker Swarm was deprecated..
I thought the same thing until recently. Apparently there's a "Docker Swarm version 2" around, and it was the original (version 1) Docker Swarm that was deprecated:
https://docs.docker.com/engine/swarm/ https://docs.docker.com/engine/swarm/
Do not confuse Docker Swarm mode with Docker Classic Swarm which is no
longer actively developed.
Haven't personally tried out the version 2 Docker Swarm yet, but it might be worth a look at. :)
- KronisLV 2y agoI use Swarm with Portainer, it’s quite a nice experience!
- gawa 2y agoYes, swarm is not deprecated. I haven't used it myself yet, but I read elsewhere that swarm offers an easy way to manage secrets with containers. Some people run their 1 container in a swarm cluster with 1 node just for this feature. I see it's even officially suggested as a Note in the doc: > Docker secrets are only available to swarm services, not to standalone containers. To use this feature, *consider adapting your container to run as a service. Stateful containers can typically run with a scale of 1 without changing the container code.* (Emphasis mine. From https://docs.docker.com/engine/swarm/secrets/ https://docs.docker.com/engine/swarm/secrets/ )