cannot install docker

Stan Schymanski stanislaus.schymanski at sdsc.ethz.ch
Tue Mar 7 16:52:22 CET 2017


Thanks, but I already tried that (sorry, forgot to mention):

$ sudo add-apt-repository    "deb [arch=amd64] 
https://download.docker.com/linux/debian jessie stable"
[sudo] password for sschyman:
Traceback (most recent call last):
   File "/usr/bin/add-apt-repository", line 167, in <module>
     sp = SoftwareProperties(options=options)
   File 
"/usr/lib/python3/dist-packages/softwareproperties/SoftwareProperties.py", 
line 105, in __init__
     self.reload_sourceslist()
   File 
"/usr/lib/python3/dist-packages/softwareproperties/SoftwareProperties.py", 
line 595, in reload_sourceslist
     self.distro.get_sources(self.sourceslist)
   File "/usr/lib/python3/dist-packages/aptsources/distro.py", line 89, 
in get_sources
     (self.id, self.codename))
aptsources.distro.NoDistroTemplateException: Error: could not find a 
distribution template for Progress Linux/cairon-backports

We now added the deb to /etc/apt/sources.list manually and then the 
installation worked.

Thanks for the heads-up on the container-tools. I've seen the mention of 
them at https://linux.bfh.ch/software/container-tools/index.html, but 
haven't followed it up.

Cheers

Stan


On 03/07/2017 03:14 PM, Daniel Baumann wrote:
> Hi Stan,
>
> On 03/07/2017 03:03 PM, Stan Schymanski wrote:
>> sudo add-apt-repository \ "deb [arch=amd64]
>> https://download.docker.com/linux/debian  \ $(lsb_release -cs) \ stable"
> replace $(lsb_release -cs) with jessie and you should be fine?
>
> unrelated to that: we recommend not using docker but systemd-nspawn
> (with container-tools[0] as a leightweight toolkit on top).
>
> Regards,
> Daniel
>
> [0]https://open-infrastructure.net/software/container-tools/
>

-- 
___________________________________________

Dr. Stan Schymanski
Swiss Data Science Center
ETH Zürich
UNH, Universitätstrasse 25
8006 Zürich
Schweiz

Room: UNH G 5
Ph: +41 44 633 63 65
___________________________________________



More information about the bfh-linux-users mailing list