Open aliaugmenta opened 4 months ago
I experience this issue with Docker Desktop 4.32.0 too:
=> [internal] load build context 222.5s
=> => transferring context: 12.39MB 222.5s
And with Docker Desktop 4.34.1 too:
=> [internal] load build context 188.6s
=> => transferring context: 15.20MB 188.6s
@bsousaa , I'll be happy to help debug this issue.
And with Docker Desktop 4.34.2 too:
=> [internal] load build context 220.8s
=> => transferring context: 15.34MB 220.7s
Description
Recently, I noticed "Transferring context" during building some of the images in the same directly is taking much longer than before and than some other images in the same directory. For example, these are from different targets of the same Docker file:
Granted, the last one required more files to be copied to the image, but, I even with that 109 seconds does not make sense. There is a .dockerignore in the same directory as the Docker file with the following content:
I cannot share my Docker file. But, I will be happy to provide more debugging information.
Reproduce
buildx bake my_target_image
Expected behavior
Transferring context should be much faster.
docker version
docker info
Diagnostics ID
9C32F930-53AD-453F-801A-46C924A13C7F/20240701161148
Additional Info
No response