mirror of
https://github.com/moby/moby.git
synced 2026-01-11 02:31:44 +00:00
chore: add systemd-sysusers configuration
Part of https://github.com/docker/docker-ce-packaging/issues/1186 Adds the required systemd-sysusers configuration to the moby/moby repo. This will be used by downstream package maintainers (RPM, DEB etc) as a replacement to the `groupadd` postinstall commands. It's generally recommended to use sysusers since it is more of a declarative method of defining these service accounts and groups. This configuration file specifies a group ("g") named "docker" should be created with an automatic GID allocation ("-"). Signed-off-by: Robert Sturla <robertsturla@outlook.com>
This commit is contained in:
9
contrib/systemd-sysusers/docker.conf
Normal file
9
contrib/systemd-sysusers/docker.conf
Normal file
@@ -0,0 +1,9 @@
|
||||
#
|
||||
# WARNING: the docker group grants root-level privileges
|
||||
#
|
||||
# For details on how this impacts security in your system, see:
|
||||
#
|
||||
# https://docs.docker.com/go/attack-surface/
|
||||
# https://docs.docker.com/go/daemon-access/
|
||||
#
|
||||
g docker -
|
||||
Reference in New Issue
Block a user