Netrunner Home

Docker install?


#1

So im trying to begin working with docker as it seems pretty popular, helpful and pretty cool actually. So I looked into installing it but can’t seem to figure out how, the ‘sudo apt-getinstall docker’ doesn’t do it, and any of the packages on the site go on about Jessie/Wheezy etc, but since this is ‘testing’ Idon’t see much about that, so can anyone point me in the right direction or help me out? Much appreciated.


#2

Have you tried the ‘Jessie or newer’ method from here?
https://docs.docker.com/install/linux/docker-ce/debian/#set-up-the-repository


#3

I did try that but anytime I try to ‘sudo apt-get install docker-ce’ it says it’s not available, but it referred to by another package. I had found this link here and chose jessia/pool/stable/ and grabbed the latest .deb file. It install OK, but when I run ‘sudo docker run hello-world’ to see if it installed I just get this:

$ sudo docker run hello-world Unable to find image 'hello-world:latest' locally docker: Error response from daemon: Get https://registry-1.docker.io/v2/: net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers). See 'docker run --help' .


#4

Strange indeed but this seems more like a docker issue then a package or install problem.


#5

Hm, alright, ill try and post about it on their Subreddit or something. Thanks for the help. :slight_smile:


#6

https://docs.docker.com/install/linux/docker-ce/debian/#install-using-the-convenience-script

That link there worked for me. I had to get the script and run it as root, it installed for me no issue.