docker compose exec -u root web bash

Category: Docker

docker compose exec -u root web bash

Open a shell in the web service as root

Opens a shell in the web service as the root user.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.