centos8怎么安装原版的docker而不是podman

It looks like the yum-config-manager command is not found on your system. This could be because the yum-utils package, which provides this command, is not installed.

Here’s how you can install yum-utils and then add the Docker repository:

  1. Install yum-utils:

    sudo yum install -y yum-utils
    
  2. Add the Docker repository:

    sudo yum-config-manager --add-repo https://mirrors.aliyun.com/docker-ce/linux/centos/docker-ce.repo
    
  3. Install Docker Engine:

    sudo yum install -y docker-ce docker-ce-cli containerd.io
    

centos8怎么安装原版的docker而不是podman_第1张图片

  1. Start and enable Docker:
    sudo systemctl start docker
    sudo systemctl enable docker
    

在这里插入图片描述

  1. Verify Docker installation:
    docker run hello-world
    

If you encounter any issues during these steps, please provide the error messages so I can assist you further.

你可能感兴趣的:(#,Docker,docker,podman,容器,运维,服务器,docker,ce)