【发布时间】:2018-06-08 09:07:15
【问题描述】:
我在大厅工作时遇到以下错误:
劫持:后端错误:退出状态:500,消息: {"Type":"","Message":"runc exec: 退出状态 1: exec 失败: container_linux.go:264: 启动容器进程导致\"exec: \\"./task-scripts/task_show_uname.sh\\": 统计 ./task-scripts/task_show_uname.sh:没有这样的文件或 目录\"\n","句柄":""}
我有一个task.yml:
platform: linux
image_resource:
type: docker-image
source: {repository: busybox}
inputs:
- name: task-scripts
run:
path: ./task-scripts/task_show_uname.sh
***************
task_show_uname.sh runs a simple "uname -a" command.
***************
pipeline.yml 看起来像:
resources:
- name: resource-tutorial
type: git
source:
uri: https://github.com/manmohan1391/concourse-tutorial.git
branch: master
jobs:
- name: job-hello-world
public: true
plan:
- task: hello-world
config:
platform: linux
image_resource:
type: docker-image
source: {repository: busybox}
run:
path: echo
args:
- hello world
- name: scripts
public: true
plan:
- get: resource-tutorial
- task: script-hello
file: resource-tutorial/tutorials/basic/task-scripts/task_show_uname.yml
有什么想法吗?
【问题讨论】:
-
请在问题中包含相关代码,而不是指向您的 github master 的链接,因为这会改变,阻止人们从这个问题中学习。
标签: cloud-foundry concourse concourse-git-resource cf-bosh