docker/docker.socket
Aleksa Sarai 245fad9603 - Further merge docker and docker-stable specfiles to minimise the differences.
The main thing is that we now include both halves of the
  Conflicts/Provides/Obsoletes dance in both specfiles.

OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/docker?expand=0&rev=413
2024-10-18 00:34:51 +00:00

19 lines
541 B
SYSTEMD

[Unit]
Description=Docker Socket for the API
# We use BindsTo in order to make sure that you cannot use socket-activation
# with Docker (Docker must always start at boot if enabled, otherwise
# containers will not run until some administrator interacts with Docker).
BindsTo=docker.service
[Socket]
# If /var/run is not implemented as a symlink to /run, you may need to
# specify ListenStream=/var/run/docker.sock instead.
ListenStream=/run/docker.sock
SocketMode=0660
SocketUser=root
SocketGroup=docker
[Install]
WantedBy=sockets.target