Tools For Building Docker-Like Containers
Tools/mechanisms mentioned in the document as being used to build a Docker like container include: Mount namespaces (Linux kernel namespaces) and the unshare CLI/sytem call to start a shell in a new mount namespace. [...
Tools/mechanisms mentioned in the document as being used to build a Docker like container include: Mount namespaces (Linux kernel namespaces) and the unshare CLI/sytem call to start a shell in a new mount namespace. [:cite[1]{ln=1}], [:cite[2]{ln=1}] readlink to check the current mount namespace via /proc/$PID/ns/mnt . [:cite[3]{ln=2}] findmnt to compare mount tables between namespaces. [:cite[4]{ln=1}] mount (specifically bind mounts ) to create a new mount point and to demonstrate changes being visible/isolated across namespaces. [:cite[5]{ln=1}], [:cite[2]{ln=1}] ls / ls lah to inspect filesystem views inside/outside the namespaced environment. [:cite[5]{ln=1}], [:cite[5]{ln=2}] Namespaces via sudo unshare mount bash as the hands on command used in the tutorial. [:cite[2]{ln=1}] An OCI runtime like runc is mentioned as the component that applies mount namespaces before the tutorial’s hands on explanation (i.e., “by Docker an OCI runtime (e.g., runc)”). [:cite[1]{ln=1}]