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
{{ message }}
Repository navigation
[BUG] Bake is not following the network mode in the docker-compose.yml file #12951
FROM node:20.17.0
RUN apt-get update && apt-get install -y build-essential vim
When I run docker compose up:
Dockerfile:3
--------------------
1 | FROM node:20.17.0
2 |
3 | >>> RUN apt-get update && apt-get install -y build-essential vim
4 |
--------------------
failed to solve: process "/bin/sh -c apt-get update && apt-get install -y build-essential vim" did not complete successfully: network bridge not found
Doing COMPOSE_BAKE=false docker compose up fix this issue
Activity
fritznoff commentedon Jun 20, 2025
Same here, I reproduced with this minimal example:
docker-compose.yml:
Dockerfile:
With bake explicitly enabled (note the eth0 and its address):
With bake explicitly enabled (note the host's interfaces):
Version info: