/zcash-docker

Zcash Docker image

Primary LanguageDockerfileGNU General Public License v3.0GPL-3.0

Forked from https://github.com/ZcashFR/zcash-docker

  • update to latest stable Zcash version v2.0.2
  • Zcash data volume

build

docker build -t jro7/zcash .

create volume first

docker volume create zcash-data

start zcash container and mount data volume

docker run -d \
    --name zcash \
    --mount source=zcash-data,target=/home/zcash \
    jro7/zcash

update zcash version

  1. pull latest zcash image docker pull jro7/zcash OR build latest version yourself
  2. stop running zcash container docker stop zcash
  3. remove zcash container docker rm zcash
  4. start again using above "start"

remove everything

  1. stop running zcash container docker stop zcash
  2. remove zcash container docker rm zcash
  3. remove zcash-data container docker volume rm zcash-data
  4. remove zcash image docker rmi jro7/zcash

docker docs on volume

https://docs.docker.com/storage/volumes/

--- TODO --- OLD DOCS

Docker Zcash Full Node v2.0.2

Official Zcash full node build from zcash source. Docker image based on debian stretch-slim.

Getting Started

Prerequisites

Install Docker on your computer.

Installing

To install zcash full node pull the latest image from Docker Hub

docker pull zcashfr/zcash

Create zcash container

docker run -d --name zcash zcashfr/zcash

Docker entrypoint is configure to run launch-zcashd.sh, this script download Zcash keys and after start zcashd service. At first start please wait until keys download is complete (~800MB) before using zcash-cli executable.

Usage

You can use all commands of official Zcash client, please refer to Zcash wiki.

Example of using zcash-cli to get information.

docker exec zcash zcash-cli getinfo

Built With

Contributing

Submit your Issues or Pull request on Github project

Authors

  • Fabrice Marchal - Initial work - Le_Bleu

License

This project is licensed under the GPL 3.0 License - see the LICENSE.md file for details