polite-engineer-55788
06/07/2022, 7:17 AMcontainerd.sock
file on the macOS host ?fast-garage-66093
06/07/2022, 7:19 AMdocker.sock
.polite-engineer-55788
06/07/2022, 7:19 AMnerdctl run --privileged -it -v /Users/kameshs/.rd/docker.sock=:/run/containerd/containerd.sock <http://quay.io/kameshsampath/nerdctl|quay.io/kameshsampath/nerdctl> bash
fast-garage-66093
06/07/2022, 7:20 AMnerdctl
runs inside the VM because it needs access to the file system; you cannot do nerdctl build -n <http://k8s.io|k8s.io>
just over the socketpolite-engineer-55788
06/07/2022, 7:21 AMfast-garage-66093
06/07/2022, 7:23 AMdocker.sock
, or containerd.sock
?polite-engineer-55788
06/07/2022, 7:23 AMfast-garage-66093
06/07/2022, 7:24 AM/run/k3s/containerd/containerd.sock
polite-engineer-55788
06/07/2022, 7:25 AMnerdctl run -it --privileged -v /run/k3s/containerd/containerd.sock:/run/containerd/containerd.sock <http://quay.io/kameshsampath/nerdctl|quay.io/kameshsampath/nerdctl> bash
nerdctl images
in container I dont see the images I already pulled into default
namespacenerdctl images --namespace=<http://k8s.io|k8s.io>
fast-garage-66093
06/07/2022, 7:28 AMpolite-engineer-55788
06/07/2022, 7:30 AMfast-garage-66093
06/07/2022, 7:33 AMnerdctl
image from dockerhub and it works:
lima-rancher-desktop:/Users/jan$ nerdctl run -it --privileged -v /run/k3s/containerd/containerd.sock:/run/containerd/containerd.sock bensonyanger/nerdctl im
ages
REPOSITORY TAG IMAGE ID CREATED PLATFORM SIZE
bensonyanger/nerdctl latest acb38a408354 7 seconds ago linux/amd64 32.5 MiB
busybox latest de56395ae078 3 minutes ago linux/amd64 1.3 MiB
polite-engineer-55788
06/07/2022, 7:33 AMfast-garage-66093
06/07/2022, 7:35 AMpolite-engineer-55788
06/07/2022, 7:35 AMfast-garage-66093
06/07/2022, 7:36 AMlima-rancher-desktop:/Users/jan$ nerdctl run -v /run/k3s/containerd/containerd.sock:/run/containerd/containerd.sock bensonyanger/nerdctl images
REPOSITORY TAG IMAGE ID CREATED PLATFORM SIZE
bensonyanger/nerdctl latest acb38a408354 3 minutes ago linux/amd64 32.5 MiB
busybox latest de56395ae078 6 minutes ago linux/amd64 1.3 MiB
<http://quay.io/kameshsampath/nerdctl|quay.io/kameshsampath/nerdctl> latest 86ba57890bb2 2 minutes ago linux/arm64 588.8 MiB
polite-engineer-55788
06/07/2022, 7:36 AMnerdctl
repo to build image .. will investigatefast-garage-66093
06/07/2022, 7:36 AMpolite-engineer-55788
06/07/2022, 7:36 AMfast-garage-66093
06/07/2022, 7:37 AMarm64
image; I'm on an amd64
machine; that's maybe partially the problem for mepolite-engineer-55788
06/07/2022, 7:38 AMfast-garage-66093
06/07/2022, 7:39 AMpolite-engineer-55788
06/07/2022, 7:52 AM--privileged
best-city-49378
06/07/2022, 9:17 AMnerdctl
over ssh instead.polite-engineer-55788
06/07/2022, 10:47 AMAs far as I know you need to mount both the sockets and the storage, but we are just running nerdctl over ssh instead.why so ?
best-accountant-68201
06/08/2022, 7:54 AMbest-city-49378
06/08/2022, 8:09 AM