This repository contains a Docker image for the Solana Test Validator.
This Docker image is built each night for linux/amd64 as well as linux/arm64 platforms.
This makes it possible to run this image on devices with Apple Silicon processors.
To run the Solana Test Validator, you can use the following command:
docker run -it -p 8899:8899 -p 8900:8900 --rm --name solana-test-validator ghcr.io/beeman/solana-test-validator:latestThis will start the Solana Test Validator on port 8899 and 8900.
See the examples directory for more information.
To build the Docker image, you can use the following command using just:
just buildThis will build the Docker image and tag it as ghcr.io/beeman/solana-test-validator.
To run the Docker image, you can use the following command:
just runThis will start the Solana Test Validator on port 8899 and 8900.
To run a shell in the Docker image, you can use the following command:
just run-shThis will start a shell in the Docker image.
To run an example, you can use the following command:
just example <example-name>For example, to run the docker-compose example, you can use the following command:
just example docker-composeThis will start the Docker Compose example.