You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[Multi-platform builds](https://docs.docker.com/build/building/multi-platform/) are provided for the `linux/amd64` and `linux/arm64` platforms. If running on a different platform, use the [`--platform` option](https://docs.docker.com/reference/cli/docker/container/run/) to emulate a supported platform.
40
40
41
+
### Users
42
+
43
+
Docker containers run as the `root` user by default. However, it is [considered a best practice](https://docs.docker.com/build/building/best-practices/#user) to run as a non-root user when possible. The `dovi_tool` container image provides a non-root user `apps` (UID `568`) and group `apps` (GID `568`) for this purpose.
44
+
45
+
For the `docker run` CLI, add the [`-u`, `--user` option](https://docs.docker.com/reference/cli/docker/container/run/) (`-u apps`) to run as the non-root user.
For Docker Compose, add the [`user` key](https://docs.docker.com/reference/compose-file/services/#user) to the appropriate service (`user: apps`) to run as the non-root user.
0 commit comments