Docker build "Sending build context to Docker daemon 10.62GB" why so big?
Solution 1:
The build context that is being sent to the Docker daemon is all the files/folders that are in the current directory that you specified in the command sudo docker build .
In your current directory, try to only have the files/folders necessary for building your image. This would include your Dockerfile, and any required files/folders you are porting into your Docker image.
You can also create a .dockerignore
file to specify the files/folders you would want Docker to ignore when building.