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

Update Docker install instructions $PWD containing spaces #322

Merged
merged 1 commit into from
Jan 4, 2017

Conversation

bmedici
Copy link
Contributor

@bmedici bmedici commented Jan 2, 2017

When current dir contains spaces,
-v $PWD/config:/etc/api-umbrella
won't expand correctly and command fails, as $PWD is not necessary in Docker command, we can just forget about it.

When current dir contains spaces,
-v $PWD/config:/etc/api-umbrella
won't expand correctly and command fails, as $PWD is not necessary in Docker command, we can just forget about it.
@GUI GUI merged commit 84ff6e3 into NREL:master Jan 4, 2017
@GUI
Copy link
Member

GUI commented Jan 4, 2017

Thank you!

GUI added a commit that referenced this pull request Jan 4, 2017
@GUI
Copy link
Member

GUI commented Jan 4, 2017

I actually made some further tweaks to this in bdb6c10 to quote the path instead. I think using the pwd is actually necessary, otherwise Docker will use another volume that's already named config. I happened to have an unrelated volume named "config," so without the PWD reference, it started mounting that one instead. But I believe by quoting the value, that should solve any issues with spaces. But let us know if you're still seeing any issues.

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

Successfully merging this pull request may close these issues.

2 participants