By accessing the website and accepting the Cookie Policy, you agree to use the cookies provided by the Site in accordance with to analyze traffic, remember your preferences, and optimize your experience.
在Debian 9 (Stretch) 上安装Docker Engine
Docker    2018-11-23 17:07:33    685    0    0
emengweb   Docker
apt-get install apt-transport-https dirmngr

添加 Docker 的库到 Debian 9 的 /etc/apt/sources.list

echo 'deb debian-stretch main' >> /etc/apt/sources.list

可以用 cat 命令看一下 sources.list 中已经添加成功

cat /etc/apt/sources.list

获取 Docker 库的签名和索引更新:

apt-key adv --keyserver hkp:// --recv-keys 58118E89F3A912897C070ADBF76221572C52609D
apt-get update

安装 Docker:

apt-get install docker-engine

参考文章:How to install Docker engine on Debian 9 Stretch Linux

上一篇: 在Linux系统安装Docker Compose组件

下一篇: Hetzner独服使用Proxmox创建VPS

685 人读过