Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
These instructions require that you have Docker properly setup on your Windows computer:
docker volume create portainer_data
docker run -d -p 3040:9000 --name portainer --restart=always -v portainer_data:/data portainer/portainer --no-auth -H tcp://host.docker.internal:2375
docker volume create --name=bitcoind-data
docker run -v bitcoind-data:/bitcoin --name=bitcoind-node -d -p 18444:18444 -p bitcoindevelopernetwork/bitcoind-regtest
then, open Portainer on localhost:3040
then, open the console to write commmands
root@72c3bbef1ef6:~# pwd
root@72c3bbef1ef6:~# bitcoin-cli getblockhash 0
Visualization of script here:
Copy link

djangofan commented Nov 13, 2021


Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment