Cleaner Docker run command

added two flags to the docker run command to clean up the container after it has been run and also assign it a name to help manage it while it is running.
This commit is contained in:
Dave York
2021-06-19 12:09:03 -04:00
committed by GitHub
parent 2e1c0ae77a
commit 7dcd96350a

View File

@@ -482,7 +482,7 @@ docker pull hoppscotch/hoppscotch
docker build -t hoppscotch/hoppscotch:latest .
#run
docker run -p 3000:3000 hoppscotch/hoppscotch:latest
docker run --rm --name hoppscotch -p 3000:3000 hoppscotch/hoppscotch:latest
```
**Legacy container**   [![liyasthomas/postwoman](https://img.shields.io/docker/pulls/liyasthomas/postwoman?style=social)](https://hub.docker.com/r/liyasthomas/postwoman)