Skip to content

Commit

Permalink
Add note for selinux enabled systems
Browse files Browse the repository at this point in the history
  • Loading branch information
lawrencegripper authored Feb 1, 2024
1 parent 76f9cea commit c77ff29
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions docs/usage-overview.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@ docker run -d \
containrrr/watchtower
```

!!! note "On SELinux enabled systems you cannot mount the docker socket by default"
Watchman will start and show "Permission Denied" errors. To fix this add [`--security-opt label=disable`](https://docs.docker.com/engine/security/seccomp/#pass-a-profile-for-a-container) to the docker command to disable
the protection for this container and allow it to mount the docker socket.

If pulling images from private Docker registries, supply registry authentication credentials with the environment variables `REPO_USER` and `REPO_PASS`
or by mounting the host's docker config file into the container (at the root of the container filesystem `/`).

Expand Down

0 comments on commit c77ff29

Please sign in to comment.