Update instructions
This commit is contained in:
parent
6794cb3a93
commit
b98018b9f6
@ -1,5 +1,8 @@
|
||||
FROM ghcr.io/bnb-chain/bsc:1.4.8
|
||||
|
||||
USER root
|
||||
|
||||
# Add lz4 for extracting files from a lz4 snapshot
|
||||
RUN apk add lz4
|
||||
|
||||
USER bsc
|
||||
|
@ -95,19 +95,11 @@ laconic-so deployment --dir bsc-node-deployment up
|
||||
docker logs -f <CONTAINER_ID>
|
||||
```
|
||||
|
||||
* Log in with bash into the bsc container:
|
||||
|
||||
```bash
|
||||
docker exec -it <BSC_CONTAINER_ID> bash
|
||||
```
|
||||
|
||||
* Check Synchronization:
|
||||
|
||||
```bash
|
||||
# Inside the bsc container
|
||||
|
||||
# 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
|
||||
```
|
||||
@ -115,8 +107,7 @@ laconic-so deployment --dir bsc-node-deployment up
|
||||
* Check geth logs:
|
||||
|
||||
```bash
|
||||
# Inside the bsc container
|
||||
tail -f /data/bsc.log
|
||||
laconic-so deployment --dir bsc-node-deployment exec bsc "tail -f /data/bsc.log"
|
||||
```
|
||||
|
||||
## Clean up
|
||||
|
Loading…
Reference in New Issue
Block a user