Disclaimer: I’ll start of with saying that I have searched around multiple locations and not found an answer to this. There exists variants of answer, but nothing is clear.
I want to know the future of docker stack and docker-compose. Both of them have a huge overlap, but still both seem to be maintained. The problem is that some features in docker-compose has not made it into docker-stack yet.
Looking at the history of these two and all kind of blog posts that explains them, most seem to think that docker stack is the “brain-child” of docker-compose and eventually docker stack will obsolete docker-compose. But looking at the GitHub repos docker-compose is actively maintained.
It would be nice by the docker developers to let us know which horse to bet on. It’s simple to say that “both works” but anyone with experience in both realize this is not the case (setting ulimits only works in docker-compose, building only works in docker-compose, docker stack does not support .env files etc. etc.).
In general I have a very hard time seeing the direction of the various docker parts. Is it possible the communication to the community could be better, considering how huge of an impact Docker and container based solutions has had on the software development industry?