docker腾讯云安装
简单步骤
1.yum -y install gcc
2.yum -y install gcc-c++
3.yum -y install yum-utils
4.yum-config-manager --add-repo http://mirrors.aliyun.com/docker-ce/linux/centos/docker-ce.repo
5.yum install docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin
6.systemctl start docker
7.docker run hello-world
步骤说明
1.安装gcc
2.安装gcc-c++
3.安装yum-utils,里面存在yum-config-manager
4.添加docke阿里云源
5.安装docker
6.启动docker
7.运行hello-world