Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
mclehman
· 7y ago · 0 comments
On the other side of things, my favorite demo for people new to docker who aren't yet aware that sudoless docker ~~ root access is:
docker run -itv /:/host ubuntu chroot /host
Comments
[–]
cyphar
7y ago
Or, even better use nsenter to join all the namespaces of PID 1 on the host (making your process an ordinary root process in the init namespaces).