docker run --privileged myimage

Category: Docker

docker run --privileged myimage

Run container with full host privileges (use with extreme caution)

Gives the container full root-level access to the host system. Extremely dangerous — only for trusted code.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.