6
在docker下安装时可以回答对话框问题吗?
使用apt-get安装某些软件包时,是否可以以某种方式回答出现在对话框中的问题? 例如,我正在尝试设置包含以下内容的mail-stack-delivery软件包的容器: FROM ubuntu RUN apt-get install -y mail-stack-delivery 但是,在构建时,dockerfile会产生许多错误,这些错误包括: debconf: unable to initialize frontend: Dialog debconf: (TERM is not set, so the dialog frontend is not usable.) debconf: falling back to frontend: Readline debconf: unable to initialize frontend: Readline debconf: (Can't locate Term/ReadLine.pm in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.14.2 …