Hi there!
I upgraded my nextcloud instance which is running in an lxd container. Is it possible or advisable to use AppApi (External Apps) and Docker within my nextcloud lxd-container?
Due to the fact that i mainly use LXC/LXD–Containers I am not really into Docker…
Hey @Dr.Axelbauer welcome back ![]()
You posted your request in the support category. Unfortunately you ignored the template and a lot of information to help you is missing. Please edit your original post and add all required details like Nextcloud version, webserver type and version, os version, related log file content. Use the support template.
Without additional information the community members cannot help you.
meanwhile:
advisable to use AppApi (External Apps) and Docker within my nextcloud lxd-container
there are some caveats when running Docker inside LXC, see wiki-md/LXD-LXC.Docker_in_LXC.md at scubamuc-wiki · scubamuc/wiki-md · GitHub, but if you keep that in mind, running Docker and your Nextcloud in the same LXC should work. but recent apparmor updates have been known to cause issues with security nesting preventing Docker inside LXC from accessing LXD host root binaries with required permissions! so you may want to consider LXC VM instead.
recommend creating separate LXC VM’s for Docker, thus keeping Nextcloud instance and Docker instance separate allowing easier troubleshooting:
LXD-Server example Docker LXC VM’s:
Okay thanks…It was more of a general question and I conclude from your post, that it is possible but needs some adjustments and tweaks to get the stuff going…Thanks for your links!
Ultimatley that would require me to make infrastructual changes which seem not trivial…
no tweaks required… just read the LXD docs, its all default ![]()
and if you have LXD up and running fine, the adding/removing LXC VM’s is easy. see https://github.com/scubamuc/wiki-md/blob/scubamuc-wiki/LXD-LXC.Wiki.md… that wiki is in german too if you like, but remember, those are just notes ![]()
Yes but that would require me to create the lxc vm and migrate the whole lxc nextcloud instance to that new vm…Which is a bit of work and might lead into troubles and config stuff. Am I wrong?
no, I’d leave the Nextcloud LXC alone… don’t change a running instance if its not necessary. create a new container as VM for Docker and connect the two… easy as pie ![]()
Okay. Thanks. As soon as I find time I will try it out…
Just one question: By connecting them you mean, that i should forward between the original lxc container and the new lxc vm docker container via my proxy container?
yes, that’s the idea… you’d be connecting GB/s in a jiffy
This topic was automatically closed 8 days after the last reply. New replies are no longer allowed.
