$ docker run -w "/problem" -v "$PWD:/problem" -it moratorium08/libc:2.23 /bin/bash
You can attach the container and debug it by gdb with peda and pwngdb:
$ docker exec -it <container_id> /bin/bash
$ gdb -p `pgrep xxxx`
Supported libc versions
- 2.32
- 2.31
- 2.30
- 2.29
- 2.28
- 2.27
- 2.26
- 2.24
- 2.23
Detail: Docker Hub
Example
docker:
id: moratorium08
repo: libc
$ pip install -r requirements.txt
$ ./gen.sh
$ ./build.sh
$ ./push.sh