- Compile the program in gcc with debug symbols enabled (
-g) - Do NOT strip the binary
- To generate assembly code using gcc use the -S option:
gcc -S hello.c
国内从 Docker Hub 拉取镜像有时会遇到困难,此时可以配置镜像加速器。
Dockerized 实践 https://github.com/y0ngb1n/dockerized