File docker-container-pre@.service of Package docker-container-starter

[Unit]
Description=Docker Container
After=local-fs.target network-online.target
Before=docker-container@%i.service
Requires=local-fs.target docker.service docker.socket
BindsTo=docker-container@%i.service

ConditionPathExists=/etc/docker-container/docker-container.defaults

[Service]
User=%i
Group=docker-users

MountAPIVFS=false
ProtectProc=invisible
ProtectSystem=full
ProtectHome=tmpfs
PrivateTmp=true
ProtectClock=true
ProtectKernelTunables=true
ProtectKernelModules=true
ProtectKernelLogs=true
RuntimeDirectory=docker-containers/%i
RuntimeDirectoryMode=750
RuntimeDirectoryPreserve=yes
ConfigurationDirectory=docker-container

EnvironmentFile=/etc/docker-container/docker-container.defaults

Type=simple
RemainAfterExit=no

ExecStart=/usr/bin/docker-container-generator "%i"

[Install]
RequiredBy=docker-container@%i.service
openSUSE Build Service is sponsored by