# 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:** 2

<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, 9:48pm UTC](https://meta.discourse.org/t/fail-to-run-directly-docker-compose-from-discourse-docker-image-base-on-windows-in-virtual-machine/99443/2 "2018-10-13T21:48:22Z")

</div>

While I was doing a looot of tests, I figured out that if I add this:

```plaintext
RUN sed 's/\r//g' /tmp/install-nginx > /tmp/install-nginx

```

Before this:

```plaintext
RUN /tmp/install-nginx

```

Everything works fine! 😆 . I think problem is breaklines in Windows are different from Linux, and it was causing the problem.

Ps.:  
When I said that work well with this `RUN bash /tmp/install-nginx` was my mistake, because this step was failed.

But the question continues… Is it a bug, or still it my mistake? 🤔

---

_[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)._
