translated

This commit is contained in:
geekpi 2015-04-02 08:39:52 +08:00
parent 262548fcce
commit 8e75858230
2 changed files with 35 additions and 37 deletions

View File

@ -1,37 +0,0 @@
Translating----geekpi
Linux FAQs with Answers--How to upgrade Docker on Ubuntu
================================================================================
> **Question**: I installed Docker on Ubuntu using its standard repositories. However, the default Docker installation does not meet the version requirement for my another application that relies on Docker. How can I upgrade Docker to the latest version on Ubuntu?
Since Docker was first released in 2013, it has been fast evolving into a full-blown open platform for distributed applications. To meet the industry's expection, Docker is being aggressively developed and constantly upgraded with new features. Chances are that the stock Docker that comes with your Ubuntu distribution is quickly outdated. For example, Ubuntu 14.10 Utopic comes with Docker version 1.2.0, while the latest Docker version is 1.5.0.
![](https://farm9.staticflickr.com/8730/16351300024_9acb9086da_b.jpg)
For those of you who want to stay up-to-date with Docker's latest developments, Canonical maintains a separate PPA for Docker. Using this PPA repository, you can easily upgrade Docker to the latest version on Ubuntu.
Here is how to set up Docker PPA and upgrade Docker.
$ sudo add-apt-repository ppa:docker-maint/testing
$ sudo apt-get update
$ sudo apt-get install docker.io
Now check the version of installed Docker:
$ docker --version
----------
Docker version 1.5.0-dev, build a78ce5c
--------------------------------------------------------------------------------
via: http://ask.xmodulo.com/upgrade-docker-ubuntu.html
作者:[Dan Nanni][a]
译者:[译者ID](https://github.com/译者ID)
校对:[校对者ID](https://github.com/校对者ID)
本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创翻译,[Linux中国](http://linux.cn/) 荣誉推出
[a]:http://ask.xmodulo.com/author/nanni

View File

@ -0,0 +1,35 @@
Linux有问必答-- 如何在Ubuntu中升级Docker
================================================================================
> **提问**: 我使用了Ubuntu的标准仓库安装了Docker。然而默认安装的Docker不能满足我另外一个依赖Docker程序的版本需要。我该如何在Ubuntu中升级到Docker的最新版本
Docker第一次在2013年发布它快速地演变成了一个针对分布式程序的开发平台。为了满足工业期望Docker正在紧密地开发并持续地带来新特性的升级。这样Ubuntu发行版中的Docker版本可能很快就会过时。比如, Ubuntu 14.10 Utopic 中的Docker版本是1.2.0 然而最新的Docker版本是1.5.0。
![](https://farm9.staticflickr.com/8730/16351300024_9acb9086da_b.jpg)
对于那些想要跟随Docker的最新开发的人而言Canonical为Docker维护了一个独立的PPA。使用这个PPA仓库你可以很容易地在Ubuntu上升级到最新的Docker版本。
下面是如何设置Docker的PPA和升级Docker。
$ sudo add-apt-repository ppa:docker-maint/testing
$ sudo apt-get update
$ sudo apt-get install docker.io
检查安装的Docker版本
$ docker --version
----------
Docker version 1.5.0-dev, build a78ce5c
--------------------------------------------------------------------------------
via: http://ask.xmodulo.com/upgrade-docker-ubuntu.html
作者:[Dan Nanni][a]
译者:[geekpi](https://github.com/geekpi)
校对:[校对者ID](https://github.com/校对者ID)
本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创翻译,[Linux中国](http://linux.cn/) 荣誉推出
[a]:http://ask.xmodulo.com/author/nanni