docker 安装

    科技2022-07-11  81

    进入docker官网 docker先卸载旧的版本 sudo yum remove docker \ docker-client \ docker-client-latest \ docker-common \ docker-latest \ docker-latest-logrotate \ docker-logrotate \ docker-engine

    安装软件包设置存储库 sudo yum install -y yum-utils

    sudo yum-config-manager \ --add-repo \ https://download.docker.com/linux/centos/docker-ce.repo

    启动docker sudo systemctl start docker

    开机自启 sudo systemctl enable docker

    设置一下阿里的镜像加速器
    Processed: 0.010, SQL: 8