mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-09-23 09:47:25 +00:00
Merge pull request #7899 from GabyCT/topic/startdocker
metrics: Ensure docker is running in init_env
This commit is contained in:
@@ -168,6 +168,8 @@ function init_env()
|
|||||||
|
|
||||||
cmd=("docker" "ctr")
|
cmd=("docker" "ctr")
|
||||||
|
|
||||||
|
sudo systemctl restart docker
|
||||||
|
|
||||||
# check dependencies
|
# check dependencies
|
||||||
check_cmds "${cmd[@]}"
|
check_cmds "${cmd[@]}"
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user