August 2018
Intermediate to advanced
352 pages
12h 30m
English
Let's revisit the example we saw at the beginning of this chapter, where we saw the host system shut down through a container. Let SELinux be disabled on the host system; however, while starting the container, drop the sys_choot capability:
$ docker container run -it --cap-drop sys_chroot -v /:/host alpine ash $ chroot /host

Read now
Unlock full access