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 ```