1、基本信息
远程控制服务器软件:Xshell
阿里云主机账号:***** (远程登陆为Centos8系统)
用户root
账号密码:*****
2、安装Docker
1)官方脚本安装:
curl -fsSL https://get.docker.com | bash -s docker --mirror Aliyun
2)启动Docker:
sudo systemctl start docker
3)通过运行 hello-world 映像来验证是否正确安装了 Docker Engine-Community
sudo docker run hello-world
运行结果如图则证明Dokcer安装完成。
4)卸载Docker(一般不进行该项操作)