Merge pull request #9976 from sprt/fix-cri-containerd

tests: cri-containerd: Ensure Docker isn't present
This commit is contained in:
GabyCT
2024-07-09 11:02:20 -06:00
committed by GitHub

View File

@@ -16,6 +16,9 @@ source "${cri_containerd_dir}/../../common.bash"
function install_dependencies() { function install_dependencies() {
info "Installing the dependencies needed for running the cri-containerd tests" info "Installing the dependencies needed for running the cri-containerd tests"
# Remove Docker if it's installed as it conflicts with podman-docker
sudo apt-get remove -y docker-ce-cli || true
# Dependency list of projects that we can rely on the system packages # Dependency list of projects that we can rely on the system packages
# - build-essential # - build-essential
# - Theoretically we only need `make`, but doesn't hurt to install # - Theoretically we only need `make`, but doesn't hurt to install