Packer.IO上传文件/脚本时出错

无论我尝试用Packer上传到新configuration的泊坞窗图像是否失败:

==> docker: Pausing before cleanup of step 'StepPull'. Press enter to continue. ==> docker: Pausing before cleanup of step 'StepTempDir'. Press enter to continue. Build 'docker' errored: Upload failed with non-zero exit status: 1 Build 'docker' errored: Retryable error: Error uploading script: Upload failed with non-zero exit status: 1 

debugging并没有真正的帮助。

我的configuration部分:

 { "type": "file", "source": "/home/vm/site", "destination": "/var/www/web" }, 

如果你正试图在Docker容器中运行Packer,那么你将会遇到上面的错误。 Packer不支持在另一个Docker容器内部署Docker镜像。 这是与此相关的GitHub问题。