- NVM or NodeJS
v14.17.6
- Docker
v20.10.8
- Yarn
v1.22.10
- Build Docker image
docker build . -t hardhat
- Run Docker image
# !NOTE: Double check no other programs are using that port 8545
docker run -it -d -p 8545:8545 --name hardhat hardhat
- Verify that container is running
docker logs --follow hardhat
# Should see an output of wallet addresses and private keys
Voilà!
Don't forget to delete your container when you're done.
docker rm -f hardhat