Docker build "end of file on stdin at conffile prompt"
docker build 遇到:
* xxx (Y/I/N/O/D/Z) [default=N] ? dpkg: error processing package xxx (--configure):
end of file on stdin at conffile prompt
怎么办?
给apt-get install 或 apt-get upgrade,添加参数
-o Dpkg::Options::="--force-confold"
强制保留当前的配置文件即可