Windows 10上的docker上的concourse ci:等待容器出错:上下文已取消

时间:2018-06-26 16:56:17

标签: docker concourse

我一直试图让concourse ci在具有Docker for Windows的Windows 10系统上与docker-compose一起运行(不使用VirtualBox VM)。 当我尝试使用docker-image资源运行任何任务/管道(例如https://concoursetutorial.com/basics/task-hello-world/)时,我不断收到错误消息“ docker:来自守护程序的错误响应:cgroups:找不到cgroup装载目标:未知。” < / p>

任务配置的内容为:

---
platform: linux

image_resource:
type: docker-image
source: {repository: busybox}

run:
  path: echo
  args: [hello world]

通过docker运行与docker run busybox echo "hello world"相同的命令即可。

有人知道是什么原因造成的吗?

我正在尝试的大堂版本是3.14.1。 我已经在docker info的输出下面包括了。

Containers: 2
 Running: 2
 Paused: 0
 Stopped: 0
Images: 3
Server Version: 1.13.0
Storage Driver: aufs
 Root Dir: /var/lib/docker/aufs
 Backing Filesystem: extfs
 Dirs: 27
 Dirperm1 Supported: true
Logging Driver: json-file
Cgroup Driver: cgroupfs
Plugins:
 Volume: local
 Network: bridge host ipvlan macvlan null overlay
Swarm: inactive
Runtimes: runc
Default Runtime: runc
Init Binary: docker-init
containerd version: 03e5862ec0d8d3b3f750e19fca3ee367e13c090e
runc version: 2f7393a47307a16f8cee44a37b262e8b81021e3e
init version: 949e6fa
Security Options:
 seccomp
  Profile: default
Kernel Version: 4.9.4-moby
Operating System: Alpine Linux v3.5
OSType: linux
Architecture: x86_64
CPUs: 2
Total Memory: 1.934 GiB
Name: moby
ID: NTIN:LYIR:TSZR:FZCM:DWRV:O7OW:3H7H:D365:53CD:TEL6:26C2:YMLV
Docker Root Dir: /var/lib/docker
Debug Mode (client): false
Debug Mode (server): true
 File Descriptors: 29
 Goroutines: 34
 System Time: 2018-06-26T16:46:58.4688726Z
 EventsListeners: 0
Registry: https://index.docker.io/v1/
Experimental: true
Insecure Registries:
 127.0.0.0/8
Live Restore Enabled: false

我正在使用的docker-compose.yml是:     版本:“ 3”

services:
  concourse-db:
    image: postgres
    environment:
    - POSTGRES_DB=concourse
    - POSTGRES_PASSWORD=concourse_pass
    - POSTGRES_USER=concourse_user
    - PGDATA=/database

  concourse:
    image: concourse/concourse:3.14.1
    command: quickstart
    privileged: true
    depends_on: [concourse-db]
    ports: ["8080:8080"]
    environment:
    - CONCOURSE_POSTGRES_HOST=concourse-db
    - CONCOURSE_POSTGRES_USER=concourse_user
    - CONCOURSE_POSTGRES_PASSWORD=concourse_pass
    - CONCOURSE_POSTGRES_DATABASE=concourse
    - CONCOURSE_EXTERNAL_URL
    - CONCOURSE_ADD_LOCAL_USER=test:$$2a$$10$$0W9/ilCpYXY/yCPpaOD.6eCrGda/fnH3D4lhsw1Mze0WTID5BuiTW
    - CONCOURSE_MAIN_TEAM_ALLOW_ALL_USERS=true
    - CONCOURSE_WORKER_GARDEN_NETWORK
    - CONCOURSE_NO_REALLY_I_DONT_WANT_ANY_AUTH=true

谢谢, 迪普

0 个答案:

没有答案