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
The default network here is okay, even though it's not defined in a network . docker-compose up does just fine and no errors.
However, if I try docker buildx bake -f docker-compose.yml, it will complain about the "undefined" network.
[+] Building 0.0s (0/0)
error: service "test" refers to undefined network default: invalid compose project
IMHO the default network should've been fine since
It is the default network created when using docker compose.
Running docker-compose up on the same file doesn't show an error, proving that it is a valid compose file.
So I think this is a bug ? If it is please do let me know how I can be helpful to get this fixed. Thanks.
The text was updated successfully, but these errors were encountered:
Just recognized that this is more of an issue with compose-go rather than buildx.
I've created a new issue there. compose-spec/compose-go#216
This issue is considered closed.
My compose file is like this
The
default
network here is okay, even though it's not defined in anetwork
.docker-compose up
does just fine and no errors.However, if I try
docker buildx bake -f docker-compose.yml
, it will complain about the "undefined" network.IMHO the
default
network should've been fine sincedocker-compose up
on the same file doesn't show an error, proving that it is a valid compose file.So I think this is a bug ? If it is please do let me know how I can be helpful to get this fixed. Thanks.
The text was updated successfully, but these errors were encountered: