mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
Change docker socket location to /run/docker.sock
This change resolves the following systemd warning: ``` /usr/lib/systemd/system/docker.socket:5: ListenStream= references a path below legacy directory /var/run/, updating /var/run/docker.sock → /run/docker.sock; please update the unit file accordingly. ``` Signed-off-by: Wiktor Kwapisiewicz <wiktor@metacode.biz>
This commit is contained in:
parent
c7a0eaf004
commit
8abf26dbfb
1 changed files with 3 additions and 1 deletions
|
@ -3,7 +3,9 @@ Description=Docker Socket for the API
|
||||||
PartOf=docker.service
|
PartOf=docker.service
|
||||||
|
|
||||||
[Socket]
|
[Socket]
|
||||||
ListenStream=/var/run/docker.sock
|
# 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
|
SocketMode=0660
|
||||||
SocketUser=root
|
SocketUser=root
|
||||||
SocketGroup=docker
|
SocketGroup=docker
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue