Open yjiawqgj opened 16 hours ago
Hey, this would be cool, but there’s likely some work to get the lxc or lxd doing the right thing and setting up the underlying plumbing.
can you confirm that you’ve tried the docker engine on Synology? Can you share why it’s not adequate?
Hey, this would be cool, but there’s likely some work to get the lxc or lxd doing the right thing and setting up the underlying plumbing.
can you confirm that you’ve tried the docker engine on Synology? Can you share why it’s not adequate?
Because DOCKER and LXC are different. For example, if I want to use LXC to deploy the Openwrt system, and use docker to install openwrt, I can only use one network interface of the host machine (maybe I can use multiple network ports, but I don’t know how to configure it so far). Another example is that I want to install wordpress, but I don’t know how to configure the docker version, the containers are many and complex, and it has to occupy port 80 of the host machine and other problems. Lxc is like a complete Linux system, which can be completely independent of DSM and will not pollute DSM.
Hey, this would be cool, but there’s likely some work to get the lxc or lxd doing the right thing and setting up the underlying plumbing. can you confirm that you’ve tried the docker engine on Synology? Can you share why it’s not adequate?
Because DOCKER and LXC are different. For example, if I want to use LXC to deploy the Openwrt system, and use docker to install openwrt, I can only use one network interface of the host machine (maybe I can use multiple network ports, but I don’t know how to configure it so far). Another example is that I want to install wordpress, but I don’t know how to configure the docker version, the containers are many and complex, and it has to occupy port 80 of the host machine and other problems. Lxc is like a complete Linux system, which can be completely independent of DSM and will not pollute DSM.
Many of use have used both lxc and docker, and configure different ports on docker.
What containers are up you wanting to deploy? WRT and Wordpress? Or are these just examples?
one reason I’d prefer to step back towards docker/OCI containers is that some features of standard DSM work with containers — for example, configuring an ingress shows the name of the container. Likely other bits.
lxc often requires kernel modules that are not available — it’s easy enough to build a missing module if the kernel is configured for a module, but not if the kernel param is “N”, for example
Hey, this would be cool, but there’s likely some work to get the lxc or lxd doing the right thing and setting up the underlying plumbing. can you confirm that you’ve tried the docker engine on Synology? Can you share why it’s not adequate?
Because DOCKER and LXC are different. For example, if I want to use LXC to deploy the Openwrt system, and use docker to install openwrt, I can only use one network interface of the host machine (maybe I can use multiple network ports, but I don’t know how to configure it so far). Another example is that I want to install wordpress, but I don’t know how to configure the docker version, the containers are many and complex, and it has to occupy port 80 of the host machine and other problems. Lxc is like a complete Linux system, which can be completely independent of DSM and will not pollute DSM.
Many of use have used both lxc and docker, and configure different ports on docker.
What containers are up you wanting to deploy? WRT and Wordpress? Or are these just examples?
one reason I’d prefer to step back towards docker/OCI containers is that some features of standard DSM work with containers — for example, configuring an ingress shows the name of the container. Likely other bits.
lxc often requires kernel modules that are not available — it’s easy enough to build a missing module if the kernel is configured for a module, but not if the kernel param is “N”, for example
wrt and wordpress are just examples, but there are many other cases. I don't understand what you mean when you say that some functions of standard DSM are only applicable to containers. I also don't understand what you mean when lxc requires "unavailable" modules. I used Google Translate to translate your reply, maybe there are translation errors that make me unable to understand what you said, or maybe there are more advanced LINUX knowledge that makes me unable to understand what you said. If you think I can't understand what you said, please try to give examples or reply without using Linux terms.
Software Name
LXC
Brief Description
Due to the difference between the DSM system and the standard Linux system, the restrictions are very large. If you want to use some other software, many programs cannot run in the DSM system because APT or YUM is not supported. So I thought of using LXC containers, so that you can use standard LINUX and make full use of the remaining performance of the DSM server.
Website
https://linuxcontainers.org/
Documentation
https://linuxcontainers.org/lxc/documentation/
Build/Installation documentation
https://linuxcontainers.org/lxc/downloads/
Source code
https://github.com/lxc/lxc
OpenSource License
other (please specify below)
Other License
I don't understand what it means