Is it possbile build image with containerd worker inside k8s pod? #4926
Replies: 3 comments
-
hey @kunZooberg did you solve this issue? |
Beta Was this translation helpful? Give feedback.
-
Interestingly I hit the exact same issue when running docker with containerd snapshotter and buildkit configured to use docker's containerd as worker
I also do mount EDIT: Turns out sharing |
Beta Was this translation helpful? Give feedback.
-
Turns out to make it fully working you also need to use mount propagation for it to fully work: - name: buildkit
mountPath: /var/lib/buildkit
mountPropagation: Bidirectional |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I have a host machine with containerd installed and running, then I start a pod mounting with /run/containerd/socket and its related state files (/var/lib/containerd, /run/containerd/containerd.socket .... )
I still got an error:
failed to create shim task: failed to mount rootfs component: no such file or directory: unknown
Do I need mount some layerfs device into pod?
Beta Was this translation helpful? Give feedback.
All reactions