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
Copy file name to clipboardExpand all lines: docs/DOCKER.md
+17-27Lines changed: 17 additions & 27 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -12,33 +12,28 @@ Below is the guide especially for `Windows 10` as the `macOS` one is very easy a
12
12
13
13
1) In order to use Docker, disable `Hyper-v` on `Windows 10`:
14
14
15
-
```shell
16
-
bcdedit /set hypervisorlaunchtype off
17
-
```
15
+
`bcdedit /set hypervisorlaunchtype off`
18
16
19
-
In case you want to re-enable it after practice, here is the command:
17
+
In case you want to re-enable it after practice, here is the command:
20
18
21
-
```shell
22
-
bcdedit /set hypervisorlaunchtype auto
23
-
```
19
+
`bcdedit /set hypervisorlaunchtype auto`
24
20
25
21
2) Make sure the `Virtualization` is enabled on `Windows`. You can read [this](https://docs.docker.com/toolbox/toolbox_install_windows/) for reference.
26
22
27
23
3) After installing the Docker Toolbox, click the `Quick Start Terminal` on the desktop. If you have passed previous 2 steps, you will see a page for downloading one `boot2docker.iso` file. You can manually download and put it into `C:\Users\your_username\.docker\machine\cache` folder. (Copy the `boot2docker.iso` from the USB provided on the class)
28
24
29
25
4) You can close the `Quick Start Terminal` window, then use `cmd` (refer to `Build Docker image` section on this page). Run a command:
30
26
31
-
```shell
32
-
docker-machine ls
33
-
```
27
+
`docker-machine ls`
28
+
34
29
35
30
Then you should be able to see the default virtual machine.
36
31
37
32
5) Run `docker-machine env default`. It will show some information about your environment. Choose the last row and run it manually. Then you will be able to run Docker in your `cmd` window.
6)Remember the `IP address` in 2nd line as on `Windows`, you will use it to access the application you're deploying on Docker.
36
+
6)Remember the `IP address` in 2nd line as on `Windows`, you will use it to access the application you're deploying on Docker.
42
37
43
38
You cannot just use localhost to access the service. Use the IP instead. The reason is there is a boot2docker VM running by VMBox. Docker connect with the VM directly. The IP is for the VM.
44
39
@@ -203,7 +198,7 @@ You cannot just use localhost to access the service. Use the IP instead. The rea
203
198
204
199
###### Update `/Chatbot/docker/Dockerfile` with your Blockchain service URL - replace `your_block_chain_service` to actual one (refer to Blockchain practice)
0 commit comments