Skip to content

Commit

Permalink
adding DEBUG.md
Browse files Browse the repository at this point in the history
  • Loading branch information
mikecot committed Dec 13, 2023
1 parent e1984ca commit 6eb9bfd
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions DEBUG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
### Debugging the bun docker
Add this to docker file
```
FROM prerelease_deps AS shell
CMD ["/bin/sh"]
```

Bash commands
```
docker build --progress=plain --target shell -t bun-shell .
docker run --cap-add=SYS_PTRACE --security-opt seccomp=unconfined --privileged -it bun-shell
```

### Checking that the rpc service is online
Browse to this rest api and see a json output:
```
https://public-rpc.lavanet.xyz/rest/lavanet/lava/spec/show_all_chains
```

0 comments on commit 6eb9bfd

Please sign in to comment.