ecliptica/d-scripts/rerun.sh
2024-12-08 11:50:39 +03:00

7 lines
178 B
Bash

#!/bin/sh
docker stop ms-mongo
docker volume remove ms_volume
docker volume create ms_volume
docker run --rm -v ms_volume:/data/db --name ms-mongo -p 27017:27017 -d mongo:8.0.3