Update nofile flag in Docker to run Solana
Currently, the Solana Docker container does not start because it requires `nofile` to be at least 500000, and the default behavior is 1024. This fixes the documentation and running script to properly set the ulimit to 500000.
This commit is contained in:
committed by
Michael Vines
parent
df7710a131
commit
8c43a3da32
@ -6,12 +6,12 @@ https://hub.docker.com/r/solanalabs/solana/
|
||||
### Usage:
|
||||
Run the latest beta image:
|
||||
```bash
|
||||
$ docker run --rm -p 8899:8899 solanalabs/solana:beta
|
||||
$ docker run --rm -p 8899:8899 --ulimit nofile=500000 solanalabs/solana:beta
|
||||
```
|
||||
|
||||
Run the latest edge image:
|
||||
```bash
|
||||
$ docker run --rm -p 8899:8899 solanalabs/solana:edge
|
||||
$ docker run --rm -p 8899:8899 --ulimit nofile=500000 solanalabs/solana:edge
|
||||
```
|
||||
|
||||
Port *8899* is the JSON RPC port, which is used by clients to communicate with the network.
|
||||
|
Reference in New Issue
Block a user