Ubuntu 20.04 中 安装docker
1 检查Ubuntu的内核docker需要ubuntu的内核是高于3.10命令:uname -r2.安装docker命令: sudo apt-get install docker.io3.查看版本docker --version4. 启动命令: sudo systemctl start docker查看状态: sudo systemctl status docker5.关闭sudo systemc
·
1 检查Ubuntu的内核
docker需要ubuntu的内核是高于3.10
命令:uname -r
2.安装docker
命令: sudo apt-get install docker.io
3.查看版本
docker --version
4. 启动
命令: sudo systemctl start docker
查看状态: sudo systemctl status docker
5.关闭
sudo systemctl stop docker
6.卸载docker
sudo apt-get remove docker docker-engine docker-ce docker.io
完成
更多推荐
已为社区贡献1条内容
所有评论(0)