Skip to content

Commit 1bb53f0

Browse files
committed
Update README.md
update the doc
1 parent d755422 commit 1bb53f0

File tree

1 file changed

+36
-2
lines changed

1 file changed

+36
-2
lines changed

README.md

Lines changed: 36 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,14 +11,48 @@ The premier high-level javascript graphing library
1111

1212
### Run container
1313

14+
Under your `plotly.js` folder, run
15+
1416
```bash
1517
$ docker run -d --name your_container_name \
16-
-v $PWD/plotlyjs:/var/www/streambed/image_server/plotlyjs \
18+
-v $PWD:/var/www/streambed/image_server/plotlyjs \
1719
-p 9010:9010 -p 2022:22 plotly/imageserver:[version]
1820
```
1921

2022
### Run the test
2123

2224
```bash
2325
$ docker exec -i your_container_name /bin/bash -c "cd /var/www/streambed/image_server/plotlyjs && npm run test-image"
24-
```
26+
```
27+
28+
### SSH into docker
29+
30+
```bash
31+
$ ssh -p 2022 root@localhost # with password `root`
32+
```
33+
34+
if you got error
35+
36+
```
37+
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
38+
@ WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! @
39+
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
40+
IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY!
41+
Someone could be eavesdropping on you right now (man-in-the-middle attack)!
42+
It is also possible that a host key has just been changed.
43+
The fingerprint for the ECDSA key sent by the remote host is
44+
dd:1e:e0:95:8d:ef:06:b8:0f:2f.
45+
Please contact your system administrator.
46+
Add correct host key in /home/jh/.ssh/known_hosts to get rid of this message.
47+
Offending ECDSA key in /home/jh/.ssh/known_hosts:104
48+
remove with: ssh-keygen -f "/home/jh/.ssh/known_hosts" -R [localhost]:2022
49+
ECDSA host key for [localhost]:2022 has changed and you have requested strict checking.
50+
Host key verification failed.
51+
```
52+
simply run
53+
54+
```bash
55+
$ ssh-keygen -f "/home/jh/.ssh/known_hosts" -R [localhost]:2022
56+
```
57+
58+
to remove host information.

0 commit comments

Comments
 (0)