From db8ef47b61c948f3478a73a894c527feae969ba2 Mon Sep 17 00:00:00 2001 From: Micah Snyder Date: Wed, 21 Feb 2024 08:02:11 -0500 Subject: [PATCH] Review revision --- src/manual/Installing/Docker.md | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/src/manual/Installing/Docker.md b/src/manual/Installing/Docker.md index 1a09d54..db56862 100644 --- a/src/manual/Installing/Docker.md +++ b/src/manual/Installing/Docker.md @@ -181,12 +181,13 @@ If you're thinking about running multiple containers that share a single databas ### Running ClamD using non-root user using --user and --entrypoint -You can run a container using a non-root user "clamav" with unprivileged entrypoint script. - Just run: +You can run a container using the non-root user "clamav" with the unprivileged entrypoint script. To do this with Docker, you will need to add these two options: `--user "clamav" --entrypoint /init-unprivileged` + +For example: ```bash docker run -it --rm \ - --user "clamav" - --entrypoint /init-unprivileged + --user "clamav" \ + --entrypoint /init-unprivileged \ --name "clam_container_01" \ clamav/clamav:unstable_base ```