# Falha ao executar docker-compose diretamente de /discourse-docker/image/base no Windows em Máquina Virtual

**URL:** <https://meta.discourse.org/t/fail-to-run-directly-docker-compose-from-discourse-docker-image-base-on-windows-in-virtual-machine/99443>\
**Category:** Self-hosting\
**Created:** [Outubro 13, 2018, 7:11pm UTC](https://meta.discourse.org/t/fail-to-run-directly-docker-compose-from-discourse-docker-image-base-on-windows-in-virtual-machine/99443 "2018-10-13T19:11:45Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![rodrigocipriani](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/rodrigocipriani/32/119477_2.png) [@rodrigocipriani](https://meta.discourse.org/u/rodrigocipriani)\
**Post date:** [Outubro 13, 2018, 7:11pm UTC](https://meta.discourse.org/t/fail-to-run-directly-docker-compose-from-discourse-docker-image-base-on-windows-in-virtual-machine/99443/1 "2018-10-13T19:11:45Z")

</div>

When I ran:

```plaintext
git clone https://github.com/discourse/discourse_docker.git discourse
cd discourse/image/base
docker-compose build -t discourse .

```

I got this message:

```plaintext
exec: "/bin/sh": stat /bin/sh: no such file or directory

```

On this step of Dockerfile:

```plaintext
RUN bash /tmp/install-nginx

```

When I add `RUN ls -la /tmp` before this step, I can confirm that this file exists.

After a lot of tries, I’ve tried this:

```plaintext
RUN bash /tmp/install-nginx

```

And it works! 🤔

It is do easy to fix and PR, but I think that may be something I did.

**What do you think?** Is it a bug, or my mistake?

Info:

```plaintext
Windows 10

docker --version
Docker version 18.02.0-ce, build fc4de447b5

docker-compose --version
docker-compose version 1.19.0, build 9e633ef3

git clone was did today 
October, 13 of 2018

```

---

_[View the full topic](https://meta.discourse.org/t/fail-to-run-directly-docker-compose-from-discourse-docker-image-base-on-windows-in-virtual-machine/99443)._
