- Docker
- Docker Compose for running locally.
From this (docker
) directory
docker build .. -f ./Dockerfile
docker-compose build hubble
From this (docker
) directory:
mkdir -p testData/dev-chain
docker-compose up -d geth
Complete the setup steps in Local Development Setup.
At steps in the setup instructions where it asks you to attach to geth, you can instead:
geth attach ./testData/dev-chain/geth.ipc
Finally, copy over genesis.json
.
cp ../genesis.json ./genesis.json
From this (docker
) directory:
docker-compose up -d geth # make sure geth container is running in background
sleep 10 # wait for geth to spin up
docker-compose up hubble
You can check all docker container statuses with:
docker ps -a
If geth or hubble is failing to startup, you can inspect the logs with:
docker logs geth
docker logs hubble