Run a Solana Test Validator using Docker
Sep 22, 2021
Running a local test validator of Solana is easy and more reliable vs depending on testnet or devnet.
Step 1: Make sure docker is installed
Download it here: https://docs.docker.com/get-docker/
Step 2: Pull the docker image
Run this command:
docker pull werbitt/solana-test-validator
Step 3: Run the container
Run the container:
docker run -d -p 8899:8899 -p 8900:8900 werbitt/solana-test-validator
Test it out
Connect any wallet app or use https://www.sollet.io/ and connect to localhost:8899