Ubuntu paket von docker installieren: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
Thomas (Diskussion | Beiträge) |
Thomas (Diskussion | Beiträge) |
||
| (7 dazwischenliegende Versionen desselben Benutzers werden nicht angezeigt) | |||
| Zeile 5: | Zeile 5: | ||
==Add Docker’s official GPG key== | ==Add Docker’s official GPG key== | ||
*curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add - | *curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add - | ||
| + | ==Verify that the key fingerprint is 9DC8 5822 9FC7 DD38 854A E2D8 8D81 803C 0EBF CD88== | ||
| + | *sudo apt-key fingerprint 0EBFCD88 | ||
| + | <pre> | ||
| + | pub 4096R/0EBFCD88 2017-02-22 | ||
| + | Key fingerprint = 9DC8 5822 9FC7 DD38 854A E2D8 8D81 803C 0EBF CD88 | ||
| + | uid Docker Release (CE deb) <docker@docker.com> | ||
| + | sub 4096R/F273FCD8 2017-02-22 | ||
| + | </pre> | ||
| + | =Add Repository= | ||
| + | sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable" | ||
| + | =Install docker= | ||
| + | *sudo apt-get update | ||
| + | *sudo apt-get install docker-ce | ||
| + | =Test Installation= | ||
| + | *sudo docker run hello-world | ||
| + | =Post Install= | ||
| + | *https://docs.docker.com/engine/installation/linux/linux-postinstall/#dns-resolver-found-in-resolvconf-and-containers-cant-use-it | ||
| − | + | =Links= | |
| − | + | *https://docs.docker.com/engine/installation/linux/ubuntu/#install-using-the-repository | |
| − | |||
| − | |||
| − | |||
| − | |||
| − | = | ||
| − | |||
| − | * | ||
| − | |||
Aktuelle Version vom 10. Mai 2017, 10:47 Uhr
Install using the repository
Install packages to allow apt to use a repository over HTTPS
- sudo apt-get update
- sudo apt-get install apt-transport-https ca-certificates curl software-properties-common
Add Docker’s official GPG key
- curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
Verify that the key fingerprint is 9DC8 5822 9FC7 DD38 854A E2D8 8D81 803C 0EBF CD88
- sudo apt-key fingerprint 0EBFCD88
pub 4096R/0EBFCD88 2017-02-22
Key fingerprint = 9DC8 5822 9FC7 DD38 854A E2D8 8D81 803C 0EBF CD88
uid Docker Release (CE deb) <docker@docker.com>
sub 4096R/F273FCD8 2017-02-22
Add Repository
sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable"
Install docker
- sudo apt-get update
- sudo apt-get install docker-ce
Test Installation
- sudo docker run hello-world