Clone this repo:
git clone https://gist.github.com/c154596915071960ce3a09d8d8513b26.git
cd c154596915071960ce3a09d8d8513b26Pull DashCore reference image:
docker-compose pullStart the dashd process in the background:
docker-compose up -dNow stop the dashd process whenever:
docker-compose downYou can inspect the volume in another container to see the DashCore is shutting down gracefully. Let's use Ubuntu for that (note: you may have to search for the right volume name):
docker pull ubuntu:latest
docker run -it --rm --name tester -v c154596915071960ce3a09d8d8513b26_dashd-data:/data ubuntu:latest tail -n3 /data/.dashcore/debug.log