ach*_*zot 12 shell prompt docker
我正在使用Docker使用SSL创建特定的nginx容器.
但我不希望我的SSL文件保留在我的版本控制系统中.因此它们是加密的.构建docker容器时,我需要密码来解密文件并测试我的nginx配置.
我正在使用read我的安装脚本中的提示,但Docker只是在提示符处停止:
+ echo 'Please enter the password for the SSL certificates: '
+ read -s SSL_PASSWORD
INFO[0008] The command [/bin/sh -c /build/setup.sh && /build/cleanup.sh] returned a non-zero code: 1
Run Code Online (Sandbox Code Playgroud)
在做某事时是否有某种方法可以获得提示docker build?
谢谢你的帮助 :)
好吧,经过四处搜寻,在一段时间内没有办法提示docker build.它被设计为完全自动化.
docker run那时我会做这一步.
感谢larsksIRC#docker小组的某些内容,有关这些问题的有趣读物,请访问https://github.com/GoogleCloudPlatform/kubernetes/issues/2030
谢谢你的帮助!
| 归档时间: |
|
| 查看次数: |
7371 次 |
| 最近记录: |