Rootless dind running in a kubernetes slave, 'docker run' fails
I was able to resolve the issue by using a different default runtime for docker.
#update default runtimeRUN wget -O crun https://github.com/containers/crun/releases/download/0.13/crun-0.13-static-x86_64 \&& cp crun /usr/local/bin \&& chmod a+x /usr/local/bin/crun \&& chown -R rootless:rootless /usr/local/bin/crun
the service is then started with supervisor, config file shown:
[program:docker]command=/home/rootless/bin/dockerd-rootless.sh --experimental --default- runtime crun --add-runtime crun=/usr/local/bin/crun --storage-driver vfsautorestart=trueuser=rootless
detailed discussion here: