Skip to content

Latest commit

 

History

History
68 lines (47 loc) · 1.12 KB

README.md

File metadata and controls

68 lines (47 loc) · 1.12 KB

Docker Image

Deps

Build

From this (docker) directory

docker

docker build .. -f ./Dockerfile

docker-compose

docker-compose build hubble

Run

setup geth node

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

run hubble node

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 

Troubleshooting

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