Commit 27dec3faa0b06f6ead073b0fd3b885f3f617c506
Committed by
GitHub
1 parent
f875bcd6
Update README.md
Showing
1 changed file
with
12 additions
and
14 deletions
... | ... | @@ -25,20 +25,18 @@ Where: |
25 | 25 | - `-v ~/.mytb-data:/data` - mounts the host's dir `~/.mytb-data` to ThingsBoard DataBase data directory |
26 | 26 | - `--name mytb` - friendly local name of this machine |
27 | 27 | - `thingsboard/tb` - docker image, can be also `thingsboard/tb-postgres` or `thingsboard/tb-cassandra` |
28 | -- **NOTE**: **Windows** users should use docker managed volume instead of host's dir. Create docker volume (for ex. `mytb-data`) before executing `docker run` command: | |
29 | - | |
30 | - ``` | |
31 | - $ docker create volume mytb-data | |
32 | - ``` | |
33 | - | |
34 | - After you can execute docker run command using `mytb-data` volume instead of `~/.mytb-data`. | |
35 | - | |
36 | - In order to get access to necessary resources from external IP/Host on **Windows** machine, please execute the following commands: | |
37 | - ``` | |
38 | - $ VBoxManage controlvm "default" natpf1 "tcp-port9090,tcp,,9090,,9090" | |
39 | - $ VBoxManage controlvm "default" natpf1 "tcp-port1883,tcp,,1883,,1883" | |
40 | - $ VBoxManage controlvm "default" natpf1 "tcp-port5683,tcp,,5683,,5683" | |
41 | - ``` | |
28 | + | |
29 | +> **NOTE**: **Windows** users should use docker managed volume instead of host's dir. Create docker volume (for ex. `mytb-data`) before executing `docker run` command: | |
30 | +> ``` | |
31 | +> $ docker create volume mytb-data | |
32 | +> ``` | |
33 | +> After you can execute docker run command using `mytb-data` volume instead of `~/.mytb-data`. | |
34 | +> In order to get access to necessary resources from external IP/Host on **Windows** machine, please execute the following commands: | |
35 | +> ``` | |
36 | +> $ VBoxManage controlvm "default" natpf1 "tcp-port9090,tcp,,9090,,9090" | |
37 | +> $ VBoxManage controlvm "default" natpf1 "tcp-port1883,tcp,,1883,,1883" | |
38 | +> $ VBoxManage controlvm "default" natpf1 "tcp-port5683,tcp,,5683,,5683" | |
39 | +> ``` | |
42 | 40 | |
43 | 41 | After executing `docker run` command you can open `http://{your-host-ip}:9090` in you browser (for ex. `http://localhost:9090`). You should see ThingsBoard login page. |
44 | 42 | Use the following default credentials: | ... | ... |