install on centos
yum install -y gccyum install -y yum-utils
安装阿里云镜像
yum-config-manager \--add-repo \http://mirrors.aliyun.com/docker-ce/linux/centos/docker-ce.repo
安装docker
yum install docker-ce docker-ce-cli containerd.io docker-compose-plugin
启动docker
systemctl start docker
查看docker进程
ps -ef|grep docker


运行hello world
docker run hello-world

停止docker
sysstemctl stop docker
