- Original Dockerfile and other scripts to dockerize the Apollo Guidance Computer
- Used for the Hack-a-Sat Apollo Guidance Computer Challenge
- make sure doit.sh is executable, run the following as root
- docker build -t virtualagc2 .
-
seccomp unconfined is needed so the joystick driver in the allegro library won't crash with ASLR...
-
Use -p to work with EXPOSE directive and make those ports available outside the docker host
-
docker run --rm -it -p19698:19698 -p19697:19697 --security-opt seccomp=unconfined virtualagc2 unshare --map-rt-user --user /bin/bash
- For macOS install XQuartz and on Linux it should work by default.
- for XQuartz allow remote connections
- XQuartz->X11 Preferences->Authenticate connections (checked)
- XQuartz->X11 Preferences->Allow connections from network clients (checked)
- Open an xterm on the host
- xhost + (allow connections from all X clients)
- docker run --rm -it -p19698:19698 -p19697:19697 --security-opt seccomp=unconfined virtualagc2 unshare --map-rt-user --user /bin/bash
- docker ps (gather the container id)
- docker exec -it <container id like 87917890f14d) /bin/bash
- DISPLAY=10.20.2.86:0.0 # Replace IP with your X server and make sure it is reachable
- export DISPLAY
- cd virtualagc/yaDSKY2
- ./yaDSKY2
- From a machine with yaDSKY
- cd virtualagc/yaDSKY2
- ./yaDSKY2 --host