如何在 debian Jessie 上安装 docker-engine 1.13

How to install docker-engine 1.13 on debian Jessie

在 Docker 的 official documentation 之后,我只得到 docker-engine 1.12

# apt-cache policy docker-engine
docker-engine:
Installed: 1.12.4-0~debian-jessie
Candidate: 1.12.5-0~debian-jessie
Version table:
 1.12.5-0~debian-jessie 0
    500 https://apt.dockerproject.org/repo/ debian-jessie/main amd64 Packages
*** 1.12.4-0~debian-jessie 0
    500 https://apt.dockerproject.org/repo/ debian-jessie/main amd64 Packages
    100 /var/lib/dpkg/status

我怎样才能install/upgrade到1.13?

我需要docker prune system

Docker 尚未发布 1.13。见 release notes for details on new releases. To get on the RC of 1.13, switch to the testing branch.

您可以通过 运行 安装 docker 1.13.0-rc4:

curl -fsSL https://test.docker.com/ | sh