Commit 8014f67b authored by max's avatar max

Update README.md

parent 5c738245
......@@ -68,10 +68,13 @@ services:
- /path/to/music:/data/music:rw
```
Commands
- ```docker-compose pull``` to pull the latest image
To run the container ```docker-compose up -d```
Updating the container
- ```docker-compose pull``` to pull the latest image as specified in the compose file
- ```docker-compose up -d``` to create the container and detach from the screen
- ```docker-compose down``` to stop and remove the container (does not mean your data is gone, assuming you have mounted your /config volume)
- ```docker image prune``` to cleanup unused images
### **Without Docker Compose**
......@@ -108,6 +111,12 @@ docker run -d \
shiomax/jrivermc25
```
Updating the container
- ```docker pull shiomax/jrivermc25:latest``` pull a new image with tag latest
- ```docker rm -f jrivermc25``` stop and remove the container with name jrivermc25
- ```docker run -d ....``` rerun the entier run command you ran to initially create the container
- ```docker image prune``` to cleanup unused images
# Image Tags
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment