Docker 1.0.1 can be tested on Ubuntu 14.04 LTS!
Docker1.0.1 has officially logged on to "trusty-proposed archive file". We expect SRU to get faster updates on the long-term supported version! We are eager to get your test feedback to ensure that those upgraded from Docker 0.9.1 and those newly installed Docker 1.0.1 can achieve better performance, ubuntu's LTS also delivers the best results you want! Please submit any bugs and problems here!
In addition, this new version of Docker software package is now installed under/usr/bin/docker, rather than in the earlier version of the installation directory/usr/bin/docker. io. This should help Ubuntu's Docker software package more closely match the documents and examples provided by our partners for upstream games.
Thanks to Paul Tagliamonte, James Page, Nick Stinemates, Tianon Gravi, and Ryan Harper, they contributed to debian and ubuntu to get software package updates on Trusty. Another point is that we are developing Docker 1.1.2 (or 1.2.0) for Ubuntu October 23, 2014 (Utopic) released in 14.10 ).
Below are some commands that may help you do the test ......
# Check that candidate versions are available #
$
sudo
apt-get update
$ apt-cache show docker.io |
grep
^Version:
If the display is 0.9.1 ~ dfsg1-2 (as necessary), then you need to make the trusty-proposed container available.
$ Echo "deb http://archive.ubuntu.com/ubuntu/ trusty-proposed universe" | sudo tee-a/etc/apt/sources. list
$ Sudo apt-get update
$ Apt-cache show docker. io | grep ^ Version:
Now you can see the new version, 1.0.1 ~ Dfsg1-0ubuntu1 ~ Ubuntu0.14.04.1, available (except 1.0.1 ~ Dfsg1-0ubuntu1 ~ Ubuntu0.14.04.1 ).
# Upgrade #
Check whether you have installed Docker. Use:
$ Dpkg-l docker. io
In this case, you can perform a simple upgrade:
$ Sudo apt-get upgrade
Now you can check your Docker version:
$ Sudo dpkg-l docker. io | grep-m1 ^ ii | awk '{print $3 }'
0.9.1 ~ Dfsg1-2
# New Installation #
You only need to install the new software package, using:
$ Sudo apt-get install docker. io
Make sure you are using the latest version:
$ Dpkg-l docker. io | grep-m1 ^ ii | awk '{print $3 }'
1.0.1 ~ Dfsg1-0ubuntu1 ~ Ubuntu0.14.04.1
# Run Docker #
If you are already a Docker user, you may not need to explain this. If not, read this article and try Docker for the first time, this is the simplest "Quick Start Guide ".
$ Sudo docker pull ubuntu
$ Sudo docker run-I-t ubuntu/bin/bash
Now you are running a bash shell in the Ubuntu Docker container, just a bash ~
Root @ 1728ffd1d47b:/# ps-ef
UID PID PPID C STIME TTY TIME CMD
Root 1 0 0 13:42? 00:00:00/bin/bash
Root 8 1 0 13:43? 00:00:00 ps-ef
If you want to do something more interesting in Docker, you are welcome to join us!
Dustin
Install Docker in CentOS 6/7 Series
Detailed explanation of the entire process of building Gitlab CI for Docker
Docker installation application (CentOS 6.5_x64)
What is the difference between Docker and a normal Virtual Machine?
Use MySQL in Docker
Docker will change everything
Docker installation application (CentOS 6.5_x64)
Docker details: click here
Docker: click here