Docker image ID verification fails with containerd engine enabled Docker Desktop #6656
Labels
-
[priority] Medium
bug
[type] A defect preventing use of the system as specified
debt
[type] A defect incurring continued engineering cost
infra
[subject] Project infrastructure like CI/CD, build and deployment scripts
needs design
[process] Solution to issue has yet to be devised
orange
[process] Done by the Azul team
In order to free up disk space on my Mac, I clicked the Clean/Purge Data button on the Troubleshooting page of the Docker Desktop Dashboard. This reset some setting and caused the new containerd image store to be enabled. When I later ran the tests in
test_indexer.py
, the Elasticsearch image would be pulled successfully, but our assertion that checks the image ID failed. The image ID returned by Docker (via the Docker Python client) was the mirror digest instead of the image ID (aka config digest).In this state, all of the IDs displayed by Docker were the repo digests, not the image ID:
Compare this with the output of
docker inspect
after disabling the containerdimage storage again.
The respective section of
docker_images.json
at that time:To work around this, disable the containerd image store. You should delete all images beforehand since merely disabling the store will just hide them in which case I suspect they'll continue to use up space.
The text was updated successfully, but these errors were encountered: