Skip to content

Commit 3ebc108

Browse files
add User=root to systemd, this will set the HOME=/root
It will help find the docker configuration file and pull the pause image that requires certification. Signed-off-by: zhangguanzhang <[email protected]>
1 parent ebd9de0 commit 3ebc108

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packaging/systemd/cri-docker.service

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ Requires=cri-docker.socket
77

88
[Service]
99
Type=notify
10+
User=root
1011
ExecStart=/usr/bin/cri-dockerd --container-runtime-endpoint fd://
1112
ExecReload=/bin/kill -s HUP $MAINPID
1213
TimeoutSec=0

0 commit comments

Comments
 (0)