Hi. I have setup my Linux Mint installation with Rancher Desktop, nerdctl and containerd. When I try to run Traefik locally with docker-compose, I get the following error:
FATA[0003] failed to create shim: OCI runtime create failed: container_linux.go:380: starting container process caused: process_linux.go:545: container init caused: rootfs_linux.go:76: mounting "/var/run/docker.sock" to rootfs at "/var/run/docker.sock" caused: stat /var/run/docker.sock: no such file or directory: unknown
FATA[0004] error while creating container video-dashboard_traefik_1: exit status 1
Here is my docker-compose
traefik:
image: traefik:v2.6
command: --api.insecure=true --providers.docker
ports:
- "80:80"
- "8080:8080"
volumes:
- /var/run/docker.sock:/var/run/docker.sock
The error makes sense to me: docker.sock is created when docker is running, and I am not running docker! But I am not sure how to go about finding a solution. What type of steps might I take to get traefik launchable under nerdctl, containerd and Rancher Desktop?