You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am encountering an issue while utilizing an external network, named some-network, in the docker-compose.yml file. I have defined this external network and applied it to a specific service. However, when I use the command docker compose up -d, there are intermittent occurrences where the service starts successfully without loading the specified external network. Upon inspecting the service using docker inspect, I noticed that the some-network entry is not present under the Networks section.
I have already upgraded the version of Docker Compose to above the version that fixes this problem, but this issue still occurs.
Had the same bug and can confirm that this was fixed in #11510 included in v2.24.7. However, docker desktop still delivers the broken compose version v2.24.6
Description
I am encountering an issue while utilizing an external network, named some-network, in the docker-compose.yml file. I have defined this external network and applied it to a specific service. However, when I use the command docker compose up -d, there are intermittent occurrences where the service starts successfully without loading the specified external network. Upon inspecting the service using docker inspect, I noticed that the some-network entry is not present under the Networks section.
I have already upgraded the version of Docker Compose to above the version that fixes this problem, but this issue still occurs.
Steps To Reproduce
docker network create some-network
docker compose up -d
Expected behavior
docker inspect nginx
Networks appearsome-network
Compose Version
Docker Environment
Anything else?
moby/moby#46155
#10778
The text was updated successfully, but these errors were encountered: