Docker Stack vs. Docker Service #214
-
First off, great content here and on your YouTube page, thanks for sharing! OverviewI'm rebuilding a core application for my business. It consists of three main containers running on a single host swarm.
As of now, my main concerns are
From what I can tell, both QuestionIs there a big difference when running and updating these if I use Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
No, they are identical. Technically in the background, the |
Beta Was this translation helpful? Give feedback.
-
It's worth mentioning that docker stack does not roll the entire stack back when a single service fails deployment. This can leave your stack in an inconsistent state and if you don't build your own alerting for it, you won't be told. There is also no |
Beta Was this translation helpful? Give feedback.
No, they are identical. Technically in the background, the
docker stack
commands are turned intoservice/volume/network
commands at the CLI and sent to the API as such. :)