You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
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.
The text was updated successfully, but these errors were encountered:
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
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 incmd
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.
The text was updated successfully, but these errors were encountered: