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

$HOME and $pwd Do Not Work in Windows 10 Enterprise and cmd #3

Open
gkapfham opened this issue Sep 18, 2019 · 1 comment
Open

$HOME and $pwd Do Not Work in Windows 10 Enterprise and cmd #3

gkapfham opened this issue Sep 18, 2019 · 1 comment
Assignees
Labels
documentation Improvements or additions to documentation

Comments

@gkapfham
Copy link
Contributor

When I have previously tried to use variables like $HOME and $pwd as mentioned in the documentation, my experience is that they do not work correctly when you are running the suggested Docker commands in cmd on Windows 10 Pro and Windows 10 Enterprise.

With that said, I have not had enough time to test this extensively and on all of the different shells and combinations of Windows-based operating system and shell.

Since I did not want to forget this concern, I thought to raise the issue now and to start a conversation about how it might be possible for us to write those commands in a more general fashion. Or, do we also need to provide example Windows commands that will work and instead use variables like %cd%? Here is a reference:

https://stackoverflow.com/questions/921741/windows-equivalent-to-unix-pwd

Okay, let me know what you think @Michionlion! I'm glad to update the documentation in a PR if we can identify a general-purpose way to write the documentation commands that work either for MacOS and Linux or Windows 10 Pro and Windows 10 Enterprise.

@gkapfham gkapfham added the documentation Improvements or additions to documentation label Sep 18, 2019
@gkapfham gkapfham changed the title Using $HOME and $pwd Does Not Work in Windows 10 Enterprise and cmd $HOME and $pwd Do Not Work in Windows 10 Enterprise and cmd Sep 18, 2019
@Michionlion
Copy link
Member

I think it may be best to require use of PowerShell -- this is what Docker themselves encourage.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

2 participants