Update instructions

This commit is contained in:
Prathamesh Musale 2024-06-05 11:36:03 +05:30
parent 6794cb3a93
commit b98018b9f6
2 changed files with 5 additions and 11 deletions

View File

@ -1,5 +1,8 @@
FROM ghcr.io/bnb-chain/bsc:1.4.8 FROM ghcr.io/bnb-chain/bsc:1.4.8
USER root USER root
# Add lz4 for extracting files from a lz4 snapshot
RUN apk add lz4 RUN apk add lz4
USER bsc USER bsc

View File

@ -95,19 +95,11 @@ laconic-so deployment --dir bsc-node-deployment up
docker logs -f <CONTAINER_ID> docker logs -f <CONTAINER_ID>
``` ```
* Log in with bash into the bsc container:
```bash
docker exec -it <BSC_CONTAINER_ID> bash
```
* Check Synchronization: * Check Synchronization:
```bash ```bash
# Inside the bsc container
# Start geth console # Start geth console
geth attach ipc:/data/geth.ipc laconic-so deployment --dir bsc-node-deployment exec bsc "geth attach ipc:/data/geth.ipc"
>eth.syncing >eth.syncing
``` ```
@ -115,8 +107,7 @@ laconic-so deployment --dir bsc-node-deployment up
* Check geth logs: * Check geth logs:
```bash ```bash
# Inside the bsc container laconic-so deployment --dir bsc-node-deployment exec bsc "tail -f /data/bsc.log"
tail -f /data/bsc.log
``` ```
## Clean up ## Clean up