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

7 lines
187 B
Bash
Raw Normal View History

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