Is it possible to have Docker running alongside Yunhost?

My YunoHost server

Hardware: Kimsufi KS1 server
YunoHost version:
I have access to my server : Through SSH | through the webadmin
Are you in a special context or did you perform some particular tweaking on your YunoHost instance ? : no
If yes, please explain:

Description of my issue

So Yunohost doesn’t have all the apps I want, so I want to try installing Docker on this box that already has Yunohost.

I’m following these instructions:

When I’m trying to run this command:

sudo add-apt-repository \
   "deb [arch=amd64] \
   $(lsb_release -cs) \

I get this error:

Traceback (most recent call last):
  File "/usr/bin/add-apt-repository", line 95, in <module>
    sp = SoftwareProperties(options=options)
  File "/usr/lib/python3/dist-packages/softwareproperties/", line 109, in __init__
  File "/usr/lib/python3/dist-packages/softwareproperties/", line 599, in reload_sourceslist
  File "/usr/lib/python3/dist-packages/aptsources/", line 93, in get_sources
    (, self.codename))
aptsources.distro.NoDistroTemplateException: Error: could not find a distribution template for YunoHost/stretch

Hmpf I guess that’s because we override the vendor name in dpkg config ~_~

The easiest workaround is to replace your add-apt-repository command with something like :

echo deb [arch=amd64] $(lsb_release -cs stable > /etc/apt/sources.list.d/docker.list

(In fact I kind of wonder what this command does more than just this…)

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.