This project provides the docker environments for you to take the lessons of CSAPP.
# take shell lab as one instance
docker run --privileged -d -p 1221:22 --name shell yansongsongsong/csapp:shelllab
# login to the envs
docker exec -it shell /bin/zsh
-
ZERO-config environments for you. There is no need to download any handout lab files. You just pull and set up the docker image, and have fun.
-
zsh shell The environments has installed the
zsh
for you, which can give you one great interactive command-cli util.
If you get in trouble when doing the lab, you can get some help from this album of articles, which is in Chinese.
env | solution | command |
---|---|---|
data lab | ✅ | docker run -d -p 1221:22 --name datalab yansongsongsong/csapp:datalab |
bomb lab | ✅ | docker run --privileged -d -p 1221:22 --name bomb yansongsongsong/csapp:bomblab |
attack lab | ✅ | docker run --privileged -d -p 1221:22 --name attack yansongsongsong/csapp:attacklab |
cache lab | ✅ | docker run --privileged -d -p 1221:22 --name cache yansongsongsong/csapp:cachelab |
shell lab | ✅ | docker run --privileged -d -p 1221:22 --name shell yansongsongsong/csapp:shelllab |
malloc lab | 🐦 | docker run --privileged -d -p 1221:22 --name malloc yansongsongsong/csapp:malloclab |
Proxy lab | 🐦 | 🐦 |