ForkCoreWeaveCoreWeavepublished Apr 24, 2021seen 6d

coreweave/chia-docker

forked from Chia-Network/chia-docker

Open original ↗

Captured source

source ↗
published Apr 24, 2021seen 6dcaptured 8hhttp 200method plain

coreweave/chia-docker

Stars: 0

Forks: 0

Open issues: 0

Created: 2021-04-24T19:14:55Z

Pushed: 2021-04-23T06:04:06Z

Default branch: main

Fork: yes

Parent repository: Chia-Network/chia-docker

Archived: yes

README:

Official Chia Docker Container

Basic Startup

docker run --name -d ghcr.io/chia-network/chia:latest
(optional -v /path/to/plots:plots)

Configuration

You can modify the behavior of your Chia container by setting specific environment variables.

To use your own keys pass as arguments on startup (post 1.0.2 pre 1.0.2 must manually pass as shown below)

-v /path/to/key/file:/path/in/container -e keys="/path/in/container"

or pass keys into the running container

docker exec -it venv/bin/chia keys add

alternatively you can pass in your local keychain, if you have previously deployed chia with these keys on the host machine

-v ~/.local/share/python_keyring/:/root/.local/share/python_keyring/

To start a farmer only node pass

-e farmer="true"

To start a harvester only node pass

-e harvester="true" -e farmer_address="addres.of.farmer" -e farmer_port="portnumber"

or run commands externally with venv (this works for most chia XYZ commands)

docker exec -it chia venv/bin/chia plots add -d /plots

status from outside the container

docker exec -it chia venv/bin/chia show -s -c

Connect to testnet?

docker run -d --expose=58444 --expose=8555 -e testnet=true --name ghcr.io/chia-network/chia:latest

Need a wallet?

docker exec -it chia-farmer1 venv/bin/chia wallet show (follow the prompts)

Excerpt shown — open the source for the full document.