Skip to content

Commit

Permalink
Fixed docker exec note
Browse files Browse the repository at this point in the history
  • Loading branch information
dmotte committed Apr 3, 2024
1 parent e72d56b commit cf7f4ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ For a more complex example, refer to the [`docker-compose.yml`](docker-compose.y

You can also **extend** this image to create your own custom unprivileged user, and then leverage the `--user` Docker option to run the container as such.

> **Note**: even if the container is running as an unprivileged user, you can still use `docker exec -ituroot bash` to run commands as root inside it.
> **Note**: even if the container is running as an unprivileged user, you can still use `docker exec -ituroot mycontainer bash` to run commands as root inside it.
## More info

Expand Down

0 comments on commit cf7f4ed

Please sign in to comment.