Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 8b68b4b

Browse files
committed
add info about 'docker start' in image test README
1 parent 83d3c95 commit 8b68b4b

File tree

1 file changed

+15
-1
lines changed

1 file changed

+15
-1
lines changed

test/image/README.md

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
Test plotly.js with the Plotly Image-Server docker container.
44

5+
56
### Run the container
67

78
Inside your `plotly.js` directory, run
@@ -70,16 +71,29 @@ docker images
7071
docker ps -a
7172
```
7273

74+
whereas `docker ps` lists only the started containers.
75+
7376
### Stop container
7477

7578
```bash
7679
docker stop [container_id]
7780
```
7881

82+
### Start an existing container
83+
84+
`docker stop` does not delete the reference to the plotly/imageserver container
85+
that you have `docker run`. To start an existing container, get its id using
86+
`docker ps -a` and then
87+
88+
89+
```bash
90+
docker start [container_id]
91+
```
92+
7993
### Remove container
8094

8195
```bash
8296
docker rm [container_id]
8397
```
8498

85-
For more comprehensive information about docker, please refer to [docker document](http://docs.docker.com/)
99+
For more comprehensive information about docker, please refer to [docker docs](http://docs.docker.com/)

0 commit comments

Comments
 (0)