Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | |||
tutorials:installing_paparazzi_using_docker [2017/07/16 21:13] amora [Installing Docker] |
tutorials:installing_paparazzi_using_docker [2017/07/16 21:25] (current) amora [Installing instructions] |
||
---|---|---|---|
Line 25: | Line 25: | ||
==== Installing instructions ==== | ==== Installing instructions ==== | ||
- | * Purge any older repositories. | + | * Purge any older versions of Docker. |
- | $ apt-get purge lxc-docker* | + | $ sudo apt-get remove docker docker-engine docker.io |
- | $ apt-get purge docker.io* | + | |
- | * Update package information, ensure that APT works with the https method, and that CA certificates are installed. | + | * Update package information, ensure that APT works with the https method, and that CA certificates are installed. If you are using Jessie or Stretch use this: |
- | $ apt-get update | + | $ sudo apt-get update |
- | $ apt-get install apt-transport-https ca-certificates | + | $ sudo apt-get install apt-transport-https ca-certificates curl gnupg2 software-properties-common |
+ | |||
+ | If you are using Wheezy use this: | ||
+ | |||
+ | $ sudo apt-get update | ||
+ | $ sudo apt-get install apt-transport-https ca-certificates curl gnupg2 python-software-properties | ||
* Add the new GPG key | * Add the new GPG key | ||
- | $ apt-key adv --keyserver hkp://p80.pool.sks-keyservers.net:80 --recv-keys 58118E89F3A912897C070ADBF76221572C52609D | + | $ curl -fsSL https://download.docker.com/linux/debian/gpg | sudo apt-key add - |
* Open the /etc/apt/sources.list.d/docker.list file in your favorite editor. If the file doesn’t exist, create it. | * Open the /etc/apt/sources.list.d/docker.list file in your favorite editor. If the file doesn’t exist, create it. | ||
Line 45: | Line 49: | ||
* Add an entry for your Debian operating system. | * Add an entry for your Debian operating system. | ||
- | On Debian Wheezy | + | On Debian Stretch |
- | deb https://apt.dockerproject.org/repo debian-wheezy main | + | deb [arch=amd64] https://download.docker.com/linux/debian stretch stable |
On Debian Jessie | On Debian Jessie | ||
- | deb https://apt.dockerproject.org/repo debian-jessie main | + | deb [arch=amd64] https://download.docker.com/linux/debian jessie stable |
- | On Debian Stretch/Sid | + | On Debian Wheezy |
- | deb https://apt.dockerproject.org/repo debian-stretch main | + | deb [arch=amd64] https://download.docker.com/linux/debian wheezy stable |
* Save and close the file. | * Save and close the file. | ||
Line 61: | Line 65: | ||
* Update the APT package index | * Update the APT package index | ||
- | $ apt-get update | + | $ sudo apt-get update |
* Install Docker. | * Install Docker. | ||
- | $ sudo apt-get install docker-engine | + | $ sudo apt-get install docker-ce |
* Start the docker daemon. | * Start the docker daemon. |