Featured image of post Understand Docker, Containerd, RunC

Understand Docker, Containerd, RunC

From high level to low level

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.

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

Reference

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