-
Notifications
You must be signed in to change notification settings - Fork 252
Prompt users to use docker compose from docker-compose #1149
Comments
Add this only for mac/windows users for now, as compose-cli might not be available for linux users |
Do this only in docker-compose help ? @mkvitnitsky |
Does anyone know in which exact version did |
Also, is this suspected to be the default behaviour in Linux any time soon? |
Would also like to know this as we're starting to write tooling around this. Edit: Was able to answer this for myself by reading https://docs.docker.com/compose/cli-command/, though it does seem strange to recommend using something that's in preview without mentioning that it's a preview/shouldn't be used in production. Without reading the link, one might assume it's good to start replacing instances of |
@natewiebe13 that's indeed super confusing. I was also under the impression that this was stable based on the message from that's given from |
I'm afraid @natewiebe13 is quite right. I upgraded to Docker Desktop for Windows 3.3.3 and started seeing that message. I then switched to docker compose up, and later realized my application was unusable due to broken networking. I thought the upgrade was the cause, so it took me 10 minutes to figure out I simply needed to go back to docker-compose. |
@Chealer if you have steps to reproduce your problem, could you open a ticket with steps to reproduce the networking problem you ran into? |
@thaJeztah reproducing my case would be as easy as switching a dash to a space for me. The problem is one container can't ping the other by hostname, surely because DNS doesn't resolve. The hostname is defined as an alias (serveurpg):
That being said, thanks for asking, and to actually answer your question: I could, but I don't know Docker networking nearly enough to positively affirm that However, if I was to see an authoritative source clearly (explicitly) indicate that |
Yeah... I'm not touching this until next year or we get a stable version. |
In
docker-compose
general help and for theup
command, prompt users to usedocker compose
. Only do this for Windows and macOS.up
message: "Docker Compose is now in the Docker CLI, trydocker compose up
"Add at the top of the
up
output with a new line after it so that it's more visible.help
message: "Docker Compose is now in the Docker CLI, trydocker compose
"Add at the bottom of the help message.
The text was updated successfully, but these errors were encountered: