Ubuntu和更新Docker

前端之家收集整理的这篇文章主要介绍了Ubuntu和更新Docker前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。
我试图运行最新的稳定版本的码头和码头组合.

我按照https://docs.docker.com/engine/installation/linux/ubuntulinux/的说明进行

显然当前版本的docker-compose是1.7.

然而,在运行文档之后,安装docker引擎,然后我得到:

$docker-compose --version
docker-compose version: 1.4.0

$docker --version
Docker version 1.11.1,build 5604cbe

当我尝试更新它,我得到以下内容

$sudo apt-get upgrade docker-engine
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Calculating upgrade... docker-engine is already the newest version.
Done

更新

这只是不断变得陌生人尝试下面的所有建议后,我现在得到这个:

$docker-compose -v
The program 'docker-compose' is currently not installed. You can install it by typing:
sudo apt-get install docker-compose
anton@Charles:~$sudo apt-get install docker-compose
Reading package lists... Done
Building dependency tree       
Reading state information... Done
docker-compose is already the newest version.
0 upgraded,0 newly installed,0 to remove and 0 not upgraded.

那么我怎么能更新码头工程师?

谢谢

尝试这个东西:
sudo sh -c "wget -qO- https://get.docker.io/gpg | apt-key add -"
sudo sh -c "echo deb http://get.docker.io/ubuntu docker main\ > /etc/apt/sources.list.d/docker.list"
sudo aptitude update
sudo aptitude install lxc-docker

如果这不工作,可以通过第三方进行:

$sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 36A1D7869245C8950F966E92D8576A8BA88D21E9
$sudo sh -c "echo deb https://get.docker.io/ubuntu docker main > /etc/apt/sources.list.d/docker.list"
$sudo apt-get update
$sudo apt-get install lxc-docker
原文链接:https://www.f2er.com/ubuntu/347278.html

猜你在找的Ubuntu相关文章