mirror of
https://github.com/asdlokj1qpi233/subconverter.git
synced 2026-11-01 17:25:02 +00:00
Update README-docker.md (#205)
This commit is contained in:
1 parent
591f9ef614
commit
c02db5a8f6
1 file changed
+2
-2
+2
-2
@@ -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
|
||||
|
||||
Reference in new issue
Block a user