Featured image of post 了解 Docker, Containerd, RunC

了解 Docker, Containerd, RunC

自顶向下

From the graph below, I think everyone could gain a good understanding about container-relate stuffs. Thanks tutorial works, please check reference.

Both Docker & Kubernetes are classical C/S architectures, e.g. (docker-cli -> docker-daemon, kubernetes-cli -> kube-apiserver)

If you like, we can use runc bare in metal to run a container, also it’s not recommended.

1
2
3
4
5
6
7
8
mkdir -p /mycontainer/rootfs
cd /mycontainer
# export busybox via podman into the rootfs directory
podman export $(podman create busybox) | tar -C rootfs -xvf -

# create spec
runc spec
runc run mycontainerid

# References

The older I get, the more I realize that most of life is a matter of what we pay attention to, of what we attend to [with focus].
Built with Hugo
Theme Stack designed by Jimmy