Build whitecoind from Dockerfile, Use docker container
docker build -t whitecoind:v0.4 .
docker run \
-itd \
--restart=always \
--privileged \
--name 0.4 \
-P \
-p 127.0.0.1:15815:15815 \
whitecoind:v0.4 \
/root/script/start_whitecoind
docker exec -it xwc_0.4 /bin/bash
docker run \
-itd \
--restart=always \
--privileged \
--name whitecoind \
-P \
-p 15814:15814 \
-v /root/.whitecoin-xwc:/root/.whitecoin-xwc \
whitecoind:v0.5
docker exec -it whitecoind /bin/bash