this post was submitted on 02 Nov 2023
1 points (100.0% liked)

Self-Hosted Main

502 readers
1 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

For Example

We welcome posts that include suggestions for good self-hosted alternatives to popular online services, how they are better, or how they give back control of your data. Also include hints and tips for less technical readers.

Useful Lists

founded 1 year ago
MODERATORS
 

I have several docker containers, now I setup a PC with Proxmox.

Which is the best approach to run containers on Proxmox?

Reading online there are two approaches VM Vs LXC (Ubuntu I prefer).

What do you suggest?

Thanks

top 5 comments
sorted by: hot top controversial new old
[–] [email protected] 1 points 10 months ago (2 children)

Why not ask /r/Proxmox?

In general its not recommended to run Docker inside a LXC, especially for a beginner. However plenty of people (including myself) are doing it, you just might run into a few hurdles.

If you plan on having mostly a single Docker host with your containers running, then i would suggest a VM for that.

If you want to run multiple hosts separately, then the overhead from each VM adds up and i would recommend separate LXC instead.

This gets asked often, you could simply search for existing threads.

[–] [email protected] 1 points 10 months ago

If for example he wnats 1 vm with all docker things inside wouldnt it be better to just install drbian and rin docker inside. Instead of running a vm in promix that runs docker?

[–] [email protected] 1 points 10 months ago

What about monitoring like netdata? Is this recommended to run in a host docker? It's my only docker container running on host...

[–] [email protected] 1 points 10 months ago

Just take the tteck script for alpine docker and portainer, very lightweight. I even use one for each docker service and then just backup/restore on the full Proxmox container level.

[–] [email protected] 1 points 10 months ago

I have all my docker containers in a vm and then anything not docker in a lxc. For a while I didn’t have issues with docker containers in lxc and then they all stopped worked every time there as an update so I moved them to vms.