Skip to content
Projects

About

The docker source and materials for CS:APP labs

Systems & Infrastructure

How these counts are measured

Measured star growth

in 24h
0
in 7 days
0
in 15 days
0
in 1 month
Collecting history

Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.

README.md

Original

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

  1. git clone --branch 1.8 https://github.com/XieGuochao/csapp.git.
  2. cd csapp.

Build Image (Optional)

  1. cd csapp-docker
  2. docker 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.

Explore related projects

Loading…