先看一下Docker官网提示:In general, you'll want to start with a working machine that is running the distribution you'd like to package as a parent image. 意思是你制作镜像的机器运行的系统版本要与你要制作的镜像的系统版本相同. 1.安装debootstrap # aptitude update # aptitude install -y debootstrap 2