This docker is based on the Alpine Binary C app image of the Hacking-Lab CTF system.
This docker provides a executable Binary C app.
- Place your binary/c file in
./root/src/binary.c - Change if required listening port in
./root/etc/services.d/runexample -exec socat TCP-LISTEN:1234,fork,reuseaddr EXEC:/server
- Build and run:
docker-compose up --build, then navigate to http://localhost:80 - Deploy:
./prepare.sh, then uploaddockerfiles.tar.gz