Docker 1.2 and CentOS 6.5

Hello. I wanted to test out Discourse on my local testing server (CentOS 6.5). Followed all the docs for the install but I’m having an issue with the Docker install. Basically, I can’t get the needed version of Docker to install even after I added the extra repos. Seems that only 1.1.2 will install and not the 1.2 that is needed to run Discourse.

So, I’m at a roadblock setting it up. Any idea how I can get the 1.2 version on my testing server? I even tried to download the 1.2 rpm and that gave me an issue installing.

Any help would be much appreciated.

What errors did you get when you ran wget -qO- | sh ?

Either your platform is not easily detectable, is not supported by this
installer script (yet - PRs welcome! [hack/]), or does not yet have
a package for Docker. Please visit the following URL for more detailed
installation instructions:

Before I was just trying to install docker from the docker site. So, I believe I was doing it wrong.

What I think I’m going to do is just create another VM with Ubuntu and then I’ll probably be able to follow the DigitalOcean install instructions much easier. I was just trying to add it to my existing CentOS testing server, but it looks like it might be easier to just create a new VM for Discourse on my machine.

Yep, I’d start from scratch if possible.

Did you have a look at the Docker docs here?

Yea, that’s what I used to install it on CentOS 6.5 It actually installed fine per those instructions. The problem was that it installed 1.1.2 and Discourse requires 1.2 +. No matter what extra repo I added I couldn’t get it to update to 1.2.

What happens if you hack the version check out of launcher? I don’t remember what required version 1.2, so…

I don’t have time to hack it to get it working… I run several sites and a few large forums. I just want to get a copy of Discourse working and see what it’s all about so I can decide if I want to migrate to Discourse.

I happen to use CentOS for everything, but setting up a VM for Ubuntu to get things working and moving along is not a problem.

I setup an Ubuntu VM but I’m getting this error when I try to start the app… it’s probably just something stupid.

WARNING: No swap limit support
cid found, ensuring container is started
Error response from daemon: Cannot start container f18324eb77a9993261839343f04df53334ee993283c0651cb596e83c9d94f6ee: Error starting userland proxy: listen tcp bind: address already in use
2014/10/22 14:39:06 Error: failed to start one or more containers

Uninstall Apache - the error you’re getting is because Apache is already installed and running on port 80.

1 Like

Thanks! I guess I should have looked at all the stuff when I installed Ubuntu. LOL! I appreciate the help!

Bingo! Works like a charm.

1 Like