red-coder-bh/d-scripts/rerun.sh

7 lines
191 B
Bash
Raw Permalink Normal View History

2022-04-16 22:58:32 +03:00
#!/bin/sh
docker stop $(docker ps -q)
2022-06-26 20:45:52 +03:00
docker volume remove red_coder_volume
docker volume create red_coder_volume
docker run --rm -v red_coder_volume:/data/db -p 27017:27017 -d mongo:4.4.13