Privileged shell access to a Docker Container

docker-compose exec --user root --privileged <container_name> bashCode language: Bash (bash)

or

docker-compose exec --user root --privileged <container_name> shCode language: Bash (bash)

Posted

in

,

by

Tags:

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.