# (Re)Installing Discourse with Docker on CentOS 7

**URL:** <https://meta.discourse.org/t/re-installing-discourse-with-docker-on-centos-7/65359>\
**Category:** Self-hosting\
**Created:** [June 29, 2017, 8:17pm UTC](https://meta.discourse.org/t/re-installing-discourse-with-docker-on-centos-7/65359 "2017-06-29T20:17:07Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![c3iq](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/c3iq/32/74594_2.png) [@c3iq](https://meta.discourse.org/u/c3iq)\
**Post date:** [June 29, 2017, 8:17pm UTC](https://meta.discourse.org/t/re-installing-discourse-with-docker-on-centos-7/65359/1 "2017-06-29T20:17:07Z")

</div>

Hello,  
I’m trying to resurrect Discourse on a CentOS 7 VM. It’s been a couple of days and I’ve learnt a lot but…

I keep coming up against the same problem no matter what I try. I have just cleaned up Docker:

```
docker kill $(docker ps -q)
docker rm $(docker ps -a -q)
systemctl restart docker
docker rm d509f29962eb
docker rmi $(docker images -q -f dangling=true)
docker rmi $(docker images -q)

```

I removed /var/discourse and re-cloned it:

```
git clone https://github.com/discourse/discourse_docker.git discourse

```

Then ran ./discourse-setup which complained that “DISCOURSE\_SMTP\_USER\_NAME was left blank”

I ran (and get the same result everytime) ./launcher bootstrap app :

[Output from bootstrap](http://c3iq.co.uk/output.txt)

Any ideas what I have missed?

Best regards.

---

_[View the full topic](https://meta.discourse.org/t/re-installing-discourse-with-docker-on-centos-7/65359)._
