Hey. Is there any fix for `network mode "stack" no...
# docker
r
Hey. Is there any fix for
network mode "stack" not supported by buildkit - you can define a custom network for your builder using the network driver-opt in buildx create
when doing
docker compose build calcom
? I've tried the
DOCKER_BUILDKIT=0 docker compose build calcom
workaround but it only resulted in the build failing at:
Copy code
Step 13/33 : RUN yarn global add turbo &&     yarn config set network-timeout 1000000000 -g &&     turbo prune --scope=@calcom/web --docker &&     yarn install
 ---> Running in 4488a2de3d12
1 error occurred:
        * Status: network stack not found, Code: 1
c
that error looks like the DOCKER_BUILDKIT=0 worked. Did you
docker-compose up -d database
prior to that?
r
Nope.
c
you need to do that so that the network exists, which will resolve your "network stack not found"
e
Hey @Colin - Krumware I followed the instructions step by step here. Then I also ran the command above. But still there is same problem, what am I missing?
The docker status-:
c
DOCKER_BUILDKIT=0
the long story short is that the Docker Compose team did not include the convenience feature to pass networking information to the builder it creates for buildx, so without going through the complicated steps of creating your own builder, it's easiest to use the legacy builder via the DOCKER_BUILDKIT=0 flag
e
So should i give the following command on the terminal?
docker compose up --build DOCKER_BUILDKIT=0
c
Copy code
DOCKER_BUILDKIT=0 docker compose build calcom
e
ok
c
(standard linux shortcut for setting inline env variables)
e
Thanks for letting me know that!!
Hey @Colin - Krumware, Sorry to ping you again, but I encountered another error after 40 mins of running of that command and a hundreds of deprecation warnings , here is what I got-:
c
that's not actually a fatal error message
(I know it says fatal)
are there any more logs?