Rootless Docker Layer Caching

Some of our repos have devcontainers that only work with rootless Docker, for better compatibility with our Kubernetes cluster. We test them in CircleCI by enabling rootless Docker there (using dockerd-rootless-setuptool.sh). However, Docker Layer Caching stops working, because the build caches now exist in the home directory instead of somewhere in /var.

Has anybody gotten Docker Layer Caching working with rootless Docker?

I can’t even get DLC to work reliably with rootful Docker :person_shrugging: