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:
parent
2e1c0ae77a
commit
7dcd96350a
1 changed files with 1 additions and 1 deletions
|
|
@ -482,7 +482,7 @@ docker pull hoppscotch/hoppscotch
|
||||||
docker build -t hoppscotch/hoppscotch:latest .
|
docker build -t hoppscotch/hoppscotch:latest .
|
||||||
|
|
||||||
#run
|
#run
|
||||||
docker run -p 3000:3000 hoppscotch/hoppscotch:latest
|
docker run --rm --name hoppscotch -p 3000:3000 hoppscotch/hoppscotch:latest
|
||||||
```
|
```
|
||||||
|
|
||||||
**Legacy container** [](https://hub.docker.com/r/liyasthomas/postwoman)
|
**Legacy container** [](https://hub.docker.com/r/liyasthomas/postwoman)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue