According to the August 2017 article the core functionalities of docker-compose were integrated into the new docker stack command. At the end of the article, the author also assumes docker-compose will soon to be deprecated. The docker stack deploy documentation is currently pretty sparse.
The article is six months old now. So, is docker stack the way to go, or is there still some advantage in using docker-compose today? Especially, I will soon introduce Docker to students. Is it worth spending time studying with them details of docker-compose or should I just jump to docker stack?
docker stack. It is very seducing, but it requires some understanding of the basic swarm concepts and has a more complicated setup (esp. since it doesn't build image and needs images to be stored in a repository). Given my actual requirements are to provide a gentle introduction to Docker, I will certainly stick withdocker-composewith my students. Especially since I didn't find any source corroborating a potential deprecation of that tool in short- to mid-term. – Sylvain Leroux Feb 01 '19 at 21:51