someonesmall

joined 1 year ago
[–] someonesmall@lemmy.ml 1 points 1 month ago

Thank you, but this only applies to priviledged containers (which are normally not used and should not be used)

[–] someonesmall@lemmy.ml 0 points 1 month ago (2 children)

Can you provide the required arguments for chroot? I've just opened the bash shell of a running container (docker exec -it mycontainer bash) and tried to "break out" using "chroot /". I can't access any files of the host.

[–] someonesmall@lemmy.ml 0 points 1 month ago (5 children)

How would a rogue container be able to access the root directory of the host? Wouldn't it just be able to access the data on the docker volumes? Thank you.