Guest User

Untitled

a guest
Nov 19th, 2017
88
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.18 KB | None | 0 0
  1. thufir@doge:~$
  2. thufir@doge:~$ sudo apt install docker
  3. Reading package lists... Done
  4. Building dependency tree
  5. Reading state information... Done
  6. docker is already the newest version (1.5-1).
  7. 0 upgraded, 0 newly installed, 0 to remove and 230 not upgraded.
  8. thufir@doge:~$
  9. thufir@doge:~$ sudo systemctl status docker
  10. Unit docker.service could not be found.
  11. thufir@doge:~$
  12. thufir@doge:~$ sudo service docker start
  13. Failed to start docker.service: Unit docker.service not found.
  14. thufir@doge:~$
  15. thufir@doge:~$ cat /etc/lsb-release
  16. DISTRIB_ID=Ubuntu
  17. DISTRIB_RELEASE=17.04
  18. DISTRIB_CODENAME=zesty
  19. DISTRIB_DESCRIPTION="Ubuntu 17.04"
  20. thufir@doge:~$
  21.  
  22. user@host:~$ apt-cache search docker | grep '^docker - '
  23.  
  24. docker - System tray for KDE3/GNOME2 docklet applications
  25.  
  26. sudo apt-get update
  27.  
  28. sudo apt-get install
  29. apt-transport-https
  30. ca-certificates
  31. curl
  32. software-properties-common
  33.  
  34. curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
  35.  
  36. sudo add-apt-repository
  37. "deb [arch=amd64] https://download.docker.com/linux/ubuntu
  38. $(lsb_release -cs)
  39. stable"
  40.  
  41. sudo apt-get update
  42.  
  43. sudo apt-get install docker-ce
  44.  
  45. sudo docker run hello-world
Add Comment
Please, Sign In to add comment