banner
RustyNail

RustyNail

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

When building Docker build, Sending build context to Docker daemon takes too long.

When building an image in Docker, the message "Sending build context to Docker daemon xxGb" causes the process to take a long time. This is because there are large or numerous files in the file path being built, which all need to be copied into the Docker daemon. To solve this issue, simply add a ".dockerignore" file in the build directory and specify the files or folders to be excluded.

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