A small debian based container which lets you run C++ and GDB. Built mainly because macOS 10.12.4 has serious problems when it comes to running GDB.
- Place your C++ / any needed files inside of a
/files/folder on your host machine. $ git clone https://github.com/shahzeb1/cpp-gdb-docker-image cpp-gdb$ cd cpp-gdb$ docker build -t cpp-gdb .$ docker run -v /Users/<user>/<your dir>/files:/files -it cpp-gdb
Instructions via Dockerhub:
- Place your C++ / any needed files inside of a
/files/folder on your host machine. $ docker pull shahzeb/cpp-gdb$ docker run -v /Users/<user>/<your dir>/files:/files -it shahzeb/cpp-gdb
Now you should be able to $ cd files and run g++ on your files.