forked from pool/docker
f28071cbb5
<https://docs.docker.com/engine/release-notes/24.0/#2406>. bsc#1215323 - Rebase patches: * 0001-SECRETS-daemon-allow-directory-creation-in-run-secre.patch * 0002-SECRETS-SUSE-implement-SUSE-container-secrets.patch * 0003-BUILD-SLE12-revert-graphdriver-btrfs-use-kernel-UAPI.patch * 0004-bsc1073877-apparmor-clobber-docker-default-profile-o.patch * cli-0001-docs-include-required-tools-in-source-tree.patch - Switch from disabledrun to manualrun in _service. - Add a docker.socket unit file, but with socket activation effectively disabled to ensure that Docker will always run even if you start the socket individually. Users should probably just ignore this unit file. bsc#1210141 OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/docker?expand=0&rev=395
19 lines
541 B
SYSTEMD
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
|
|
|