ConcourseCI-泊坞窗图像资源问题;挂载:权限被拒绝(您是root吗?) [英] ConcourseCI - docker-image resource issue; mount: permission denied (are you root?)
本文介绍了ConcourseCI-泊坞窗图像资源问题;挂载:权限被拒绝(您是root吗?)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我在我的工作站Ubuntu 16.04和
上运行了concourse 3.8.0,这是我的管道定义:
I have concourse 3.8.0 running on my workstation which is Ubuntu 17.04 and here is my pipeline definition:
---
jobs:
- name: job-docker-image-resource
public: true
plan:
- get: "golang_tools_docker_image"
- task: docker-image-resource
config:
platform: linux
image_resource:
type: docker-image
source: {repository: busybox}
run:
path: echo
args: [docker-image-resource]
resources:
- name: "golang_tools_docker_image"
type: docker-image
source:
repository: "golang"
tag: "1.9.2-alpine3.7"
resource_types:
- name: docker-image
type: docker-image
source:
repository: concourse/docker-image-resource
tag: docker-1.12.6
这是输出:
在2.7.7大厅中可以正常工作。我尚未尝试过2.7.7和3.8.0之间的任何版本。
This works fine in concourse 2.7.7. I haven't tried any versions between 2.7.7 and 3.8.0 yet.
推荐答案
您需要特权:对资源类型定义为true
:
resource_types:
- name: docker-image
privileged: true
type: docker-image
source:
repository: concourse/docker-image-resource
tag: latest
这篇关于ConcourseCI-泊坞窗图像资源问题;挂载:权限被拒绝(您是root吗?)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文