File tree Expand file tree Collapse file tree 1 file changed +29
-5
lines changed Expand file tree Collapse file tree 1 file changed +29
-5
lines changed Original file line number Diff line number Diff line change 5
5
The premier high-level javascript graphing library
6
6
7
7
8
-
9
-
10
8
## Test Plotly.js with Plot.ly Image-Server docker container
11
9
12
10
### Run container
@@ -15,14 +13,16 @@ Under your `plotly.js` folder, run
15
13
16
14
``` bash
17
15
$ docker run -d --name your_container_name \
18
- -v $PWD :/var/www/streambed/image_server/plotlyjs \
19
- -p 9010:9010 -p 2022:22 plotly/imageserver:[version]
16
+ -v $PWD :/var/www/streambed/image_server/plotly.js \
17
+ -p 9010:9010 -p 2022:22 plotly/imageserver:[version]
20
18
```
21
19
22
20
### Run the test
23
21
22
+ Under your ` plotly.js ` folder, run
23
+
24
24
``` bash
25
- $ docker exec -i your_container_name /bin/bash -c " cd /var/www/streambed/image_server/plotlyjs && npm run test-image"
25
+ npm run test-image
26
26
```
27
27
28
28
### SSH into docker
@@ -56,3 +56,27 @@ $ ssh-keygen -f "/home/jh/.ssh/known_hosts" -R [localhost]:2022
56
56
```
57
57
58
58
to remove host information.
59
+
60
+ ### list all images
61
+
62
+ ``` bash
63
+ docker images
64
+ ```
65
+
66
+ ### list all container
67
+
68
+ ``` bash
69
+ docker ps -a
70
+ ```
71
+
72
+ ### stop container
73
+
74
+ ``` bash
75
+ docker stop [container hash]
76
+ ```
77
+
78
+ ### remover container
79
+
80
+ ``` bash
81
+ docker rm [container hash]
82
+ ```
You can’t perform that action at this time.
0 commit comments