← Learn
Dangerous
docker run --privileged -v /:/host -it alpine

cross-platform · bash · Advanced

Starts a container with full host capabilities and the entire host filesystem mounted inside it. This is container escape by configuration: anything done under /host inside the container is done to the real machine as root.

Signals to notice

  • --privileged removes container isolation
  • Host root filesystem mounted read-write
  • Equivalent to root on the host

Think you can spot these under time pressure?

Start Training

More Containers