Browse Source

Merge pull request #39275 from wiktor-k/move-var-run-to-run

Change socket location to /run/docker.sock
Yong Tang 6 years ago
parent
commit
8d760280a2
1 changed files with 3 additions and 1 deletions
  1. 3 1
      contrib/init/systemd/docker.socket

+ 3 - 1
contrib/init/systemd/docker.socket

@@ -3,7 +3,9 @@ Description=Docker Socket for the API
 PartOf=docker.service
 
 [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
 SocketUser=root
 SocketGroup=docker