Where are the LXC containers?

I’m sure I’m missing something obvious here, but as per https://doc.turris.cz/doc/en/howto/lxc, I should be able to create an LXC container by going to Services->LXC containers. However, there is no such menu point under Services. The command line tools seem to be missing as well. Do I have to install any addon packages or activate LXC containers in any other way?

Hello,
installing LXC containers via LuCI doesn’t work.
We have listed it in Errata. You need to use SSH to install LXC containers. You can create LXC container by this command:

lxc-create -t download -n name

I updated LXC article in our documentation, where I added warning that installing LXC containers via LuCi doesn’t work.

2 Likes

Thanks for your reply. However, as stated in my post, the command line tools seem to be missing as well:

root@router:~# lxc-create
-ash: lxc-create: not found
root@router:~#

Do you have checked LXC option in Foris in Updater tab?
Thank you for letting me know. I’ll update the whole article next week.

2 Likes

Thank you! No, I haven’t checked that option. How can I get back into the Foris interface? Just pointing my browser to the router’s IP takes me directly into LuCI.

In Turris OS 3.9.x version you should find Foris here:
http://192.168.1.1/foris/config/ (it’s default IP address of router)

Unfortunately, that gives me a 404 not found error.

I can see in LuCI that many lxc packages are available. Which ones would I have to install to get lxc running?

Ok, just letting everybody know. I contacted @Manul privately and he find out that with Safari he can access Foris by default, but when he used Firefox it takes him directly to the LuCI, which is wrong and I’ll try to reproduce it.

2 Likes

I just want to confirm this and thank Pepe for his excellent and patient weekend support! First LXC container is downloading as I write this.

2 Likes

I’ll get Foris in both ways. Safari in OS X EC & Firefox on debian.

Edit: So I tried it also in Firefox 58. Exactly the same assembly. It works there too.
And of course, I used only the IP. :wink:

Just to be clear: I can access Foris in both browsers at http://<IP>/foris/config. It’s just that when I only enter the IP Firefox will take me directly into LuCI while Safari will take me to the Foris interface.

This is all on OS X EC (10.11.6). Firefox is v58.0 and Safari is v11.0.3.