banner
RustyNail

RustyNail

coder. 【blog】https://rustynail.me 【nostr】wss://ts.relays.world/ wss://relays.world/nostr

Sending build context to Docker daemon takes too long during Docker build.

When building an image in Docker, the message "Sending build context to Docker daemon xxGb" may cause a long wait time. This is because there are a large number of files in the build file path that need to be copied into the Docker daemon.

To solve this issue, simply add a .dockerignore file in the build directory to exclude specified files or folders.

Loading...
Ownership of this post data is guaranteed by blockchain and smart contracts to the creator alone.