Docker config for Mac M1, to support development on Solana
git clone https://github.com/metaspan/solana-docker-mac-m1
cd solana-docker-mac-m1
docker build . -t metaspan/solana-docker-mac-m1
Note, docker run
will create a new container. If you want to re-use this container see below.
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
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
docker start solana
docker exec -it "container name" "command"
docker exec -it solana /bin/bash
- https://smith-mcf.medium.com/a-simple-solana-dapp-tutorial-6dedbdf65444 (note, this is somewhat out of date)
- https://rust-lang.github.io/rustup/installation/other.html
- https://github.com/rust-lang/rust/blob/master/RELEASES.md
- https://github.com/solana-labs/solana/tree/master/sdk
- https://docs.solana.com/cli/install-solana-cli-tools#build-from-source