Strategy contianer in container with contianerd #1090
-
| What is the best and recommended strategy to do container in container ( docker in docker) kind of thing with  My Environment: I am using Rancher Desktop on macOS with containerd runtime. | 
Beta Was this translation helpful? Give feedback.
Replies: 5 comments 14 replies
-
| I was able to run a container within the  | 
Beta Was this translation helpful? Give feedback.
-
| Sharing the storage is not supported. Please create a private registry or just use  | 
Beta Was this translation helpful? Give feedback.
-
| Create a  Dockerfile( | 
Beta Was this translation helpful? Give feedback.
-
| @kameshsampath mounting socket is not enough because some nerdctl logic are in containerd side, I think @cpuguy83 is working on this topic. By the way this issue may help you #272 | 
Beta Was this translation helpful? Give feedback.
-
|  | 
Beta Was this translation helpful? Give feedback.
Create a
nerdctlcontainer imageDockerfile(
Dockerfile.nerdctl)Note: Update the registry
quay.io/kameshsampath/nerdctlif requiredBuild the image using the command
nerdctl build --platform=linux/amd64,linux/arm64 -t quay.io/kameshsampath/nerdctl -f Dockerfile.nerdctl .Push the image to the registry