安装docker.io包之前,需要先设置使用backports源
编辑/etc/apt/sources.list文件,加入下面这一句:
deb http://http.debian.net/debian jessie-backports main
然后执行:
$sudo apt-get update
$sudo apt-get install docker.io
如果出现:
dpkg: warning: 'ldconfig' not found in PATH or not executable
dpkg: warning: 'start-stop-daemon' not found in PATH or not executable
dpkg: error: 2 expected program not found in PATH or not executable
<