Mount your compiled binary (Linux) into the container.
docker run --interactive --privileged --rm --tty --volume ~/Documents/Development/code/:/code/ zfields/gdb --args /code/<binary> <arg1> <arg2> ...
docker create network debug-net
docker run --interactive --network debug-net --rm --tty zfields/gdb
(gdb) target remote gdbserver:2159
Content type
Image
Digest
Size
35.7 MB
Last updated
over 8 years ago
docker pull zfields/gdb