Docker Compose is one of the best inventions, it makes local development easy and friction-free. If you are a long-term Docker Compose fanatic like...
For further actions, you may consider blocking this person and/or reporting abuse
Never knew that, I use docker-compose a lot, but I never thought of reading that fact.
At first, I thought you meant "source controlling" when you said versioning, but then I realized it's about that first line in the file. thanks, will take it to my projects.
Second this. Maybe change it to "Stop using
version
in your docker compose" so it's more clear. Of course, clicks might be the point, but this is good to know. Will use on projects also.Thank you, Thelce.
No, it was not about clicks :). This was the only title that first came to my mind. I didn't think of Git
I can understand how that came to your mind. The title suggested by TheIceSentinel would have worked for me in terms of clarity and I would still read the article since I use docker-compose.
I shared the knowledge in another article on this site the same day.
Thank you, Denys.
I third this :). I opened this post for the exact same reason then understood that you were talking about something that I was aware of 👌
I’m not an expert on Docker, but the difference between using
docker-compose
with dash anddocker compose
without dash, seems to depend if you’re using the Compose standalone version vs the plugin.Thanks for pointing it out Chris. I should have made it clearer. I have fixed that
Wow, I've never noticed this warning pop up on my terminal before. When did they start adding it?
Thanks. Recently, a couple of weeks ago.
I knew about the version line and the command change, since our last rewrite of our dev environment. But not about the file name. Since when is this different? And does it too have benefits?
Thank you. They have changed a long time ago. I think the Docker team didn't promote that much about it.
Found useful, thanks!
Glad. Thank you, Hassan
Could have been more straight forward there, thanks for the tip
Thank you!
Cool
Thank you, Zero
this is very interesting and i never knew this had changed ive only been using docker a little over a year so this is good to know.
Thank you, this really helped me sort out my thoughts. I have two Raspberry Pis running different Linux distributions and Docker versions, which often confuses us. Now I'm much clearer.