Переглянути джерело

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>
Wiktor Kwapisiewicz 6 роки тому
батько
коміт
8abf26dbfb
1 змінених файлів з 3 додано та 1 видалено
  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