TIL: Docker build stuck in network

Newsletter Jan 23, 2024

When I try build a Docker image with fetch external resources (alpinelinux.org in this case), it cannot reach to server from inside Docker build environment.

Solution: Use network `host` for build command

docker build . -t zkevm-node --network=host

Tags