Creating the environment

The following steps need to be executed just once

1. Clone or download Bitcoin Core

git clone

2. Clone or download Bitcoin Development Environment

git clone

3. Build the docker images

cd bitcoin-devenv

docker-compose -f docker-compose.yml -f bitcoin/ build

(It will take a while)

4. Start the docker container

docker-compose -f docker-compose.yml -f bitcoin/ up -d

Building the software

5. Connect to the docker (guest) container

docker exec -it bash

6. Build Bitcoin Core

Inside the guest container:

cd /projects/bitcoin

cd depends

To build for 64 bits:

make HOST=x86_64-w64-mingw32

cd ..

./ # not required when building from tarball

CONFIG_SITE=$PWD/depends/x86_64-w64-mingw32/share/ ./configure --prefix=/


Detailed build instructions at Bitcoin Core - WINDOWS BUILD NOTES

Extra commands

To check the container status (from the host machine):

docker ps

To stop it:

docker stop

To bring it to life again:

docker start

To destroy the container and free the corresponding resources:

docker stop

docker rm

To rebuild the container and start everything again, go to step 4