1.apt-get update&&apt-get upgrade
2.查看Linux系统信息 nuame -a
[email protected]:~# uname -a
Linux Server 4.9.0-4-amd64 #1 SMP Debian 4.9.51-1 (2017-09-28) x86_64 GNU/Linux
3.查看Linux 系统发行版的名称 lsb_release -cs
[email protected]:~# lsb_release -cs
stretch
4.进入到下载包页面 https://download.docker.com/linux/
5.下载 wget 下载连接
6.dpkg -i docker-ce_17.03.0~ce-0~debian-stretch_amd64.deb
但报错cannot access archive ‘–install’: No such file or directory
往上找:
docker-ce depends on libltdl7 (>= 2.4.6); however:
Package libltdl7 is not installed.
apt-get install libltdl7
7.运行 docker 测试是否正常:
本文标题: | Docker在debian9上的安装 |
本文链接: (转载请附上本文链接) | http://vulsee.com/archives/vulsee_2018/0610_6380.html |