Wercker设置环境步骤错误:访客命令失败,退出代码为-1:mkdir -p" / pipeline"

时间:2016-10-14 02:16:28

标签: android wercker

我使用wercker与我的android应用程序进行ci,后者使用rxwen / android docker image。 但是wercker总是在设置环境步骤中报告以下错误消息。 Guest command failed with exit code -1: mkdir -p "/pipeline"

最后一个wercker日志显示它在提取docker镜像时退出。

Download complete: 62d952553a13                                                                  
Verifying Checksum: a8ef60972e3d                                                                                                 
Download complete: a8ef60972e3d                                                                                                  
Verifying Checksum: fe9f7f434a61                                                                                                 
Download complete: fe9f7f434a61                                                                                                  
Pull complete: 62d952553a13                                                                      
Verifying Checksum: 69ecce34af24                                
Download complete: 69ecce34af24                                 
Pull complete: 722fe23ca1d7                                     
Verifying Checksum: e8164c82c7ad                               
Download complete: e8164c82c7ad                                
Pull complete: fe9f7f434a61    
Pull complete: 69ecce34af24    
Pull complete: a8ef60972e3d    
Extracting: e8164c82c7ad (88%)

任何人都知道错误信息意味着什么?

1 个答案:

答案 0 :(得分:1)

您使用的是什么码头图片?在尝试使用"稳定 - 高山"时,我遇到了同样的错误。 nginx的形象。

原来是因为我需要将cmd:/ bin / sh添加到方框步骤。

即。要为我修复它,我必须改变它:

box: nginx:stable-alpine

为:

box:
    id: nginx:stable-alpine
    cmd: /bin/sh

感谢GitHub上的Antti Kupila帮助我找到解决问题的方法。链接到GitHub问题:https://github.com/wercker/support/issues/275#issuecomment-255742729