rancher流水线,publish时提示docker未运行

rancher:2.4.17
docker:20.10.12
rancher配置了私有harbor,harbor为ip:port方式
rancher、docker、harbor在同一台机器
宿主机上push镜像到harbor没有问题
harbor配置
/uploads/question/20220106/6554d9f661cbd4c98a2a15d739860b82.png
cicd配置

stages:
- name: compile
  steps:
  - runScriptConfig:
      image: gradle:6.9-jdk8
      shellScript: gradle clean build
- name: publish
  steps:
  - publishImageConfig:
      dockerfilePath: ./Dockerfile
      buildContext: .
      tag: test/log-demo:${CICD_EXECUTION_SEQUENCE}
      pushRemote: true
      registry: 192.168.16.202:9880
    env:
      PLUGIN_DEBUG: "true"
      PLUGIN_INSECURE: "true"
- name: deploy
  steps:
  - applyYamlConfig:
      path: ./deployment.yaml
timeout: 60
notification: {}

报错日志

+ /usr/local/bin/dockerd-entrypoint.sh /bin/drone-docker
+ /usr/local/bin/dockerd --data-root /var/lib/docker --insecure-registry 192.168.16.202:9880
time="2022-01-06T02:36:45.825789750Z" level=warning msg="could not change group /var/run/docker.sock to docker: group docker not found"
time="2022-01-06T02:36:45.826200584Z" level=info msg="libcontainerd: started new containerd process" pid=61
time="2022-01-06T02:36:45.826220876Z" level=info msg="parsed scheme: \"unix\"" module=grpc
time="2022-01-06T02:36:45.826227285Z" level=info msg="scheme \"unix\" not registered, fallback to default scheme" module=grpc
time="2022-01-06T02:36:45.826258510Z" level=info msg="ccResolverWrapper: sending new addresses to cc: [{unix:///var/run/docker/containerd/containerd.sock 0  <nil>}]" module=grpc
time="2022-01-06T02:36:45.826265817Z" level=info msg="ClientConn switching balancer to \"pick_first\"" module=grpc
time="2022-01-06T02:36:45.826294915Z" level=info msg="pickfirstBalancer: HandleSubConnStateChange: 0xc420848830, CONNECTING" module=grpc
time="2022-01-06T02:36:45Z" level=info msg="starting containerd" revision=468a545b9edcd5932818eb9de8e72413e616e86e version=v1.1.2 
time="2022-01-06T02:36:45Z" level=info msg="loading plugin "io.containerd.content.v1.content"..." type=io.containerd.content.v1 
time="2022-01-06T02:36:45Z" level=info msg="loading plugin "io.containerd.snapshotter.v1.btrfs"..." type=io.containerd.snapshotter.v1 
time="2022-01-06T02:36:45Z" level=warning msg="failed to load plugin io.containerd.snapshotter.v1.btrfs" error="path /var/lib/docker/containerd/daemon/io.containerd.snapshotter.v1.btrfs must be a btrfs filesystem to be used with the btrfs snapshotter" 
time="2022-01-06T02:36:45Z" level=info msg="loading plugin "io.containerd.snapshotter.v1.aufs"..." type=io.containerd.snapshotter.v1 
time="2022-01-06T02:36:45Z" level=warning msg="failed to load plugin io.containerd.snapshotter.v1.aufs" error="modprobe aufs failed: "ip: can't find device 'aufs'\nmodprobe: can't change directory to '/lib/modules': No such file or directory\n": exit status 1" 
time="2022-01-06T02:36:45Z" level=info msg="loading plugin "io.containerd.snapshotter.v1.native"..." type=io.containerd.snapshotter.v1 
time="2022-01-06T02:36:45Z" level=info msg="loading plugin "io.containerd.snapshotter.v1.overlayfs"..." type=io.containerd.snapshotter.v1 
time="2022-01-06T02:36:45Z" level=info msg="loading plugin "io.containerd.snapshotter.v1.zfs"..." type=io.containerd.snapshotter.v1 
time="2022-01-06T02:36:45Z" level=warning msg="failed to load plugin io.containerd.snapshotter.v1.zfs" error="path /var/lib/docker/containerd/daemon/io.containerd.snapshotter.v1.zfs must be a zfs filesystem to be used with the zfs snapshotter" 
time="2022-01-06T02:36:45Z" level=info msg="loading plugin "io.containerd.metadata.v1.bolt"..." type=io.containerd.metadata.v1 
time="2022-01-06T02:36:45Z" level=warning msg="could not use snapshotter btrfs in metadata plugin" error="path /var/lib/docker/containerd/daemon/io.containerd.snapshotter.v1.btrfs must be a btrfs filesystem to be used with the btrfs snapshotter" 
time="2022-01-06T02:36:45Z" level=warning msg="could not use snapshotter aufs in metadata plugin" error="modprobe aufs failed: "ip: can't find device 'aufs'\nmodprobe: can't change directory to '/lib/modules': No such file or directory\n": exit status 1" 
time="2022-01-06T02:36:45Z" level=warning msg="could not use snapshotter zfs in metadata plugin" error="path /var/lib/docker/containerd/daemon/io.containerd.snapshotter.v1.zfs must be a zfs filesystem to be used with the zfs snapshotter" 
time="2022-01-06T02:36:45Z" level=info msg="loading plugin "io.containerd.differ.v1.walking"..." type=io.containerd.differ.v1 
time="2022-01-06T02:36:45Z" level=info msg="loading plugin "io.containerd.gc.v1.scheduler"..." type=io.containerd.gc.v1 
time="2022-01-06T02:36:45Z" level=info msg="loading plugin "io.containerd.service.v1.containers-service"..." type=io.containerd.service.v1 
time="2022-01-06T02:36:45Z" level=info msg="loading plugin "io.containerd.service.v1.content-service"..." type=io.containerd.service.v1 
time="2022-01-06T02:36:45Z" level=info msg="loading plugin "io.containerd.service.v1.diff-service"..." type=io.containerd.service.v1 
time="2022-01-06T02:36:45Z" level=info msg="loading plugin "io.containerd.service.v1.images-service"..." type=io.containerd.service.v1 
time="2022-01-06T02:36:45Z" level=info msg="loading plugin "io.containerd.service.v1.leases-service"..." type=io.containerd.service.v1 
time="2022-01-06T02:36:45Z" level=info msg="loading plugin "io.containerd.service.v1.namespaces-service"..." type=io.containerd.service.v1 
time="2022-01-06T02:36:45Z" level=info msg="loading plugin "io.containerd.service.v1.snapshots-service"..." type=io.containerd.service.v1 
time="2022-01-06T02:36:45Z" level=info msg="loading plugin "io.containerd.monitor.v1.cgroups"..." type=io.containerd.monitor.v1 
time="2022-01-06T02:36:45Z" level=info msg="loading plugin "io.containerd.runtime.v1.linux"..." type=io.containerd.runtime.v1 
time="2022-01-06T02:36:45Z" level=info msg="loading plugin "io.containerd.service.v1.tasks-service"..." type=io.containerd.service.v1 
time="2022-01-06T02:36:45Z" level=info msg="loading plugin "io.containerd.grpc.v1.containers"..." type=io.containerd.grpc.v1 
time="2022-01-06T02:36:45Z" level=info msg="loading plugin "io.containerd.grpc.v1.content"..." type=io.containerd.grpc.v1 
time="2022-01-06T02:36:45Z" level=info msg="loading plugin "io.containerd.grpc.v1.diff"..." type=io.containerd.grpc.v1 
time="2022-01-06T02:36:45Z" level=info msg="loading plugin "io.containerd.grpc.v1.events"..." type=io.containerd.grpc.v1 
time="2022-01-06T02:36:45Z" level=info msg="loading plugin "io.containerd.grpc.v1.healthcheck"..." type=io.containerd.grpc.v1 
time="2022-01-06T02:36:45Z" level=info msg="loading plugin "io.containerd.grpc.v1.images"..." type=io.containerd.grpc.v1 
time="2022-01-06T02:36:45Z" level=info msg="loading plugin "io.containerd.grpc.v1.leases"..." type=io.containerd.grpc.v1 
time="2022-01-06T02:36:45Z" level=info msg="loading plugin "io.containerd.grpc.v1.namespaces"..." type=io.containerd.grpc.v1 
time="2022-01-06T02:36:45Z" level=info msg="loading plugin "io.containerd.grpc.v1.snapshots"..." type=io.containerd.grpc.v1 
time="2022-01-06T02:36:45Z" level=info msg="loading plugin "io.containerd.grpc.v1.tasks"..." type=io.containerd.grpc.v1 
time="2022-01-06T02:36:45Z" level=info msg="loading plugin "io.containerd.grpc.v1.version"..." type=io.containerd.grpc.v1 
time="2022-01-06T02:36:45Z" level=info msg="loading plugin "io.containerd.grpc.v1.introspection"..." type=io.containerd.grpc.v1 
time="2022-01-06T02:36:45Z" level=info msg=serving... address="/var/run/docker/containerd/containerd-debug.sock" 
time="2022-01-06T02:36:45Z" level=info msg=serving... address="/var/run/docker/containerd/containerd.sock" 
time="2022-01-06T02:36:45Z" level=info msg="containerd successfully booted in 0.007001s" 
time="2022-01-06T02:36:45.846583142Z" level=info msg="pickfirstBalancer: HandleSubConnStateChange: 0xc420848830, READY" module=grpc
time="2022-01-06T02:36:45.847549762Z" level=info msg="parsed scheme: \"unix\"" module=grpc
time="2022-01-06T02:36:45.847560551Z" level=info msg="scheme \"unix\" not registered, fallback to default scheme" module=grpc
time="2022-01-06T02:36:45.847611118Z" level=info msg="ccResolverWrapper: sending new addresses to cc: [{unix:///var/run/docker/containerd/containerd.sock 0  <nil>}]" module=grpc
time="2022-01-06T02:36:45.847627326Z" level=info msg="ClientConn switching balancer to \"pick_first\"" module=grpc
time="2022-01-06T02:36:45.847637421Z" level=info msg="parsed scheme: \"unix\"" module=grpc
time="2022-01-06T02:36:45.847645702Z" level=info msg="scheme \"unix\" not registered, fallback to default scheme" module=grpc
time="2022-01-06T02:36:45.847658583Z" level=info msg="pickfirstBalancer: HandleSubConnStateChange: 0xc420766860, CONNECTING" module=grpc
time="2022-01-06T02:36:45.847738963Z" level=info msg="pickfirstBalancer: HandleSubConnStateChange: 0xc420766860, READY" module=grpc
time="2022-01-06T02:36:45.847735004Z" level=info msg="ccResolverWrapper: sending new addresses to cc: [{unix:///var/run/docker/containerd/containerd.sock 0  <nil>}]" module=grpc
time="2022-01-06T02:36:45.847757646Z" level=info msg="ClientConn switching balancer to \"pick_first\"" module=grpc
time="2022-01-06T02:36:45.847764276Z" level=error msg="No zfs dataset found for root" backingFS=extfs root=/var/lib/docker storage-driver=zfs
time="2022-01-06T02:36:45.847791059Z" level=info msg="pickfirstBalancer: HandleSubConnStateChange: 0xc420842400, CONNECTING" module=grpc
time="2022-01-06T02:36:45.847797239Z" level=info msg="blockingPicker: the picked transport is not ready, loop back to repick" module=grpc
time="2022-01-06T02:36:45.847857287Z" level=info msg="pickfirstBalancer: HandleSubConnStateChange: 0xc420842400, READY" module=grpc
time="2022-01-06T02:36:45.866264861Z" level=info msg="Graph migration to content-addressability took 0.00 seconds"
time="2022-01-06T02:36:45.866361384Z" level=warning msg="Your kernel does not support cgroup memory limit"
time="2022-01-06T02:36:45.866368312Z" level=warning msg="Unable to find cpu cgroup in mounts"
time="2022-01-06T02:36:45.866372021Z" level=warning msg="Unable to find blkio cgroup in mounts"
time="2022-01-06T02:36:45.866375285Z" level=warning msg="Unable to find cpuset cgroup in mounts"
time="2022-01-06T02:36:45.866390155Z" level=warning msg="mountpoint for pids not found"
time="2022-01-06T02:36:45.866596824Z" level=info msg="stopping healthcheck following graceful shutdown" module=libcontainerd
time="2022-01-06T02:36:45.866611738Z" level=info msg="stopping event stream following graceful shutdown" error="context canceled" module=libcontainerd namespace=plugins.moby
time="2022-01-06T02:36:45.866727540Z" level=info msg="pickfirstBalancer: HandleSubConnStateChange: 0xc420842400, TRANSIENT_FAILURE" module=grpc
time="2022-01-06T02:36:45.866743243Z" level=info msg="pickfirstBalancer: HandleSubConnStateChange: 0xc420842400, CONNECTING" module=grpc
Error starting daemon: Devices cgroup isn't mounted
Registry credentials or Docker config not provided. Guest mode enabled.
+ /usr/local/bin/docker version
Client: Docker Engine - Community
 Version:           18.09.0
 API version:       1.39
 Go version:        go1.10.4
 Git commit:        4d60db4
 Built:             Wed Nov  7 00:46:51 2018
 OS/Arch:           linux/amd64
 Experimental:      false
Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?
time="2022-01-06T02:37:02Z" level=fatal msg="exit status 1"
已邀请:

要回复问题请先登录注册