@@ -11,14 +11,48 @@ The premier high-level javascript graphing library
11
11
12
12
### Run container
13
13
14
+ Under your ` plotly.js ` folder, run
15
+
14
16
``` bash
15
17
$ 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 \
17
19
-p 9010:9010 -p 2022:22 plotly/imageserver:[version]
18
20
```
19
21
20
22
### Run the test
21
23
22
24
``` bash
23
25
$ 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