Skip to content

Instantly share code, notes, and snippets.

@belenaj
Created February 28, 2019 16:31
Show Gist options
  • Save belenaj/36a14eb1bd3432dac6a8de051f6aeac5 to your computer and use it in GitHub Desktop.
Save belenaj/36a14eb1bd3432dac6a8de051f6aeac5 to your computer and use it in GitHub Desktop.
Run docker with shell as root
docker run -u 0 -it myImage:tag bash
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment