mirror of
https://github.com/flatcar/scripts.git
synced 2025-11-28 22:12:10 +01:00
app-emulation/docker: make the docker socket protected
This commit is contained in:
parent
ad992cd984
commit
710a40db6f
@ -1,6 +1,7 @@
|
||||
[Unit]
|
||||
Description=Docker Application Container Engine
|
||||
Documentation=http://docs.docker.io
|
||||
Requires=docker.socket
|
||||
|
||||
[Service]
|
||||
Environment="TMPDIR=/var/tmp/"
|
||||
|
||||
@ -2,6 +2,9 @@
|
||||
Description=Docker Socket for the API
|
||||
|
||||
[Socket]
|
||||
SocketMode=0660
|
||||
SocketUser=docker
|
||||
SocketGroup=docker
|
||||
ListenStream=/var/run/docker.sock
|
||||
|
||||
[Install]
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user