目录

Docker 的安装及基础使用

环境采用的是Centos7

安装

一条命令

curl -fsSL https://get.docker.com | bash -s docker --mirror aliyun

开机自启

systemctl enable docker

手动启动

systemctl start docker

使用

启动HelloWorld

docker run --name=helloworld hello-world:latest

删除HelloWorld

docker rm -f helloworld