Replies: 3 comments 1 reply
-
Hello @xgusto Thank you for your question and feedback. I'll address your concerns in detail below. Recommendation on VirtualizationFirst, regarding your setup with LXC and Docker, I understand the complexity you're dealing with. While Docker can run inside LXC, it's not the most optimal setup, especially for production environments. I strongly recommend considering KVM instead. Here’s why:
However, if you're constrained to using LXC, it’s important to note that nesting Docker inside LXC can introduce complexities, especially around networking and resource allocation. Troubleshooting the Deployment IssueFor the issue with the deployment failing on the first attempt, I would need more information, particularly the logs. This will help diagnose whether the issue is related to your LXC setup or the modifications in your YAML file. Please share the logs for further analysis. Why Debian Instead of Alpine?
ConclusionWhile Alpine Linux could potentially reduce the image size, the trade-off in terms of ease of troubleshooting and package availability might not be worth it, especially for a tool that requires robust network handling. Feel free to reach out if you have any further questions or need assistance with the logs. Cheers! |
Beta Was this translation helpful? Give feedback.
-
Yes, I know that running docker inside LXC is not an optimal solution, even LXC administrator Stefan Graber talks about it, but it works :) I haven't had any problems with docker inside LXC yet. If something can be built on LXC, don't put it on KVM. LXC is quite safe in privileged mode. As I already wrote, I'm not an expert, and if you built the wireguard_webadmin stack above Debian, you probably know why. Now let's deploy wireguard_webadmin from dockerhub
Here is the wireguardg_webadmin creation log.
If I enter the IP address (or domain name) in the URL, the log continues.
When I use wgiu.example.com in the browser, everything works correctly. When I use Ctrl+C in the CLI, the containers stop
My yml is identical to yours, only the IP address and ports have been changed.
If I click deploy the stack again, the deployment ends successfully and everything works correctly. |
Beta Was this translation helpful? Give feedback.
-
Thank you for the answer. I will wait for a doocker with alpine. |
Beta Was this translation helpful? Give feedback.
-
I used portainer and this yaml (modified by me) to deploy wireguard webadmin. The first stack deployment fails. If I click deploy a second time, it's OK and everything works correctly (I don't understand it).
I apologize, because I am not an expert in docker, but I have a question.
I know it's not recommended, but docker runs in LXC (I don't have to use VM because of docker). I have LXC built on Debian 12 and regularly backup them.
LXC + docker compose + portainer alone has 600 MB after the backup.
If I deploy Wireguard_webadmin, then after backup the LXC is 1.35 GB.
As I have already stated, I am not an expert, but it is possible to build Wireguard_webadmin, e.g. on alpine linux?
Why does wireguard_webadmin take up so much space?
Thank you for your work
Beta Was this translation helpful? Give feedback.
All reactions