Skip to content

Docker config for Mac M1, to support development on Solana

License

Notifications You must be signed in to change notification settings

magiceden/solana-docker-mac-m1

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Solana Docker for Mac M1

Docker config for Mac M1, to support development on Solana

Getting started

git clone https://github.com/metaspan/solana-docker-mac-m1
cd solana-docker-mac-m1
docker build . -t metaspan/solana-docker-mac-m1

Usage

1st time

Note, docker run will create a new container. If you want to re-use this container see below.

Command line

This will give you a bash prompt on the container

docker run -it -p 8899:8899 -p 8900:8900 --name solana metaspan/solana-docker-mac-m1

Test Validator

You can start a validator directly

docker run -it -p 8899:8899 -p 8900:8900 --name solana metaspan/solana-docker-mac-m1 solana-test-validator

Reuse a container

docker start solana

docker exec -it "container name" "command"

Bash shell in existing, [running?] container

docker exec -it solana /bin/bash

Refs

About

Docker config for Mac M1, to support development on Solana

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Dockerfile 100.0%