mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-07-10 13:54:12 +00:00
metrics: Ensure docker is running in init_env
This PR ensures that docker is running as part of the init_env function
in kata metrics to avoid failures like docker is not running and making
the kata metrics CI to fail.
Fixes #7898
Signed-off-by: Gabriela Cervantes <gabriela.cervantes.tellez@intel.com>
(cherry picked from commit d53eb73eec
)
This commit is contained in:
parent
31c33f9c1c
commit
deadacd58f
@ -168,6 +168,8 @@ function init_env()
|
||||
|
||||
cmd=("docker" "ctr")
|
||||
|
||||
sudo systemctl restart docker
|
||||
|
||||
# check dependencies
|
||||
check_cmds "${cmd[@]}"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user