Csapp
The docker source and materials for CS:APP labs
Install / Use
/learn @XieGuochao/CsappREADME
CS:APP Docker and Materials
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.
How to Use It?
Update for Mac user (2025)
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
Install Docker or Podman
Clone Repository
git clone --branch 1.8 https://github.com/XieGuochao/csapp.git.cd csapp.
Build Image (Optional)
cd csapp-dockerdocker build -t csapp ..
Run
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.
Troubleshootings
You can raise an issue and we will help you.
