The RSK network is the Smart Contract platform of Bitcoin, it offers the same capabilities of Ethereum, but the gas is paid with Bitcoin.
When your application needs to interact with the network by publishing or calling a Smart Contract you need a node synchronized. This video of the series explains how to install a node on Docker.
The video is closed captioned, and bellow you will find the step by step easy to copy and paste.
Navigate to the RSK Artifacts page and download
the supervisord.conf and the Dockerfile corresponding to the desired environment.
Open a Terminal and navigate where the
downloaded files are placed and run the following command to build the image:
docker build -t mainnet -f Dockerfile.MainNet .
docker build -t testnet -f Dockerfile.TestNet .
docker build -t regtest -f Dockerfile.RegTest .
Run the container by executing the following command, depending on the network selected before:
docker run -d --name mainnet-node-01 -p 4444:4444 -p 5050:5050 mainnet
docker run -d --name testnet-node-01 -p 4444:4444 -p 50505:50505 testnet
docker run -d --name regtest-node-01 -p 4444:4444 -p 30305:30305 regtest