Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save sujalmandal/76f5c615896eaf647acfdc5adf42d6d3 to your computer and use it in GitHub Desktop.
Save sujalmandal/76f5c615896eaf647acfdc5adf42d6d3 to your computer and use it in GitHub Desktop.
log into a running docker container with root
docker exec -it --user root <container_id> /bin/bash
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment