1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
Patrick

How-to Guide Create a Proxmox VE 5.0 All-in-One with Docker

Get KVM virtualization, ZFS/ Ceph storage and Docker (with a GUI) all-in-one setup

  1. Patrick

    Patrick Administrator
    Staff Member

    Joined:
    Dec 21, 2010
    Messages:
    9,402
    Likes Received:
    2,908
    Patrick submitted a new resource:

    Create a Proxmox VE 5.0 All-in-One with Docker - Get KVM virtualization, ZFS/ Ceph storage and Docker (with a GUI) all-in-one setup

    Read more about this resource...
     
    #1
    eva2000, jfoor, _alex and 6 others like this.
  2. Cadal

    Cadal Member

    Joined:
    Jul 8, 2016
    Messages:
    32
    Likes Received:
    8
    Wow good timing!
     
    #2
    T_Minus likes this.
  3. Monoman

    Monoman Member

    Joined:
    Oct 16, 2013
    Messages:
    122
    Likes Received:
    19
    this would be great to include napp-it as well :D
     
    #3
  4. Jeggs101

    Jeggs101 Well-Known Member

    Joined:
    Dec 29, 2010
    Messages:
    1,178
    Likes Received:
    142
    Oh please Napp-it yes!
     
    #4
  5. Patrick

    Patrick Administrator
    Staff Member

    Joined:
    Dec 21, 2010
    Messages:
    9,402
    Likes Received:
    2,908
    Turning this into a main site guide over the weekend with a video.
     
    #5
    eva2000 and T_Minus like this.
  6. Monoman

    Monoman Member

    Joined:
    Oct 16, 2013
    Messages:
    122
    Likes Received:
    19
    would it be useful to include the napp-it stuff so far? I'm still not seeing a solid use for it as must of the "shareing" stuff will always be broken from what I've seen. It's nice to see basic zpool and zfs info about created objects but nothing more imho on proxmox.
     
    #6
  7. Patrick

    Patrick Administrator
    Staff Member

    Joined:
    Dec 21, 2010
    Messages:
    9,402
    Likes Received:
    2,908
    I think the Docker / Portainer stuff works. The storage management is still something that needs work for a future piece. I tried it out, and need to get it to the point where ZoL + share management works.
     
    #7
  8. Monoman

    Monoman Member

    Joined:
    Oct 16, 2013
    Messages:
    122
    Likes Received:
    19
    I agree. I'm not sure if we can adapt napp-it to work for our needs or not. Needs more research into share creation/modification and gea code adaptation :D
     
    #8
  9. Churchill

    Churchill Active Member

    Joined:
    Jan 6, 2016
    Messages:
    424
    Likes Received:
    104
    Can we get a guide for Nutanix? Make @msvirtualguy do some work while he's building his new clusters :D
     
    #9
    nitrobass24, Patrick and T_Minus like this.
  10. Cadal

    Cadal Member

    Joined:
    Jul 8, 2016
    Messages:
    32
    Likes Received:
    8
    It's good but coming from freenas I miss the gui for shares, zfs.

    (not a nutanix expert) Nutanix isn't that great in an aio scenario? Seems the erasure encoding is for 3 nodes for storage redundancy. I think the other one is capacity wasteful?

    Sent from my A0001 using Tapatalk
     
    #10
    Last edited: Apr 21, 2017
  11. msvirtualguy

    msvirtualguy Active Member

    Joined:
    Jan 23, 2013
    Messages:
    339
    Likes Received:
    149
    Hey now....if Wiredzone didn't screw up my order...i'd be building this out. The videos you need are on my Youtube channel msvirtualguy.

    I have to get my environment up which will not be until next week now, then i'll get with Patrick to see what we can do to provide a simple guide.
     
    #11
    Last edited: Apr 21, 2017
    T_Minus likes this.
  12. PigLover

    PigLover Moderator

    Joined:
    Jan 26, 2011
    Messages:
    2,442
    Likes Received:
    909
    @Patrick - Nice tutorial. I think you need to add a step in order to have Docker starts on reboot:

    sudo systemctl enable docker
     
    #12
    Patrick likes this.
  13. gea

    gea Well-Known Member

    Joined:
    Dec 31, 2010
    Messages:
    1,428
    Likes Received:
    411
    Napp-it on Linux does not use or modify any SAMBA settings.
    It does set the ZFS SMB share property on/off and if SAMBA is configured to honor this a share is enabled.
     
    #13
  14. gigatexal

    gigatexal I'm here to learn

    Joined:
    Nov 25, 2012
    Messages:
    1,835
    Likes Received:
    272
    Typo?

    7. You may also configure Proxmox to restart on boot:

    sudo systemctl enable docker
     
    #14
  15. mad1993max

    mad1993max New Member

    Joined:
    Jan 27, 2016
    Messages:
    17
    Likes Received:
    0
    I actually run this setup with napp-it just installed it via:

    Code:
    apt-get install -y samba-common samba nfs-kernel-server perl && cd /~ && wget -O - www.napp-it.org/nappit  | perl 
    be careful you have to run a line of code at the first startup of nappit, the installer displays it at the end, I forgot this the first time and was puzzled why it didn’t work

    i setup a con job to start nappit on boot with a 60 second delay:

    Code:
    @reboot sleep 60 && napp-it

    I am trying to figure out how to replace the default docker bridge with an existing ovs-switch from proxmox so fare not luck, because I need vlan and I couldn’t get vlan to work with docker-ovs
     
    #15
  16. Larry W.

    Larry W. New Member

    Joined:
    May 5, 2017
    Messages:
    1
    Likes Received:
    1
    Great article! I have three suggestions that I think will help:

    1. In step 2 change the pve-no-subscription to pvetest while this is still in beta. That will insure you are getting the latest updates.
    2. In step 5 add the option --restart always to the command so that on server reboot Portainer is started again.
    3. On step 7 change Proxmox to Docker, as it is Docker you are setting up to restart.
    Now if only the Proxmox people would integrate container management right into their GUI, would be the best solution.

    Thanks again for putting this together.
     
    #16
    Last edited: May 5, 2017
    Patrick likes this.
  17. dhettinger

    dhettinger New Member

    Joined:
    Apr 15, 2017
    Messages:
    2
    Likes Received:
    0
    Just checking but as far as setting up portainer within the zfs file system would "/rpool/data/portainer/data" be an ideal location? I just started using Proxmox and after looking at the zfs mount points felt it might be the best option.
     
    #17
  18. MiniKnight

    MiniKnight Well-Known Member

    Joined:
    Mar 30, 2012
    Messages:
    2,096
    Likes Received:
    539
    @dhettinger I use that. My rpool is a mirror so it is good enough.
     
    #18
  19. dhettinger

    dhettinger New Member

    Joined:
    Apr 15, 2017
    Messages:
    2
    Likes Received:
    0
    Thanks, I'm also using a mirror and just wanted the reassurance. =)
     
    #19
  20. K D

    K D Active Member

    Joined:
    Dec 24, 2016
    Messages:
    456
    Likes Received:
    104
    One thing I am wondering about. One universally accepted fact seems to be that ZFS will use as much memory as you throw at it and one way of improving zfs performance is to give it more RAM. In an All-In-One, when using a discrete VM for storage, you control how much memory is allocated to it and you can budget how much RAM you need for your other VMs.

    How does this work when ZFS is part of the the hypervisor itself? For example, This is an esxi config I have been running for a few weeks.
    1. 4GB - NAPP-IT
    2. 2GB - DC/DNS vm
    3. 2GB - pfsense
    4. 6GB - plex vm

    I have allocated 14GB of 16GB available in the host to the VMs. I know that the NAPP-IT VM cannot consume more than 4GB and there will never be a situation where any of the VMs starve for RAM.

    How will this work with a PROXMOX setup as decribed in this thread if the ZFS file system is integrated in the host itself? Is there a limit on the memory that the host can consume so that I can guarantee a fixed amount of RAM for the guests?
     
    #20

Share This Page