-
Notifications
You must be signed in to change notification settings - Fork 67
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 README.md #50
base: master
Are you sure you want to change the base?
Update README.md #50
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -32,6 +32,7 @@ listed on the TODO list. Suggestions and contributions are welcome. | |
* Windows 7+ (for now) | ||
* [Docker Machine](https://docs.docker.com/machine/) 0.5.0+ | ||
* [VMware Workstation](https://www.vmware.com/products/workstation) Workstation Free/Pro 10 + | ||
* WSL (Windows Subsystem for Linux) or Git Bash | ||
|
||
## Installation | ||
|
||
|
@@ -54,7 +55,7 @@ add it to your $PATH. | |
```none | ||
#!/bin/bash | ||
|
||
export PATH="$PATH:/mnt/c/Program Files (x86)/VMware/VMware Workstation" | ||
export PATH="$PATH:/mnt/c/Program Files (x86)/VMware/VMware Workstation" | ||
|
||
trap '[ "$?" -eq 0 ] || read -p "Looks like something went wrong in step ´$STEP´... Press any key to continue..."' EXIT | ||
|
||
|
@@ -71,7 +72,7 @@ add it to your $PATH. | |
exit 1 | ||
fi | ||
|
||
vmrun.exe list | grep \""${VM}"\" &> /dev/null | ||
vmrun.exe list | grep "${VM}" &> /dev/null | ||
VM_EXISTS_CODE=$? | ||
|
||
set -e | ||
|
@@ -141,6 +142,22 @@ add it to your $PATH. | |
|
||
## Usage | ||
|
||
Usage `WSL (Windows Subsystem for Linux)` can be perfect to run this scripts, otherwise you can only modify the script after using `Git Bash` to run. | ||
So you'd better install and use `WSL` to run scripts. | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I think this section is not that clear, maybe we can rephrase?
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. We can write two script files for There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Yeah, I know both, the main difference for this is just the mount path, that is all. It might be better to script the detection of the environment than to have 2 scripts. |
||
|
||
#### Three ways: | ||
1. `Win + R` Combination key, Open `Run` window. | ||
Enter & Run `bash` command. | ||
Enter & Run `C:\Program Files\Docker Toolbox\start.sh` in `bash` window. | ||
|
||
2. Change `export PATH="$PATH:/mnt/c/Program Files (x86)/VMware/VMware Workstation"` to `export PATH="$PATH:/c/Program Files (x86)/VMware/VMware Workstation"` in `start.sh`. | ||
Find `Docker Quickstart Terminal` on the desktop and double-click to run(need installed `Git Bash`). | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
could be better there, wdyt? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The better reason for There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. No, i meant change the text to
instead of
|
||
|
||
3. Change `export PATH="$PATH:/mnt/c/Program Files (x86)/VMware/VMware Workstation"` to `export PATH="$PATH:/c/Program Files (x86)/VMware/VMware Workstation"` in `C:\Program Files\Docker Toolbox\start.sh`. | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Both for 2. and 3. could we break the There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I dont really see the difference between 2. and 3. could you explain? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
|
||
Find `Git Bash` on the desktop and double-click to run. | ||
Enter `"C:\Program Files\Docker Toolbox\start.sh"` run in `Git Bash`. | ||
|
||
|
||
Official documentation for Docker Machine is available | ||
[here](https://docs.docker.com/machine/). | ||
|
||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This seems to be causing a break in the codeblock. Could you verify?