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

  • thekrautboy@alien.topB
    link
    fedilink
    English
    arrow-up
    0
    ·
    1 year ago

    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.

    • xXfreshXx@alien.topB
      link
      fedilink
      English
      arrow-up
      1
      ·
      1 year ago

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

    • c_one@alien.topB
      link
      fedilink
      English
      arrow-up
      1
      ·
      1 year 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?