Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

invalid volume specification (windows) #15

Closed
ppkn opened this issue Apr 7, 2018 · 7 comments
Closed

invalid volume specification (windows) #15

ppkn opened this issue Apr 7, 2018 · 7 comments
Assignees

Comments

@ppkn
Copy link

ppkn commented Apr 7, 2018

Issue summary

When trying to run retro-contest run --agent $DOCKER_REGISTRY/simple-agent:v1 --results-dir results --no-nv Airstriker-Genesis Level1 I keep getting this error:

Internal Server Error ("invalid volume specification: 'C:\Users\Daniel\Development\rl\contest\results:/root/compo/results:rw'")

I don't have any docker experience so I'm not sure where to go from here. plz halp.

The full backtace

System information

  • Windows 10 Home (1709)
  • Python 3.5.3 (miniconda)
  • retro 0.5.3.dev11+g8a20c0f
@endrift endrift self-assigned this Apr 8, 2018
@ppkn
Copy link
Author

ppkn commented Apr 8, 2018

COMPOSE_CONVERT_WINDOWS_PATHS is set to 1 on my computer, but maybe there's a way to configure it in a dockerfile? I don't know. I'm just keeping my thoughts and progress down here.
https://docs.docker.com/compose/reference/envvars/#compose_convert_windows_paths

SO question that led me to COMPOSE_CONVERT_WINDOWS_PATHS: https://stackoverflow.com/questions/41602083/docker-toolbox-windows-invalid-volume-specification

@endrift
Copy link
Contributor

endrift commented Apr 8, 2018

You're running Win10 Home. What version of Docker are you running? I thought stock Docker for Windows required Hyper-V.

@ppkn
Copy link
Author

ppkn commented Apr 9, 2018

I'm using Docker Toolbox: https://docs.docker.com/toolbox/toolbox_install_windows/

endrift pushed a commit to openai/retro-contest that referenced this issue Apr 9, 2018
@endrift
Copy link
Contributor

endrift commented Apr 9, 2018

Please try cloning the docker-toolbox-fix branch of openai/retro-contest and installing that to see if it fixes the issue. I don't have a Windows installation with Docker on it at the moment.

@ppkn
Copy link
Author

ppkn commented Apr 9, 2018

So close...

FileNotFoundError: [Errno 2] No such file or directory: '/C/Users/Daniel/Development/rl/contest/results\\remote-stdout.txt'

@endrift
Copy link
Contributor

endrift commented Apr 9, 2018

Ok, update and try again.

@endrift
Copy link
Contributor

endrift commented Apr 9, 2018

Fixed, as per off-site communication.

@endrift endrift closed this as completed Apr 9, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants