https://github.com/dlsniper/crashdumper
https://github.com/dlsniper/crashdumper
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/dlsniper/crashdumper
- Owner: dlsniper
- Created: 2018-11-12T02:13:32.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-11-12T02:15:00.000Z (over 7 years ago)
- Last Synced: 2025-10-11T02:16:54.301Z (9 months ago)
- Language: Go
- Size: 1.95 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
build the binary using:
```bash
docker build . && \
docker run -v :/sources/crashdump --env CGO_ENABLED=0
```
run the build using:
```bash
docker build -f Dockerfile.run . && \
docker run -p 8080:8080 -v :/sources/crashdump --env GOTRACEBACK=crash --cap-add="SYS_PTRACE" --security-opt="apparmor=unconfined"
```
to get a dump run:
```bash
docker exec -it /bin/bash
```
and then inside the container, run:
```bash
gcore -o core.dmp 1
```