# Errors when running rancher-compose on windows

**URL:** <https://forums.suse.com/t/errors-when-running-rancher-compose-on-windows/2423>\
**Category:** Rancher 1.x\
**Created:** [April 13, 2016, 1:42am UTC](https://forums.suse.com/t/errors-when-running-rancher-compose-on-windows/2423 "2016-04-13T01:42:47Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Eugene\_G](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/eugene_g/32/1206_2.png) [@Eugene\_G](https://forums.suse.com/u/Eugene_G)\
**Post date:** [April 13, 2016, 1:42am UTC](https://forums.suse.com/t/errors-when-running-rancher-compose-on-windows/2423/1 "2016-04-13T01:42:48Z")

</div>

Hey guys,

Sorry to bother you with a silly question, but I just can’t figure out how to use CLI tool.

I get these errors when I run `rancher-compose -p pewebsite up`

```auto
$ ./rancher-compose.exe --verbose -p pewebsite up
DEBU[0000] Environment Context from file : map[]
DEBU[0000] Opening compose file: docker-compose.yml
DEBU[0000] [0/0] [pewebsite]: Adding
DEBU[0000] Opening rancher-compose file: rancher-compose.yml
DEBU[0000] Looking for stack pewebsite
DEBU[0000] Found stack: pewebsite(1e4)
DEBU[0000] Launching action for pewebsite
DEBU[0000] Project [pewebsite]: Creating project
DEBU[0000] Finding service pewebsite
DEBU[0000] [0/1] [pewebsite]: Creating
INFO[0000] Creating service pewebsite
INFO[0000] Uploading build for pewebsite using provider S3
ERRO[0000] Failed Creating pewebsite : remove C:\Users\eugene\AppData\Local\Temp\105200467: The process cannot access the file because it is being used by another process.
DEBU[0000] Can't add file images\ground.png to tar: io: read/write on closed pipe
DEBU[0000] Can't add file images\logo.gif to tar: io: read/write on closed pipe
DEBU[0000] Can't add file images\logo.png to tar: io: read/write on closed pipe
DEBU[0000] Can't add file images\moon.png to tar: io: read/write on closed pipe
DEBU[0000] Can't add file images\pixelescape.ttf to tar: io: read/write on closed pipe
DEBU[0000] Can't add file images\slides to tar: io: read/write on closed pipe
DEBU[0000] Can't add file images\slides\slide1.png to tar: io: read/write on closed pipe
DEBU[0000] Can't add file images\slides\slide10.png to tar: io: read/write on closed pipe
DEBU[0000] Can't add file images\slides\slide2.png to tar: io: read/write on closed pipe
DEBU[0000] Can't add file images\slides\slide3.png to tar: io: read/write on closed pipe
DEBU[0000] Can't add file images\slides\slide4.png to tar: io: read/write on closed pipe
DEBU[0000] Can't add file images\slides\slide5.png to tar: io: read/write on closed pipe
DEBU[0000] Can't add file images\slides\slide6.png to tar: io: read/write on closed pipe
DEBU[0000] Can't add file images\slides\slide7.png to tar: io: read/write on closed pipe
DEBU[0000] Can't add file images\slides\slide8.png to tar: io: read/write on closed pipe
DEBU[0000] Can't add file images\slides\slide9.png to tar: io: read/write on closed pipe
DEBU[0000] Can't add file images\tiles to tar: io: read/write on closed pipe
DEBU[0000] Can't add file images\tiles\anim.gif to tar: io: read/write on closed pipe
DEBU[0000] Can't add file images\tiles\tiles-0.png to tar: io: read/write on closed pipe
DEBU[0000] Can't add file images\tiles\tiles-1.png to tar: io: read/write on closed pipe
DEBU[0000] Can't add file images\tiles\tiles-2.png to tar: io: read/write on closed pipe
DEBU[0000] Can't add file images\tiles\tiles-3.png to tar: io: read/write on closed pipe
DEBU[0000] Can't add file images\tiles\tiles-4.png to tar: io: read/write on closed pipe
DEBU[0000] Can't add file images\tiles\tiles-5.png to tar: io: read/write on closed pipe
DEBU[0000] Can't add file images\tiles\tiles-6.png to tar: io: read/write on closed pipe
DEBU[0000] Can't add file images\tiles\tiles-7.png to tar: io: read/write on closed pipe
DEBU[0000] Can't add file images\tiles\tiles-8.png to tar: io: read/write on closed pipe
DEBU[0000] Can't add file images\tiles\tiles-9.png to tar: io: read/write on closed pipe
DEBU[0000] Can't add file images\twitter.png to tar: io: read/write on closed pipe
DEBU[0000] Can't add file index.html to tar: io: read/write on closed pipe
DEBU[0000] Can't add file js to tar: io: read/write on closed pipe
DEBU[0000] Can't add file js\fader.js to tar: io: read/write on closed pipe
DEBU[0000] Can't add file press to tar: io: read/write on closed pipe
DEBU[0000] Can't add file press\css to tar: io: read/write on closed pipe
DEBU[0000] Can't add file press\css\bjqs.css to tar: io: read/write on closed pipe
DEBU[0000] Can't add file press\css\normalize.css to tar: io: read/write on closed pipe
DEBU[0000] Can't add file press\css\style.css to tar: io: read/write on closed pipe
DEBU[0000] Can't add file press\favicon.ico to tar: io: read/write on closed pipe
DEBU[0000] Can't add file press\images to tar: io: read/write on closed pipe
DEBU[0000] Can't add file press\images\header.png to tar: io: read/write on closed pipe
DEBU[0000] Can't add file press\index.html to tar: io: read/write on closed pipe
DEBU[0000] Can't add file press\js to tar: io: read/write on closed pipe
DEBU[0000] Can't add file press\js\bjqs-1.3.min.js to tar: io: read/write on closed pipe
DEBU[0000] Can't add file press\js\jquery-2.0.0.min.js to tar: io: read/write on closed pipe
DEBU[0000] Can't add file press\logos to tar: io: read/write on closed pipe
DEBU[0000] Can't add file press\logos\icon.png to tar: io: read/write on closed pipe
DEBU[0000] Can't add file press\logos\large_moon.png to tar: io: read/write on closed pipe
DEBU[0000] Can't add file press\logos\logo.gif to tar: io: read/write on closed pipe
DEBU[0000] Can't add file press\logos\logo.png to tar: io: read/write on closed pipe
DEBU[0000] Can't add file press\logos\pixelesc.gif to tar: io: read/write on closed pipe
DEBU[0000] Can't add file press\packs to tar: io: read/write on closed pipe
DEBU[0000] Can't add file press\packs\logos.zip to tar: io: read/write on closed pipe
DEBU[0000] Can't add file press\packs\photos.zip to tar: io: read/write on closed pipe
DEBU[0000] Can't add file press\packs\screens.zip to tar: io: read/write on closed pipe
DEBU[0000] Can't add file press\photos to tar: io: read/write on closed pipe
DEBU[0000] Can't add file press\photos\1.jpg to tar: io: read/write on closed pipe
DEBU[0000] Can't add file press\photos\3.jpg to tar: io: read/write on closed pipe
DEBU[0000] Can't add file press\photos\4.jpg to tar: io: read/write on closed pipe
DEBU[0000] Can't add file press\screens to tar: io: read/write on closed pipe
DEBU[0000] Can't add file press\screens\1.png to tar: io: read/write on closed pipe
DEBU[0000] Can't add file press\screens\10.png to tar: io: read/write on closed pipe
DEBU[0000] Can't add file press\screens\11.png to tar: io: read/write on closed pipe
DEBU[0000] Can't add file press\screens\12.png to tar: io: read/write on closed pipe
DEBU[0000] Can't add file press\screens\13.png to tar: io: read/write on closed pipe
DEBU[0000] Can't add file press\screens\14.png to tar: io: read/write on closed pipe
DEBU[0000] Can't add file press\screens\15.png to tar: io: read/write on closed pipe
DEBU[0000] Can't add file press\screens\16.png to tar: io: read/write on closed pipe
DEBU[0000] Can't add file press\screens\17.png to tar: io: read/write on closed pipe
DEBU[0000] Can't add file press\screens\18.png to tar: io: read/write on closed pipe
DEBU[0000] Can't add file press\screens\19.png to tar: io: read/write on closed pipe
DEBU[0000] Can't add file press\screens\2.png to tar: io: read/write on closed pipe
DEBU[0000] Can't add file press\screens\20.png to tar: io: read/write on closed pipe
DEBU[0000] Can't add file press\screens\21.png to tar: io: read/write on closed pipe
DEBU[0000] Can't add file press\screens\22.png to tar: io: read/write on closed pipe
DEBU[0000] Can't add file press\screens\23.png to tar: io: read/write on closed pipe
DEBU[0000] Can't add file press\screens\24.png to tar: io: read/write on closed pipe
DEBU[0000] Can't add file press\screens\25.png to tar: io: read/write on closed pipe
DEBU[0000] Can't add file press\screens\26.png to tar: io: read/write on closed pipe
DEBU[0000] Can't add file press\screens\3.png to tar: io: read/write on closed pipe
DEBU[0000] Can't add file press\screens\4.png to tar: io: read/write on closed pipe
DEBU[0000] Can't add file press\screens\5.png to tar: io: read/write on closed pipe
DEBU[0000] Can't add file press\screens\6.png to tar: io: read/write on closed pipe
DEBU[0000] Can't add file press\screens\7.png to tar: io: read/write on closed pipe
DEBU[0000] Can't add file press\screens\8.png to tar: io: read/write on closed pipe
DEBU[0000] Can't add file press\screens\9.png to tar: io: read/write on closed pipe
DEBU[0000] Can't add file press\video to tar: io: read/write on closed pipe
DEBU[0000] Can't add file press\video\trailer.mp4 to tar: io: read/write on closed pipe
DEBU[0000] Can't add file rancher-compose.exe to tar: io: read/write on closed pipe
DEBU[0000] Can't add file rancher-compose.yml to tar: io: read/write on closed pipe
DEBU[0000] Can't close tar writer: io: read/write on closed pipe
ERRO[0000] Failed to start: pewebsite : remove C:\Users\eugene\AppData\Local\Temp\105200467: The process cannot access the file because it is being used by another process.
FATA[0000] remove C:\Users\eugene\AppData\Local\Temp\105200467: The process cannot access the file because it is being used by another process.

```

`docker-compose.yml` :

```auto
pewebsite:
  build: .
  environment:
    VIRTUAL_HOST: "pewebsite.grisevg.com"

```

`rancher-compose.yml`:

```auto
pewebsite:
  scale: 1

```

`Dockerfile`:

```auto
FROM nginx
COPY . /usr/share/nginx/html

```

Everything is latest version: `docker` is `1.10.3` and `rancher-compose` is `0.7.3`

---

<div class="post-metadata">

**Author:** ![denise](https://avatars.discourse-cdn.com/v4/letter/d/82dd89/32.png) [@denise](https://forums.suse.com/u/denise)\
**Post date:** [April 13, 2016, 4:05am UTC](https://forums.suse.com/t/errors-when-running-rancher-compose-on-windows/2423/2 "2016-04-13T04:05:01Z")

</div>

Are you able to do a `rancher-compose up` without doing a build?

```auto
test1:
  image: ubuntu:14.04.3
  tty: true
  stdin_open: true

```

Also, another issue would be to remove the `COPY` line from the Dockerfile to see if that changes anything. It seems to indicate that it can’t access a file.

---

<div class="post-metadata">

**Author:** ![Eugene\_G](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/eugene_g/32/1206_2.png) [@Eugene\_G](https://forums.suse.com/u/Eugene_G)\
**Post date:** [April 14, 2016, 12:25am UTC](https://forums.suse.com/t/errors-when-running-rancher-compose-on-windows/2423/3 "2016-04-14T00:25:05Z")

</div>

> [@denise](#):
>
> image: ubuntu:14.04.3  
> tty: true  
> stdin\_open: true

Removing `COPY` didn’t help, but swapping `build .` for `image: ubuntu:14.04.3` worked.  
Does it mean that it’s only possible to deploy docker hub images?

---

<div class="post-metadata">

**Author:** ![denise](https://avatars.discourse-cdn.com/v4/letter/d/82dd89/32.png) [@denise](https://forums.suse.com/u/denise)\
**Post date:** [April 15, 2016, 5:48pm UTC](https://forums.suse.com/t/errors-when-running-rancher-compose-on-windows/2423/4 "2016-04-15T17:48:29Z")

</div>

No, we support building images into S3 on rancher-compose.

[http://docs.rancher.com/rancher/rancher-compose/build/](http://docs.rancher.com/rancher/rancher-compose/build/)

The only difference could be that I’m on a mac and you’re running on Windows. I’ve never seen this line before. I’ll try to get access to a Windows machine to reproduce.

```auto
ERRO[0000] Failed Creating pewebsite : remove C:\Users\eugene\AppData\Local\Temp\105200467: The process cannot access the file because it is being used by another process.

```

---

<div class="post-metadata">

**Author:** ![Eugene\_G](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/eugene_g/32/1206_2.png) [@Eugene\_G](https://forums.suse.com/u/Eugene_G)\
**Post date:** [April 23, 2016, 7:42am UTC](https://forums.suse.com/t/errors-when-running-rancher-compose-on-windows/2423/5 "2016-04-23T07:42:52Z")

</div>

@denise I’ve setup S3 credentials, but get same errors:

> INFO[0000] Creating service pewebsite  
> INFO[0000] Uploading build for pewebsite using provider S3  
> ERRO[0000] Failed Creating pewebsite : remove C:\Users\eugene\AppData\Local\Temp\663085971: The process cannot access the file because it is being used by another process.  
> ERRO[0000] Failed to start: pewebsite : remove C:\Users\eugene\AppData\Local\Temp\663085971: The process cannot access the file because it is being used by another process.  
> FATA[0000] remove C:\Users\eugene\AppData\Local\Temp\663085971: The process cannot access the file because it is being used by another process.

Any luck reproducing it?

I’ve also tried official example ([http://docs.rancher.com/rancher/rancher-compose/build/](http://docs.rancher.com/rancher/rancher-compose/build/)) and it gives the same error.

---

<div class="post-metadata">

**Author:** ![denise](https://avatars.discourse-cdn.com/v4/letter/d/82dd89/32.png) [@denise](https://forums.suse.com/u/denise)\
**Post date:** [May 6, 2016, 8:12pm UTC](https://forums.suse.com/t/errors-when-running-rancher-compose-on-windows/2423/6 "2016-05-06T20:12:21Z")

</div>

I don’t have easy access to a windows machine, but I am still hoping to try and reproduce it!
