Skip to content

Commit

Permalink
add User=root to systemd, this will set the HOME=/root
Browse files Browse the repository at this point in the history
It will help find the docker configuration file and pull the pause image that requires certification.

Signed-off-by: zhangguanzhang <zhangguanzhang@qq.com>
  • Loading branch information
zhangguanzhang committed Jul 10, 2024
1 parent ebd9de0 commit 3ebc108
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packaging/systemd/cri-docker.service
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ Requires=cri-docker.socket

[Service]
Type=notify
User=root
ExecStart=/usr/bin/cri-dockerd --container-runtime-endpoint fd://
ExecReload=/bin/kill -s HUP $MAINPID
TimeoutSec=0
Expand Down

0 comments on commit 3ebc108

Please sign in to comment.