根据docker官网实现一键安装:
curl -fsSL https://get.docker.com | bash -s docker --mirror Aliyun
启动docker:
sudo systemctl start docker
测试docker是否安装成功
// 拉取镜像
sudo docker pull hello-world
// 执行hello-world
sudo docker run hello-world
根据docker官网实现一键安装:
curl -fsSL https://get.docker.com | bash -s docker --mirror Aliyun
启动docker:
sudo systemctl start docker
测试docker是否安装成功
// 拉取镜像
sudo docker pull hello-world
// 执行hello-world
sudo docker run hello-world