Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
[当我尝试从我的 docker 文件构建 ITX 版本 9 docker 映像时出现以下错误,说 apt-get install ksh 返回 0 code:1 ,任何人都可以帮我解决这个问题。看到这张图片
由于您在 Dockerfile 中运行安装指令,因此在非交互模式下,您必须提供--assume-yes选项
--assume-yes
RUN apt-get install -y ksh
apt-get 联机帮助页