mirror of
https://github.com/flatcar/scripts.git
synced 2025-11-29 22:42: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]
|
[Unit]
|
||||||
Description=Docker Application Container Engine
|
Description=Docker Application Container Engine
|
||||||
Documentation=http://docs.docker.io
|
Documentation=http://docs.docker.io
|
||||||
|
Requires=docker.socket
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
Environment="TMPDIR=/var/tmp/"
|
Environment="TMPDIR=/var/tmp/"
|
||||||
|
|||||||
@ -2,6 +2,9 @@
|
|||||||
Description=Docker Socket for the API
|
Description=Docker Socket for the API
|
||||||
|
|
||||||
[Socket]
|
[Socket]
|
||||||
|
SocketMode=0660
|
||||||
|
SocketUser=docker
|
||||||
|
SocketGroup=docker
|
||||||
ListenStream=/var/run/docker.sock
|
ListenStream=/var/run/docker.sock
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user