Last active
August 29, 2015 14:04
-
-
Save bmurzeau/d00b7307ca5c8a15d8f1 to your computer and use it in GitHub Desktop.
Upgrade to specific version of Docker on Ubuntu
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Add Docker repository | |
$ 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 | |
# List all versions | |
$ sudo apt-cache showpkg docker.io | |
Package: docker.io | |
Versions: | |
0.9.1~dfsg1-2 (/var/lib/apt/lists/us.archive.ubuntu.com_ubuntu_dists_trusty_universe_binary-amd64_Packages) (/var/lib/dpkg/status) | |
Description Language: | |
File: /var/lib/apt/lists/us.archive.ubuntu.com_ubuntu_dists_trusty_universe_binary-amd64_Packages | |
MD5: 4f110c30cd3596d47a1d37f564ddd5bc | |
Description Language: en | |
File: /var/lib/apt/lists/us.archive.ubuntu.com_ubuntu_dists_trusty_universe_i18n_Translation-en | |
MD5: 4f110c30cd3596d47a1d37f564ddd5bc | |
Reverse Depends: | |
lxc-docker-1.1.1,docker.io | |
lxc-docker-1.1.0,docker.io | |
lxc-docker-1.0.1,docker.io | |
lxc-docker-1.0.0,docker.io | |
lxc-docker-0.9.1,docker.io | |
lxc-docker-0.9.0,docker.io | |
lxc-docker-0.8.1,docker.io | |
lxc-docker-0.12.0,docker.io | |
lxc-docker-0.11.1,docker.io | |
lxc-docker-0.11.0,docker.io | |
lxc-docker-0.10.0,docker.io | |
docker.io:i386,docker.io | |
vim-syntax-docker,docker.io | |
Dependencies: | |
0.9.1~dfsg1-2 - adduser (0 (null)) iptables (0 (null)) init-system-helpers (2 1.13~) sysv-rc (18 2.88dsf-24) file-rc (2 0.8.16) perl (0 (null)) libapparmor1 (2 2.6~devel) libc6 (2 2.4) libdevmapper1.02.1 (2 2:1.02.63) libsqlite3-0 (2 3.5.9) btrfs-tools (0 (null)) debootstrap (0 (null)) lxc (0 (null)) rinse (0 (null)) aufs-tools (0 (null)) ca-certificates (0 (null)) cgroupfs-mount (16 (null)) cgroup-lite (0 (null)) git (0 (null)) xz-utils (0 (null)) docker.io:i386 (0 (null)) | |
Provides: | |
0.9.1~dfsg1-2 - | |
Reverse Provides: | |
# Upgrade to specific version | |
$ sudo apt-get install lxc-docker-1.0.1 | |
$ sudo docker version | |
Client version: 1.0.1 | |
Client API version: 1.12 | |
Go version (client): go1.2.1 | |
Git commit (client): 990021a | |
Server version: 1.0.1 | |
Server API version: 1.12 | |
Go version (server): go1.2.1 | |
Git commit (server): 990021a |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment