# Docker 1.2 and CentOS 6.5

**URL:** https://meta.discourse.org/t/docker-1-2-and-centos-6-5/21380
**Category:** Self-hosting
**Created:** [October 21, 2014, 3:45pm UTC](https://meta.discourse.org/t/docker-1-2-and-centos-6-5/21380 "2014-10-21T15:45:03Z")
**Posts on this page:** 11
**Page:** 1

<div class="post-metadata">

### Author: ![jimmyk](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jimmyk/32/1973_2.png) [@jimmyk](https://meta.discourse.org/u/jimmyk)
#### Post date: [October 21, 2014, 3:45pm UTC](https://meta.discourse.org/t/docker-1-2-and-centos-6-5/21380/1 "2014-10-21T15:45:03Z")

</div>

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.

---

<div class="post-metadata">

### Author: ![lake54](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/lake54/32/121955_2.png) [@lake54](https://meta.discourse.org/u/lake54)
#### Post date: [October 21, 2014, 5:26pm UTC](https://meta.discourse.org/t/docker-1-2-and-centos-6-5/21380/2 "2014-10-21T17:26:42Z")

</div>

What errors did you get when you ran `wget -qO- https://get.docker.io/ | sh` ?

---

<div class="post-metadata">

### Author: ![jimmyk](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jimmyk/32/1973_2.png) [@jimmyk](https://meta.discourse.org/u/jimmyk)
#### Post date: [October 21, 2014, 7:52pm UTC](https://meta.discourse.org/t/docker-1-2-and-centos-6-5/21380/3 "2014-10-21T19:52:03Z")

</div>

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

> ```
> https://docs.docker.com/en/latest/installation/
> 
> ```

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.

---

<div class="post-metadata">

### Author: ![lake54](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/lake54/32/121955_2.png) [@lake54](https://meta.discourse.org/u/lake54)
#### Post date: [October 21, 2014, 7:53pm UTC](https://meta.discourse.org/t/docker-1-2-and-centos-6-5/21380/4 "2014-10-21T19:53:49Z")

</div>

Yep, I’d start from scratch if possible.

Did you have a look at the Docker docs [here](https://docs.docker.com/installation/centos/#installing-docker-centos-6)?

---

<div class="post-metadata">

### Author: ![jimmyk](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jimmyk/32/1973_2.png) [@jimmyk](https://meta.discourse.org/u/jimmyk)
#### Post date: [October 22, 2014, 1:06am UTC](https://meta.discourse.org/t/docker-1-2-and-centos-6-5/21380/5 "2014-10-22T01:06:17Z")

</div>

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.

---

<div class="post-metadata">

### Author: ![riking](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/riking/32/170938_2.png) [@riking](https://meta.discourse.org/u/riking)
#### Post date: [October 22, 2014, 1:14am UTC](https://meta.discourse.org/t/docker-1-2-and-centos-6-5/21380/6 "2014-10-22T01:14:47Z")

</div>

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

---

<div class="post-metadata">

### Author: ![jimmyk](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jimmyk/32/1973_2.png) [@jimmyk](https://meta.discourse.org/u/jimmyk)
#### Post date: [October 22, 2014, 1:18am UTC](https://meta.discourse.org/t/docker-1-2-and-centos-6-5/21380/7 "2014-10-22T01:18:58Z")

</div>

> [@riking](#):
>
> 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.

---

<div class="post-metadata">

### Author: ![jimmyk](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jimmyk/32/1973_2.png) [@jimmyk](https://meta.discourse.org/u/jimmyk)
#### Post date: [October 22, 2014, 6:41pm UTC](https://meta.discourse.org/t/docker-1-2-and-centos-6-5/21380/9 "2014-10-22T18:41:10Z")

</div>

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 0.0.0.0:80: bind: address already in use  
> 2014/10/22 14:39:06 Error: failed to start one or more containers

---

<div class="post-metadata">

### Author: ![lake54](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/lake54/32/121955_2.png) [@lake54](https://meta.discourse.org/u/lake54)
#### Post date: [October 22, 2014, 6:42pm UTC](https://meta.discourse.org/t/docker-1-2-and-centos-6-5/21380/10 "2014-10-22T18:42:52Z")

</div>

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

---

<div class="post-metadata">

### Author: ![jimmyk](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jimmyk/32/1973_2.png) [@jimmyk](https://meta.discourse.org/u/jimmyk)
#### Post date: [October 22, 2014, 6:44pm UTC](https://meta.discourse.org/t/docker-1-2-and-centos-6-5/21380/11 "2014-10-22T18:44:05Z")

</div>

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

---

<div class="post-metadata">

### Author: ![jimmyk](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jimmyk/32/1973_2.png) [@jimmyk](https://meta.discourse.org/u/jimmyk)
#### Post date: [October 22, 2014, 6:54pm UTC](https://meta.discourse.org/t/docker-1-2-and-centos-6-5/21380/12 "2014-10-22T18:54:44Z")

</div>

Bingo! Works like a charm.
