Overview
An old image store driver is used when using docker29 in your setup_remote_docker configuration:
Storage Driver: overlay2
Expected output with containerd image store active:
Storage Driver: overlayfs
driver-type: io.containerd.snapshotter.v1
Cause
Docker Engine 29 enables the containerd image store by default, but only on a fresh installation. When Docker Layer Caching (DLC) is enabled, the remote Docker environment is restored from a previously cached state.
Docker does not automatically switch the storage backend to the containerd image store, leaving the classic overlay2 driver in place.
This means version: docker29 alone is not sufficient to guarantee the containerd image store is active when DLC is in use.
Solution
Do not use Docker Layer Caching (DLC) in that job or purge the DLC if you no longer need it.
You may find the complete guide on how to purge a DLC by following this link - https://circleci.com/docs/guides/optimize/docker-layer-caching/#purge-dlc
To verify the storage driver you may use the following run command in your job:
name: check Docker 29 storage driver
command: |
docker info | grep -A1 "Storage Driver"
Comments
Article is closed for comments.