Ubuntu 20.04 安装 Docker Engine
发布时间
阅读量:
阅读量
Ubuntu 20.04 安装 Docker Engine
环境信息:
OS:Ubuntu 20.04
Docker Engine:19.03.12
RAM:16G
CPU:Intel® Core™ i5-6500 CPU @ 3.20GHz × 4
1 使用官方安装脚本自动安装
curl -fsSL https://get.docker.com | bash -s docker --mirror Aliyun
结果:

2 启动服务
#切换操作用户
sudo usermod -aG docker weison(非root用户)
#启动docker服务
sudo systemctl enable docker
sudo systemctl start docker
3 Hello World
sudo docker run hello-world

[ 参考 ] https://www.runoob.com/docker/ubuntu-docker-install.html
全部评论 (0)
还没有任何评论哟~
