Update README-docker.md (#205)

This commit is contained in:
zmaplex authored and GitHub committed 2020-07-10 22:27:04 +08:00
1 parent 591f9ef614
commit c02db5a8f6
1 file changed
+2 -2
+2 -2
View File
@@ -5,7 +5,7 @@ This is a minimized image to run https://github.com/tindy2013/subconverter.
For running this docker, simply use the following commands:
```bash
# run the container detached, forward internal port 25500 to host port 25500
docker run -d -p 25500:25500 tindy2013/subconverter:latest
docker run -d --restart=always -p 25500:25500 tindy2013/subconverter:latest
# then check its status
curl http://localhost:25500
# if you see `subconverter vx.x.x backend` then the container is up and running
@@ -35,7 +35,7 @@ Save the content above to a `Dockerfile`, then run:
# build with this Dockerfile and tag it subconverter-custom
docker build -t subconverter-custom:latest .
# run the docker detached, forward internal port 25500 to host port 25500
docker run -d -p 25500:25500 subconverter-custom:latest
docker run -d --restart=always -p 25500:25500 subconverter-custom:latest
# then check its status
curl http://localhost:25500
# if you see `subconverter vx.x.x backend` then the container is up and running