-
Notifications
You must be signed in to change notification settings - Fork 6
Docker
Docker builds of cardano-node are available on Docker Hub. Every release is tagged using semantic versioning and pushed to Docker Hub. For instance, images for release 1.10.0 can be pulled from Docker Hub via:
$ docker pull inputoutput/cardano-node:1.10.0
or the latest development version can be pulled using:
$ docker pull inputoutput/cardano-node:master
Example configurations are available in the cardano-node repository:
configuration/
├── configuration.yaml
├── genesis.json
└── topology.json
You will need all the files in this directory.
Assuming you have created the configuration directory as a subdirectory, mount the volume and run the node. For example,
docker run -v `pwd`/configuration/defaults/mainnet:/configuration inputoutput/cardano-node:1.10.1
docker run -v `pwd`/configuration/defaults/liveview:/configuration inputoutput/cardano-node:1.11.0
CTRL+C
Ensure that you have Nix installed and the IOHK binary cache enabled
(instructions).
Then run this command from the cardano-node
git repository:
docker load -i $(nix-build -A dockerImage --no-out-link)
If you have no local changes, the build should be downloaded from the IOHK binary cache then loaded into the local Docker registry.
The cardano-node
wiki has moved. Please go to (https://github.com/input-output-hk/cardano-node-wiki/wiki) and look for the page there.