# Error with DVC run in windows docker container

**URL:** <https://discuss.dvc.org/t/error-with-dvc-run-in-windows-docker-container/530>\
**Category:** Questions\
**Created:** [October 16, 2020, 1:18pm UTC](https://discuss.dvc.org/t/error-with-dvc-run-in-windows-docker-container/530 "2020-10-16T13:18:25Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![j.carlo](https://avatars.discourse-cdn.com/v4/letter/j/5daacb/32.png) [@j.carlo](https://discuss.dvc.org/u/j.carlo)\
**Post date:** [October 16, 2020, 1:18pm UTC](https://discuss.dvc.org/t/error-with-dvc-run-in-windows-docker-container/530/1 "2020-10-16T13:18:25Z")

</div>

Hi everyone,

I am currently getting an error when running:

`dvc run -n prepare -d ./data/raw -d ./scripts/prepare.py -o ./data/seed-detection/interim -o ./data/seed-detection/processed --no-commit python3 scripts/prep are.py --config config/config.yaml`

The error I get is:

`ERROR: unexpected error - disk I/O error`

I’m running this inside a container on windows where my cwd is a mounted volume.

The strange thing is, when I only run the command without using DVC it runs fine, so the problem lies with DVC. Running with `--no-exec` option also fails.

Currently only workaround I can think of is manually making `dvc.yaml`, then execute the command by itself and then commit DVC. However, I would not want to do this every time I want to run the stage.

I’m using Python 3.6.9 on Linux-4.19.76-linuxkit-x86\_64-with-Ubuntu-18.04-bionic

Thanks in advance!

---

<div class="post-metadata">

**Author:** ![jorgeorpinel](https://yyz1.discourse-cdn.com/flex035/user_avatar/discuss.dvc.org/jorgeorpinel/32/46_2.png) [@jorgeorpinel](https://discuss.dvc.org/u/jorgeorpinel)\
**Post date:** [October 16, 2020, 10:56pm UTC](https://discuss.dvc.org/t/error-with-dvc-run-in-windows-docker-container/530/2 "2020-10-16T22:56:29Z")

</div>

Hey Joseph,

> [@j.carlo](#):
>
> The error I get is:
> 
> ERROR: unexpected error - disk I/O error

Strange, definitely not a very informative error message 🤔. We’d need to see the verbose output (adding `-v` to the `dvc run` command) for inspection.

But first, please try wrapping your command with `"` since it has `--` options of itself:

```console
$ dvc run -n prepare ... --no-commit "python3 scripts/prepare.py --config config/config.yaml"

```

(It may be a parser error.) If that doesn’t work, please add `-v` as well and share the full output. Thanks
