Browse Source

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

Change socket location to /run/docker.sock
Yong Tang 6 năm trước cách đây
mục cha
commit
8d760280a2
1 tập tin đã thay đổi với 3 bổ sung1 xóa
  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