Skip to content

Commit

Permalink
Review revision
Browse files Browse the repository at this point in the history
  • Loading branch information
micahsnyder committed Feb 21, 2024
1 parent 343802a commit db8ef47
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions src/manual/Installing/Docker.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
```
Expand Down

0 comments on commit db8ef47

Please sign in to comment.