docker pull www.alm-docker-registry.com:8090/test... 正在工作,但是当我尝试使用 puppet 脚本做同样的事情时,它显示错误。
Notice: /Stage[main]/Main/Exec[Pulling Docker Image]/returns: 2015/01/30 11:11:11 Authentication is required.
Error: /usr/bin/docker pull www.alm-docker-registry.com:8090/test... returned 1 instead of one of [0]
Error: /Stage[main]/Main/Exec[Pulling Docker Image]/returns: change from notrun to 0 failed: /usr/bin/docker pull www.alm-docker-registry.com:8090/test... returned 1 instead of one of [0]
注意:我没有使用任何模块,而是直接从清单执行命令。
exec{'Pulling Docker Image':
command=>"/usr/bin/docker pull www.alm-docker-registry.com:8090/test... ,
}`