Révision 7ac85085
Plugin docker_: reduce permissions of plugin
root privileges are not required for sending queries to the docker socket.
Instead the group "docker" should be sufficient.
Additionally replace /var/run with /run (following updates of FHS).
| plugins/docker/docker_ | ||
|---|---|---|
| 59 | 59 |
=over 2 |
| 60 | 60 |
|
| 61 | 61 |
[docker_*] |
| 62 |
user root
|
|
| 63 |
env.DOCKER_HOST unix://var/run/docker.sock
|
|
| 62 |
group docker
|
|
| 63 |
env.DOCKER_HOST unix://run/docker.sock |
|
| 64 | 64 |
env.EXCLUDE_CONTAINER_NAME regexp |
| 65 | 65 |
|
| 66 | 66 |
=back |
| 67 | 67 |
|
| 68 |
You may need to pick a different group depending on the name schema of your |
|
| 69 |
distribution. Or maybe use "user root", if nothing else works. |
|
| 70 |
|
|
| 68 | 71 |
=head1 AUTHORS |
| 69 | 72 |
|
| 70 | 73 |
This section has been reverse-engineered from git logs |
Formats disponibles : Unified diff