Docker support in Proxmox

Discussion in 'Proxmox VE: Installation and configuration' started by aik.fiend, May 19, 2016.

  1. Norman Uittenbogaart

    Joined:
    Feb 28, 2012
    Messages:
    146
    Likes Received:
    4
    There is a definite plus to docker compared to normal container/vm technology.
    Compared to normal package management, you can take a docker storage and move it to any server and install a new container and its up & running with the latest versions.
    Reinstalling a server is just taking the container down pulling a new version in and starting back up.
    This is not as easily done with a VM / container.
     
  2. manu

    manu Proxmox Staff Member

    Joined:
    Mar 3, 2015
    Messages:
    806
    Likes Received:
    63
    As LnxBill said previously, PVE provides IAAS, which mean the end unit you manage with PVE are *virtualized OSs*, with a state.
    With Docker the end unit you manage is *a stateless applications* which is a different scope.
    Both LXC and Docker are both called *Containers* because they use the same Linux Kernel features (cgroups) but for a difference purpose,

    Thus the proper way to use to get the power of both is do install a docker swarm on top of a group of VM.
    Then using PVE features ( cluster manager, ceph, etc ... ) your docker hosts are higly available, and using the docker daemon running inside your VMs, your stateless applications are easily deployable.

    In fact I presume most if not all of the big docker deployments are taking place on top of VMs, which is the approach recommended by
    Docker themselves with their Docker Machine https://docs.docker.com/machine/overview/
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
    Sidiox and mhubig like this.
  3. dlasher

    dlasher Member

    Joined:
    Mar 23, 2011
    Messages:
    107
    Likes Received:
    5
    interesting addition to this discussion :https://github.com/gotoz/runq/

    ---------------

    runq
    runq is a hypervisor-based Docker runtime based on runc to run regular Docker images in a lightweight KVM/Qemu virtual machine. The focus is on solving real problems, not on number of features.

    Key differences to other hypervisor-based runtimes:

    • minimalistic design, small code base
    • no modification to existing Docker tools (dockerd, containerd, runc...)
    • coexistence of runq containers and regular runc containers
    • no extra state outside of Docker (no libvirt, no changes to /var/run/...)
    • simple init daemon, no systemd, no busybox
    • no custom guest kernel or custom qemu needed
    • runs on x86_64 and s390x
     
  4. Rhinox

    Rhinox Active Member

    Joined:
    Sep 28, 2016
    Messages:
    272
    Likes Received:
    35
  5. dlasher

    dlasher Member

    Joined:
    Mar 23, 2011
    Messages:
    107
    Likes Received:
    5
    Fantastic.. I've been watching his updates for a while.. been tempted to try it.
     
  6. ibasaw

    ibasaw Member

    Joined:
    Jan 4, 2014
    Messages:
    39
    Likes Received:
    0
  7. morph027

    morph027 Active Member

    Joined:
    Mar 22, 2013
    Messages:
    413
    Likes Received:
    51
  8. Alibek

    Alibek Member

    Joined:
    Jan 13, 2017
    Messages:
    66
    Likes Received:
    5
    arnaudd and eXtremeSHOk like this.
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice