您的位置:首页 > 运维架构 > Docker

How to install experimental Docker versions on my Ubuntu 16.04 LTS

2016-03-31 17:31 816 查看


How to install experimental Docker versions on my Ubuntu 16.04 LTS

In order to have bleeding edge docker packages in Ubuntu, you can follow these instructions:

1. Add the following line to /etc/apt/sources.list:

deb http://ppa.launchpad.net/docker/experimental/ubuntu xenial main
deb-src http://ppa.launchpad.net/docker/experimental/ubuntu xenial main

2. Add the PPA key to your keyring

$ sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 0x6c09f330d9d32a57

3. Install the package itself

$ sudo apt-get update
$ sudo apt-get install docker.io

4. Remove the old aufs directory

$ sudo mv /var/lib/docker/aufs /var/lib/docker/aufs.old

5. Restart docker daemon

$ sudo systemctl restart docker

6. Docker is now up and running

$ docker --version Docker version 1.10.2, build c3959b1

参考: https://wiki.ubuntu.com/ppp64el/Docker
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: