Advertisement
Templario_7777

Instalacion de Docker sobre Debian 9 AMD64

Jul 6th, 2017
268
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.76 KB | None | 0 0
  1. $ sudo apt-get update
  2.  
  3. $ sudo apt-get install \
  4.      apt-transport-https \
  5.      ca-certificates \
  6.      curl \
  7.      gnupg2 \
  8.      software-properties-common
  9.  
  10. $ curl -fsSL https://download.docker.com/linux/debian/gpg | sudo apt-key add -
  11.  
  12. Verify that the key ID is 9DC8 5822 9FC7 DD38 854A E2D8 8D81 803C 0EBF CD88.
  13.  
  14. $ sudo apt-key fingerprint 0EBFCD88
  15.  
  16. sub-command below returns the name of your Debian distribution, such as jessie.
  17.  
  18. $ lsb_release -cs
  19.  
  20. $ sudo add-apt-repository \
  21.    "deb [arch=amd64] https://download.docker.com/linux/debian \
  22.   $(lsb_release -cs) \
  23.   stable"
  24.  
  25. $ sudo apt-get update
  26.  
  27. $ sudo apt-get install docker-ce
  28.  
  29. Verify that Docker CE is installed correctly by running the hello-world image.
  30.  
  31. $ sudo docker run hello-world
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement