Cargo
Install the beta release directly from crates.io:--locked builds with the dependency versions the release was published with,
including the matching kora-lib. Without it, Cargo can pick a newer
pre-release of kora-lib than the CLI version you asked for (for example,
kora-cli@2.2.0-beta.7 resolves kora-lib 2.2.0-beta.8).
Docker
Official multi-platform Docker images (amd64/arm64) are published to GitHub Container Registry:latest— Latest stable releasebeta— Latest pre-release versionv<version>— Specific version (e.g.,v2.2.0-beta.8)
Docker Compose
To include Redis for caching and usage limit support, see the Docker Compose file with Redis. For a custom image, startFROM ghcr.io/solana-foundation/kora:v2.2.0-beta.8
and copy in your configuration files, as the
Railway guide
does for the stable image. The repository’s sample Dockerfile installs Kora with
cargo install on rust:1.88, which no longer builds.
Running with Docker
kora, so the arguments
you pass must start with kora. The CLI reads the Solana RPC endpoint from the
RPC_URL environment variable. Without -e RPC_URL=..., Kora uses
http://127.0.0.1:8899, which inside the container is the container itself, so
every method that needs the RPC (for example getBlockhash) fails with
-32093 error sending request for url (http://127.0.0.1:8899/). Replace
<SOLANA_RPC_URL> with your Solana RPC endpoint.