This repository maintains the Decred wallet Dockerfile for Docker.
The repo automatically builds and publishes the docker image to the Docker Hub Registry.
-
Install Docker.
-
Run Decred Daemon local or on another machine. Follow Decred dcrd setup guide to configure RPC credentials.
-
Download automated build from public Docker Hub Registry:
docker pull reiuiji/dcrwallet
(alternatively, you can build an image from Dockerfile)
To build this docker container run the following commands after you edited the dcrwallet.conf file
docker build -t="reiuiji/dcrwallet" github.com/reiuiji/dcrwallet
This docker image can either be configured before build or attach the config.
docker cp /path/to/your/dcrwallet.conf:/data/dcrwallet.conf
docker run -d --name="dcrwallet" reiuiji/dcrwallet
docker run -d -p 9110:9110 -name dcrwallet reiuiji/dcrwallet
NOTE: Exposing your docker ports can be vary bad, make sure your RPC credentials are strong(32+).
docker run -d -p 9110:9110 -name dcrwallet -v /path/to/your/dcrwallet.conf:data/dcrwallet.conf reiuiji/dcrwallet
docker run -d --name="dcrwallet" -v /path/to/your/.dcrwallet/data:/data reiuiji/dcrwallet
NOTE: Make sure the directory on your system have the dcrwallet.conf
file
To check if dcrwallet
is working you can check the docker logs
docker logs dcrwallet
If you need to close down the docker container you can run the following:
docker kill --signal=SIGINT dcrwallet
NOTE: sending a SIGINT (crtl+c) will have dcrwallet
shutdown safely
This code is under the MIT License.
If you like this and want to see more, please donate :)
DsXSh151DsJpEA8mrAW5gCfVVqNCK8vQAss