/run/containerd/containerd.sock: No such file or directory #1575
-
| Environment: I'm using the default lima instance without any customization. Shell into the VM via  According to the FAQ, the containerd address is  davidhyc@lima-default:/Users/davidhyc$ nerdctl --address /run/containerd/containerd.sock images
REPOSITORY    TAG       IMAGE ID        CREATED          PLATFORM          SIZE       BLOB SIZE
alpine        latest    8914eb54f968    2 minutes ago    linux/arm64/v8    7.8 MiB    3.1 MiB
davidhyc@lima-default:/Users/davidhyc$ ls /run/containerd/containerd.sock
ls: cannot access '/run/containerd/containerd.sock': No such file or directoryI thought it may be due to directory permission, but I can ls  davidhyc@lima-default:/Users/davidhyc$ ls /run/containerd
ls: cannot access '/run/containerd': No such file or directory
davidhyc@lima-default:/Users/davidhyc$ ls /run
agetty.reload  credentials   dbus             initctl         lima-guestagent.sock  lvm           multipathd.pid  screen           snapd-snap.socket  sudo        user
blkid          crond.pid     dmeventd-client  initramfs       lima-ssh-ready        machine-id    needrestart     sendsigs.omit.d  snapd.socket       systemd     utmp
cloud-init     crond.reboot  dmeventd-server  irqbalance      lock                  motd.dynamic  netns           shm              sshd               tmpfiles.d  uuidd
console-setup  cryptsetup    fsck             lima-boot-done  log                   mount         network         snapd            sshd.pid           udevI've searched in both lima and nerdctl but no luck. Appreciate any guidance, thanks! | 
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
| nerdctl uses  | 
Beta Was this translation helpful? Give feedback.
nerdctl uses
/run/containerd/containerd.sockthat exists in the daemon's mount namespace (/proc/<PID of containerd>/root/run/containerd/containerd.sock)