[readme] Update readme docker run instructions

This commit is contained in:
Richard Huang 2020-05-30 14:13:25 -07:00
parent d870a52cd1
commit 0f784e94f8
No known key found for this signature in database
GPG key ID: FFDEF81D05C2EC94

View file

@ -6,7 +6,7 @@ A simple URL shortener made in Go
### Docker
Pull the image and run.
```
docker run -d --name gull -v /gull-data/:/app/data/ -p 8081:8081 aeolyus/gull:latest
docker run -d --name gull -v /gull-data/:/data/ -p 8081:8081 aeolyus/gull:latest
```
This will preserve any persistent data under `/gull-data/`. Change this as needed.