You've already forked runc
mirror of
https://github.com/opencontainers/runc.git
synced 2026-10-23 19:49:01 +03:00
Using host's / as the container rootfs does not work: with a private mount namespace, pivot_root (or MS_MOVE in case of no-pivot) fails, and without it, container mounts (such as proc, dev etc.) are mounted on top of the host ones, effectively breaking the host. Disallow it. Add an integration test. Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>