https://github.com/beeman/solana-test-validator
Docker images for the Solana Test Validator for Intel (amd64) and Apple Silicon (arm64). Nightly builds from the latest version of https://github.com/anza-xyz/agave
https://github.com/beeman/solana-test-validator
Last synced: 7 months ago
JSON representation
Docker images for the Solana Test Validator for Intel (amd64) and Apple Silicon (arm64). Nightly builds from the latest version of https://github.com/anza-xyz/agave
- Host: GitHub
- URL: https://github.com/beeman/solana-test-validator
- Owner: beeman
- License: mit
- Created: 2022-09-21T00:22:16.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2025-08-15T01:33:01.000Z (10 months ago)
- Last Synced: 2025-08-15T03:30:30.307Z (10 months ago)
- Language: Dockerfile
- Homepage: https://github.com/beeman/solana-test-validator/pkgs/container/solana-test-validator
- Size: 20.5 KB
- Stars: 9
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Solana Test Validator on Docker
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.
## Usage
To run the Solana Test Validator, you can use the following command:
```shell
docker run -it -p 8899:8899 -p 8900:8900 --rm --name solana-test-validator ghcr.io/beeman/solana-test-validator:latest
```
This will start the Solana Test Validator on port 8899 and 8900.
See the [examples](https://github.com/beeman/solana-test-validator/tree/main/examples) directory for more information.
## Building the Docker image
To build the Docker image, you can use the following command using [just](https://github.com/casey/just):
```shell
just build
```
This will build the Docker image and tag it as `ghcr.io/beeman/solana-test-validator`.
## Running the Docker image
To run the Docker image, you can use the following command:
```shell
just run
```
This will start the Solana Test Validator on port 8899 and 8900.
## Running a shell in the Docker image
To run a shell in the Docker image, you can use the following command:
```shell
just run-sh
```
This will start a shell in the Docker image.
## Running an examples
To run an example, you can use the following command:
```shell
just example
```
For example, to run the `docker-compose` example, you can use the following command:
```shell
just example docker-compose
```
This will start the Docker Compose example.