The discussion revolves around installing Docker on a CentOS 7 VPS using OpenVZ, with users encountering issues due to OpenVZ’s limitations. rtainc reports an error when starting Docker, prompting advice that Docker is incompatible with OpenVZ nahtnam. Yassine_Yousfi seeks better solutions for running Docker on OpenVZ, but Falco recommends switching to KVM or using cloud providers for testing. rtainc considers switching to Ubuntu, while Yassine_Yousfi expresses concern about running Docker within a virtualized environment for long-term development. Falco suggests developing locally instead of using Docker for development. Lakuma provides a workaround link for running Docker inside OpenVZ containers, though it’s noted as unofficial.
Hi, I’ve been trying to install Discourse for a couple of hours now, and I decided to turn to the forums to see if anyone has had a similar problem and knows how to help.
I’ve installed Docker on my VPS with yum install docker and it successfully installed. Unfortunately if I start it (docker -d) I get Error initializing network controller: Error creating default "bridge" network: operation not supported. Is this due to OpenVZ restrictions or an outdated kernel? I hope that the minor kernel patches don’t affect the install as it cannot be updated with OpenVZ.
Thank you - I was looking for something similar. Unfortunately that is for Debian-based systems (with apt) so I’ll try and convert that to work on CentOS. Otherwise I’ll have to keep looking.
I have openVZ, but that solution you posted requires using Mandrill…Etc, and sounds more like a none official hack!
are there better solutions to run docker (obviously discourse) on my OpenVZ VPZ?
You can get a VPS free trial on AWS, Google Cloud, Azure. Or pay $0.015/hr on Digital Ocean. That way you test and see if you really like Discourse before commiting more money.
i like it already, and in fact the problem is not investing more money but rather, i would love to make it as a research project that i can clone and work on
i’ve built a forum for the last 2 years or so it was running, and it was based on PHP, now i want to take a step ahead, and upgrade the entire platform i use now (it’s a big step for me to take).
so mostly i will be developing the beta version on secondary domain, and testing with it till it’s 100% perfect before upgrading, i have tons of content and i don’t think i can try developing discourse on my VPS directly.
so maybe a workaround would be perfect for me. as the beta development will take about a year or so.
And btw i really hate the idea of running Discourse inside a OS (Doker) inside an OS (VPS) inside an actual OS! is it simply doesn’t make sense! (though i completely understand the idea behind that - according to discourse team-) but it wont work for me that way.
If you want to develop, run on your local machine. I have installed on my machine, and it’s crazy fast when everything is set up. Also you can try a change on your plugin and test it really fast. You should not use docker to do any development.
Also, Docker doesn’t do any virtualization (like VirtualBox), it’s just isolation. But that’s just off-topic.