(Solved)Problem when installing Docker for Jupyter-Notebooks

If it doesn't relate to Debian, but you still want to share it, please do it here

(Solved)Problem when installing Docker for Jupyter-Notebooks

Postby Santimirandarp » 2018-01-19 14:25

I am following this installation:https://docs.docker.com/engine/installation/linux/docker-ce/debian/#set-up-the-repository
which may be short and simple but it isn't for me.
When running the command:

Code: Select all
curl -fsSL https://download.docker.com/linux/$(. /etc/os-release; echo "$ID")/gpg | sudo apt-key add -


I get:
Code: Select all
curl: (22) The requested URL returned error: 404 Not Found


Any idea?
Last edited by Santimirandarp on 2018-01-19 19:44, edited 1 time in total.
Santimirandarp
 
Posts: 8
Joined: 2017-10-02 06:03

Re: Problem when installing Docker for Jupyter-Notebooks

Postby debiman » 2018-01-19 17:56

please enter this command:
Code: Select all
. /etc/os-release; echo "$ID"

what does it return?
have you tried opening the resulting URL manually?
User avatar
debiman
 
Posts: 1898
Joined: 2013-03-12 07:18

Re: Problem when installing Docker for Jupyter-Notebooks

Postby Santimirandarp » 2018-01-19 18:19

Thanks a lot for the reply.

debiman wrote:please enter this command:
Code: Select all
. /etc/os-release; echo "$ID"

what does it return?
have you tried opening the resulting URL manually?


I must have said that my version is totally based on debian jessie 8.8 but called "huayra"

When I type
Code: Select all
. /etc/os-release; echo "$ID"


It returns: Huayra.
I think the error can be there, because that's not a link available in the website. Any solution?
Santimirandarp
 
Posts: 8
Joined: 2017-10-02 06:03

Re: Problem when installing Docker for Jupyter-Notebooks

Postby n_hologram » 2018-01-19 19:37

Santimirandarp wrote:Any ideas?

Just goin' on a whim here:
Code: Select all
curl -fsSL https://download.docker.com/linux/debian/gpg | sudo apt-key add -

Or something to that effect.
This was pretty easy after I thought about what debiman said earlier:
debiman wrote:have you tried opening the resulting URL manually?

All I did was go to the section of the url before the string -- everything within $( ) -- and tried the most relevant link.
So, if it does not work, this may be a fair question to keep considering.

EDIT:
Dude, this is the Debian forums; Huayra is based on debian, but not debian enough to reasonably post topics like this here. I recommend building docker from source or checking apt-cache on your distro.
Last edited by n_hologram on 2018-01-19 19:46, edited 1 time in total.
bester69 wrote:There is nothing to install in linux, from time to time i go to google searching for something fresh to install in linux, but, there is nothing
n_hologram
 
Posts: 308
Joined: 2013-06-16 00:10

Re: Problem when installing Docker for Jupyter-Notebooks

Postby Santimirandarp » 2018-01-19 19:44

It worked. Thanks a lot
Santimirandarp
 
Posts: 8
Joined: 2017-10-02 06:03


Return to Offtopic

Who is online

Users browsing this forum: No registered users and 2 guests

fashionable