51工具盒子

依楼听风雨
笑看云卷云舒,淡观潮起潮落

linux安装docker

docker官网

  1. 卸载旧的docker

    sudo yum remove docker
    docker-client
    docker-client-latest
    docker-common
    docker-latest
    docker-latest-logrotate
    docker-logrotate
    docker-engine

  2. 安装docker

    sudo yum install -y yum-utils sudo yum-config-manager --add-repo https://download.docker.com/linux/centos/docker-ce.repo sudo yum install docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin

  3. 启动docker

    sudo systemctl start docker

赞(0)
未经允许不得转载:工具盒子 » linux安装docker