Run Binance Smart Chain based on Alpine Linux. Small, lightweight, secure and fast 🏔️
With this image you can run your own BSC node. Easy to use, easy to deploy. You can either use the run example below or use the default configuration. Works on any CPU. Includes CVE fixes which the official repo doesn't address.
docker run --name bsc \
-v .../var:/geth/var \
-d 11notes/bsc:[tag] \
geth \
--datadir "/geth/var" \
--config "/geth/etc/config.toml" \
--cache 66560 \
--history.transactions=0 \
--syncmode=full \
--tries-verify-mode=local \
--pruneancient \
--db.engine=pebble \
--state.scheme=path \
--ws \
--ws.addr 0.0.0.0 \
--ws.api net,web3,eth,txpool \
--ws.origins '*' \
--http \
--http.addr 0.0.0.0 \
--http.api net,web3,eth,txpool \
--http.corsdomain '*' \
--http.vhosts '*' \
--maxpeers 64 \
--nat extip:$(curl -sL ip.anon.global) \
--log.format=json
--metrics \
--metrics.expensive \
--metrics.influxdbv2 \
--metrics.influxdb.endpoint "http://127.0.0.1:8086" \
--metrics.influxdb.token "**********************************************" \
--metrics.influxdb.organization "Binance" \
--metrics.influxdb.bucket "bsc" \
--metrics.influxdb.tags "host=bsc"
| Parameter | Value | Description |
|---|---|---|
user | docker | user docker |
uid | 1000 | user id 1000 |
gid | 1000 | group id 1000 |
home | /geth | home directory of user docker |
engine | pebble | Go supported storage backend |
api | http://${IP}:8545 | HTTP endpoint |
api | http://${IP}:8546 | WS endpoint |
| Parameter | Value | Default |
|---|---|---|
TZ | Time Zone | null |
Content type
Image
Digest
sha256:3ea8bd7bf…
Size
102.3 MB
Last updated
almost 3 years ago
docker pull 11notes/bsc:1.3.7