Merge pull request #760 from philips/docker-socket-permissions

app-emulation/docker: make the docker socket protected
This commit is contained in:
Brandon Philips 2014-07-21 18:05:18 -07:00
commit 596aaaed9f
3 changed files with 4 additions and 0 deletions

View File

@ -1,6 +1,7 @@
[Unit]
Description=Docker Application Container Engine
Documentation=http://docs.docker.io
Requires=docker.socket
[Service]
Environment="TMPDIR=/var/tmp/"

View File

@ -2,6 +2,9 @@
Description=Docker Socket for the API
[Socket]
SocketMode=0660
SocketUser=docker
SocketGroup=docker
ListenStream=/var/run/docker.sock
[Install]