添加 service/docker.socket

This commit is contained in:
2026-07-23 12:44:02 +08:00
parent 6ce14c9549
commit 75a4a5385e
+12
View File
@@ -0,0 +1,12 @@
[Unit]
Description=Docker Socket for the API
[Socket]
# 监听标准的 Docker Unix Socket 路径
ListenStream=/var/run/docker.sock
SocketMode=0660
SocketUser=root
SocketGroup=docker
[Install]
WantedBy=sockets.target