Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


New on LowEndTalk? Please Register and read our Community Rules.

All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.

Docker on OpenVZ 7 vs KVM

bustersgbustersg Veteran

I'm used to setup both Docker and Docker Compose on KVM to run WordPress etc.
There is a cheap OpenVZ 7 deal which I like to subscribe to and migrate existing WordPress docker over.

How difficult will it be to setup Docker on OpenVZ 7 vs KVM. Is running Docker more prone to errors vs KVM? When provider says is OpenVZ 7, does it means 100% Docker will run?

Comments

  • defaultdefault Veteran
    edited June 2020

    Docker can be installed in just a few commands on Linux. OpenVZ 7 should support it (if you have enough resources, such as RAM, just like in KVM).

    The big question is: why use Docker in the first place? You don't really need Docker for a Wordpress. Personally, I don't like Docker, but that's just my taste.

  • sanvitsanvit Member

    From my experiences hosts that uses OpenVZ7 does support docker, but some may require some kind of tweaking from the provider's side. Sometimes it requires a ticket as well. TBH it's best to ask the provider before purchasing

  • @sanvit said:
    From my experiences hosts that uses OpenVZ7 does support docker, but some may require some kind of tweaking from the provider's side. Sometimes it requires a ticket as well. TBH it's best to ask the provider before purchasing

    that's what i'm trying to avoid haha. oh well, maybe I KIV the cheap deal.

  • @default said:
    Docker can be installed in just a few commands on Linux. OpenVZ 7 should support it (if you have enough resources, such as RAM, just like in KVM).

    The big question is: why use Docker in the first place? You don't really need Docker for a Wordpress. Personally, I don't like Docker, but that's just my taste.

    personally i prefer plain LEMP for wordpress but i learning Docker so i use it for a purpose at least. i find it troublesome to reach out to configure nginx/ php config etc vs LEMP setup.

    Thanked by 1default
  • HostingbotHostingbot Member, Host Rep

    @default said:
    Docker can be installed in just a few commands on Linux. OpenVZ 7 should support it (if you have enough resources, such as RAM, just like in KVM).

    The big question is: why use Docker in the first place? You don't really need Docker for a Wordpress. Personally, I don't like Docker, but that's just my taste.

    a few commands is right, CentOS 7.6 installed Docker in 6 commands. 8 if you want specific stuff.

  • raindog308raindog308 Administrator, Veteran

    @Hostingbot said: CentOS 7.6 installed Docker in 6 commands

    Lame! Debian 10 does it in 5.

    apt install -y apt-transport-https ca-certificates wget gnupg2 software-properties-common 
    wget -O - https://download.docker.com/linux/debian/gpg | apt-key add
    echo "deb [arch=amd64] https://download.docker.com/linux/debian buster stable" > /etc/apt/sources.list.d/docker.list
    apt update
    apt install -y docker-ce docker-ce-cli docker-compose
    
  • Iroshan464Iroshan464 Member
    edited June 2020

    You can do it in 2. 😋

    curl -fsSL https://get.docker.com -o get-docker.sh
    sh get-docker.sh

Sign In or Register to comment.