# Docker in VMWare - How to access to Discourse

**URL:** https://meta.discourse.org/t/docker-in-vmware-how-to-access-to-discourse/79211
**Category:** Self-hosting
**Created:** [January 28, 2018, 3:56pm UTC](https://meta.discourse.org/t/docker-in-vmware-how-to-access-to-discourse/79211 "2018-01-28T15:56:47Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![fredkgb](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/fredkgb/32/122407_2.png) [@fredkgb](https://meta.discourse.org/u/fredkgb)
#### Post date: [January 28, 2018, 3:56pm UTC](https://meta.discourse.org/t/docker-in-vmware-how-to-access-to-discourse/79211/1 "2018-01-28T15:56:47Z")

</div>

I installed and setuped Discourse with docker on Ubuntu 16.04 on VMware. But I don’t see the discourse homepage when I put my VM ip address in my browser.

---

<div class="post-metadata">

### Author: ![Mittineague](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mittineague/32/114259_2.png) [@Mittineague](https://meta.discourse.org/u/Mittineague)
#### Post date: [January 28, 2018, 6:49pm UTC](https://meta.discourse.org/t/docker-in-vmware-how-to-access-to-discourse/79211/2 "2018-01-28T18:49:00Z")

</div>

Hi fredkgb welcome to the forum

Installing and configuration isn’t one of my strong points, but hopefully this can be of some help.

I have Windows 10  
I installed VMware Player (free version not the paid)  
I created an Unbuntu 16.04 LTS guest  
I open the guest

 ![fredkgb1](https://global.discourse-cdn.com/meta/original/3X/3/c/3cb665cd72c415eccde7e26f4fd9045fa745ae7c.jpg)  
login  
 ![fredkgb2](https://global.discourse-cdn.com/meta/original/3X/0/6/064a76e2d428965fb269859516a77608c98837ff.png)  
Then I _very carefully_ followed this topic

> [@Install Discourse on Ubuntu or Debian for Development](https://meta.discourse.org/t/beginners-guide-to-install-discourse-on-ubuntu-for-development/14727):
>
> warning This guide covers installation instructions in a development environment. For a production guide see: [Install Discourse in production with the official supported instructions](https://meta.discourse.org/t/how-to-install-discourse-in-production/142537) So you want to set up Discourse on Ubuntu or Debian to hack on and develop with? We’ll assume that you work locally and don’t have Ruby/Rails/Postgres/Redis installed on your Ubuntu or Debian system. Let’s begin! Requirements We suggest having at least 4 GB RAM and 2 CPU cores. Current compatibility: O…

From within the guest, pointing the browser to “localhost” opens the forum

 ![fredkgb3](https://global.discourse-cdn.com/meta/original/3X/0/8/086d5f4bc1a5547ee53bac6656ca035c728f9441.png)

---

<div class="post-metadata">

### Author: ![fredkgb](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/fredkgb/32/122407_2.png) [@fredkgb](https://meta.discourse.org/u/fredkgb)
#### Post date: [January 29, 2018, 2:56am UTC](https://meta.discourse.org/t/docker-in-vmware-how-to-access-to-discourse/79211/3 "2018-01-29T02:56:27Z")

</div>

Thanks for you answer!

Sorry I wasnt really precise with me question. But I installed Ubuntu without GUI (command line). Now I want to access the discourse site from the main computer. Not in the VM.

I am able to do that ussually (I use a lot of VM for developping), but I think it’s the docker thing who prevent me to access Discourse.

---

<div class="post-metadata">

### Author: ![ssvenn](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/ssvenn/32/86740_2.png) [@ssvenn](https://meta.discourse.org/u/ssvenn)
#### Post date: [January 29, 2018, 4:05pm UTC](https://meta.discourse.org/t/docker-in-vmware-how-to-access-to-discourse/79211/4 "2018-01-29T16:05:17Z")

</div>

You can try some things inside the VM to figure out what works and what doesn’t

“docker ps” should give you a list of running containers like this, where the interesting part is the status, ports and bound IP address:

```
ssvenn@disco:~$ docker ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
a4a2d40e3539 local_discourse/app "/sbin/boot" 3 months ago Up 3 weeks 0.0.0.0:80->80/tcp, 0.0.0.0:443->443/tcp app

```

0.0.0.0 means it is bound to every IP on that server, if it only says 127.0.0.1 you are stuck connecting from localhost.  
Make sure the firewall is disabled in ubuntu or configured to let http and https through, and make sure the vmware player is configured to allow outside connections (usually this means bridged networking). Double check the ip address with “ip addr” on the commandline.

You can also test typing “curl localhost” on the commandline of the ubuntu VM to see if you actually have the app running correctly and responding to requests.

---

<div class="post-metadata">

### Author: ![fredkgb](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/fredkgb/32/122407_2.png) [@fredkgb](https://meta.discourse.org/u/fredkgb)
#### Post date: [January 29, 2018, 10:57pm UTC](https://meta.discourse.org/t/docker-in-vmware-how-to-access-to-discourse/79211/5 "2018-01-29T22:57:21Z")

</div>

Thanks! Will try this 🙂
