arrow_upward

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Docker on OpenVZ
#1
This might be kind of an unsual topic. I'm not sure if I should post this in support request or general discussion. Please feel free to move it if you feel it better placed elsewhere.

I recently rented a openvz vps. Normally I'd shy away from this, as I use docker to ease server config, and in my experience docker doesn't play well with openvz. However, this provider famously advertises on their page that their service supports docker... so I decide to give it a shot.

I've been using wordops as a control panel for docker, and usually it works great. Just like I was afraid though, as soon as I try to create my first site, docker starts throwing errors.

I sent a ticket to support, and we went through a few exchanges about error logs.

Eventually, what I figured out, is that the vps uses kernel 4.15.0 which does not support cgroups. Cgroups is necessary for docker to provision resources for and keep contained the services it runs. Docker itself will run, and the "hello world" docker runs with no issue, but docker fails at deploying the nginx proxy used to direct traffic between the containers.

After some googling, I found some interesting conflicting articles. Some state that docker requires cgroups to run; others state that there are workarounds. Most of these workarounds seem to be centered around getting docker to work on chromeOS, which isn't helpful. I tried a couple fixes including setting up cgroups.conf manually and another using umount. Both hit permissions fail.

So I guess what I'm wondering is if anyone has any experience in hacking a workaround in docker to make it work on openVZ? Some experience that will actually work? Or is this a hopeless endevour, and I should just close the service and ask for a refund. I've had this vps less than 2 days, and they have a full 7 day refund policy, so it's no issue to ask for a refund. I just want to make sure I explore all the options before I do.

The support was quick to respond, but gave up long before I did. Which I understand; you can't spend hours supporting a vps which costs 15$ a year; but maybe it can make a good topic for a forum like this.


Messages In This Thread
Docker on OpenVZ - by fitkoh - 09-25-2020, 11:46 PM
RE: Docker on OpenVZ - by phoenixwolf - 09-26-2020, 03:37 AM
RE: Docker on OpenVZ - by fChk - 09-26-2020, 04:47 AM
RE: Docker on OpenVZ - by fChk - 06-06-2021, 05:33 AM
RE: Docker on OpenVZ - by Mashiro - 09-26-2020, 07:19 AM
RE: Docker on OpenVZ - by fitkoh - 09-26-2020, 02:57 PM
RE: Docker on OpenVZ - by LightDestory - 09-26-2020, 09:16 PM
RE: Docker on OpenVZ - by fitkoh - 09-26-2020, 10:01 PM
RE: Docker on OpenVZ - by Mashiro - 09-27-2020, 07:59 AM
RE: Docker on OpenVZ - by fChk - 09-27-2020, 06:19 AM
RE: Docker on OpenVZ - by fitkoh - 09-27-2020, 08:32 AM
RE: Docker on OpenVZ - by Mashiro - 09-27-2020, 08:43 AM
RE: Docker on OpenVZ - by fitkoh - 09-28-2020, 04:07 AM

Possibly Related Threads…
Thread
Author
Replies
Views
Last Post
4,712
11-30-2019, 10:36 PM
Last Post: deanhills

person_pin_circle Users browsing this thread: 1 Guest(s)
Sponsors: VirMach - Host4Fun - CubeData - Evolution-Host - HostDare - Hyper Expert - Shadow Hosting - Bladenode - Hostlease - RackNerd - ReadyDedis - Limitless Hosting