You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm experiencing an issue when trying to build an image with the DOCKER_BUILDKIT=1 docker build command and push it to AWS ECR. The error message I receive is:
blob upload invalid: None of the provided layer digests match the calculated layer digest
It seems that the calculated layer is missing a portion of its data. For example, the output shows:
runtime: docker
arch: aarch64
client: v27.1.1
server: v27.1.1
limactl version 0.23.2
qemu-img version 9.1.0
Copyright (c) 2003-2024 Fabrice Bellard and the QEMU Project developers
Operating System
macOS Intel <= 13 (Ventura)
macOS Intel >= 14 (Sonoma)
Apple Silicon <= 13 (Ventura)
Apple Silicon >= 14 (Sonoma)
Linux
Output of colima status
colima status
INFO[0000] colima is running using QEMU
INFO[0000] arch: aarch64
INFO[0000] runtime: docker
INFO[0000] mountType: sshfs
INFO[0000] socket: unix:///Users/my_user/.colima/default/docker.sock
Reproduction Steps
Build the image with the DOCKER_BUILDKIT=1 docker build.
Tag the image with the docker tag command
Using the docker push command
Expected behaviour
Image pushed to AWS ECR.
Additional context
I've also pruned Docker (docker system prune) and deleted Colima (colima delete). I've tried using everything fresh, but the same issue still appears.
I’ve noted that some users with earlier versions of Colima are able to build and push the same project without encountering this issue. This leads me to believe there may have been a change in the release that could be causing the problem. Their version:
Description
I'm experiencing an issue when trying to build an image with the
DOCKER_BUILDKIT=1 docker build
command and push it to AWS ECR. The error message I receive is:It seems that the calculated layer is missing a portion of its data. For example, the output shows:
After this, we experience about 5 retries, and then the error above appears.
Could you please investigate this issue? Any insights or recommendations for resolving it would be greatly appreciated.
Version
colima version 0.7.5
git commit: 1588c06
runtime: docker
arch: aarch64
client: v27.1.1
server: v27.1.1
limactl version 0.23.2
qemu-img version 9.1.0
Copyright (c) 2003-2024 Fabrice Bellard and the QEMU Project developers
Operating System
Output of
colima status
colima status
INFO[0000] colima is running using QEMU
INFO[0000] arch: aarch64
INFO[0000] runtime: docker
INFO[0000] mountType: sshfs
INFO[0000] socket: unix:///Users/my_user/.colima/default/docker.sock
Reproduction Steps
DOCKER_BUILDKIT=1 docker build
.docker tag
commanddocker push
commandExpected behaviour
Image pushed to AWS ECR.
Additional context
I've also pruned Docker (
docker system prune
) and deleted Colima (colima delete
). I've tried using everything fresh, but the same issue still appears.I’ve noted that some users with earlier versions of Colima are able to build and push the same project without encountering this issue. This leads me to believe there may have been a change in the release that could be causing the problem. Their version:
colima version HEAD-a58166e
git commit: a58166e
runtime: docker
arch: aarch64
client: v27.3.1
server: v24.0.9
limactl version 0.23.2
qemu-img version 9.1.0
Copyright (c) 2003-2024 Fabrice Bellard and the QEMU Project developers
The text was updated successfully, but these errors were encountered: