CS:APP is an excellent material for learning computer systems and systems programming. However, it is inconvenient to use a virtual machine for self-learners. In this repo, I build a Docker image with most pre-requistes installed and attached all lab materials in it. You can directly use this Docker image xieguochao/csapp.
The original materials of CS:APP is from CMU: CS:APP labs.
The code server is based on https://github.com/cdr/code-server.
Install Colima and run docker in arch: amd64:
colima start --edit
# Architecture of the virtual machine (x86_64, aarch64, host).
#
# NOTE: value cannot be changed after virtual machine is created.
# Default: host
-> Update here
arch: amd64
git clone --branch 1.8 https://github.com/XieGuochao/csapp.git.cd csapp.
cd csapp-dockerdocker build -t csapp ..
Under the root directory.
chmod -R a+rwx labs
docker run -p 7777:7777 -v "$PWD/labs:/home/csapp/project" csapp
Then you can access your labs via browser http://localhost:7777/ with password csapp. You can find all files in labs under /home/csapp/project.
You can raise an issue and we will help you.