Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error authenticating: exit status 1 #298

Open
ghost opened this issue Aug 19, 2020 · 4 comments
Open

Error authenticating: exit status 1 #298

ghost opened this issue Aug 19, 2020 · 4 comments

Comments

@ghost
Copy link

ghost commented Aug 19, 2020

How to use drone-docker plugins to build my image to a insecure local registry ?

Here is my part of .drone.yml ....

  # build dev-image
  - name: build-dev-image
    image: plugins/docker:17.05
    settings:
      username:
        - from_secret: harbor_username
      password:
        - from_secret: harbor_password
      repo: 192.168.8.95/xxxx/cicd-demo-local
      registry: 192.168.8.95          
      tags: latest
      dockerfile: ./Dockerfile
      insecure: true
      debug: true
17.05: Pulling from plugins/docker
--
2 | Digest: sha256:a1ee9f89dfe7093d7e38a740a86c5e8403cf5705876d83b604164b8d4c7de269
3 | Status: Downloaded newer image for plugins/docker:17.05
4 | + /usr/local/bin/dockerd -g /var/lib/docker --insecure-registry 192.168.8.95
5 | time="2020-08-19T03:16:24Z" level=warning msg="the \"-g / --graph\" flag is deprecated. Please use \"--data-root\" instead"
6 | time="2020-08-19T03:16:24.066495500Z" level=warning msg="could not change group /var/run/docker.sock to docker: group docker not found"
7 | time="2020-08-19T03:16:24.068293700Z" level=info msg="libcontainerd: new containerd process, pid: 24"
8 | time="2020-08-19T03:16:25.106395500Z" level=info msg="Graph migration to content-addressability took 0.00 seconds"
9 | time="2020-08-19T03:16:25.107063800Z" level=info msg="Loading containers: start."
10 | time="2020-08-19T03:16:25.108584300Z" level=warning msg="Running modprobe bridge br_netfilter failed with message: modprobe: can't change directory to '/lib/modules': No such file or directory\n, error: exit status 1"
11 | time="2020-08-19T03:16:25.109738700Z" level=warning msg="Running modprobe nf_nat failed with message: `modprobe: can't change directory to '/lib/modules': No such file or directory`, error: exit status 1"
12 | time="2020-08-19T03:16:25.110787900Z" level=warning msg="Running modprobe xt_conntrack failed with message: `modprobe: can't change directory to '/lib/modules': No such file or directory`, error: exit status 1"
13 | time="2020-08-19T03:16:25.173646300Z" level=info msg="Default bridge (docker0) is assigned with an IP address 172.17.0.0/16. Daemon option --bip can be used to set a preferred IP address"
14 | time="2020-08-19T03:16:25.219041700Z" level=info msg="Loading containers: done."
15 | time="2020-08-19T03:16:25.251854100Z" level=info msg="Daemon has completed initialization"
16 | time="2020-08-19T03:16:25.251907400Z" level=info msg="Docker daemon" commit=89658be graphdriver=overlay2 version=17.05.0-ce
17 | time="2020-08-19T03:16:25.265338100Z" level=info msg="API listen on /var/run/docker.sock"
18 | time="2020-08-19T03:16:25.334126400Z" level=info msg="Error logging in to v2 endpoint, trying next endpoint: Get https://192.168.8.95/v2/: dial tcp 192.168.8.95:443: getsockopt: connection refused"
19 | time="2020-08-19T03:16:26Z" level=fatal msg="Error authenticating: exit status 1"

Maybe the problem is here: Get https://192.168.8.95/v2/: dial tcp 192.168.8.95:443: getsockopt: connection refused"
insecure: true seems not to work ??
Please help.....

@eboddington
Copy link

I'm seeing the same issue:

  - name: docker-build-push
    image: plugins/docker
    settings:
      username:
        from_secret: docker_username
      password:
        from_secret: docker_password
      registry: example.com
      repo: example.com/foo/bar
      auto_tag: true
      debug: true

Results in:

+ /usr/local/bin/dockerd --data-root /var/lib/docker --host=unix:///var/run/docker.sock
time="2020-08-27T11:57:34.665229128Z" level=info msg="Starting up"
time="2020-08-27T11:57:34.684366927Z" level=warning msg="could not change group /var/run/docker.sock to docker: group docker not found"
time="2020-08-27T11:57:34.686358690Z" level=info msg="libcontainerd: started new containerd process" pid=43
time="2020-08-27T11:57:34.686518312Z" level=info msg="parsed scheme: \"unix\"" module=grpc
time="2020-08-27T11:57:34.686536419Z" level=info msg="scheme \"unix\" not registered, fallback to default scheme" module=grpc
time="2020-08-27T11:57:34.686681066Z" level=info msg="ccResolverWrapper: sending update to cc: {[{unix:///var/run/docker/containerd/containerd.sock 0  <nil>}] <nil>}" module=grpc
time="2020-08-27T11:57:34.686710960Z" level=info msg="ClientConn switching balancer to \"pick_first\"" module=grpc
time="2020-08-27T11:57:34.722132716Z" level=info msg="starting containerd" revision=7ad184331fa3e55e52b890ea95e65ba581ae3429 version=v1.2.13 
time="2020-08-27T11:57:34.722839168Z" level=info msg="loading plugin "io.containerd.content.v1.content"..." type=io.containerd.content.v1 
time="2020-08-27T11:57:34.722969779Z" level=info msg="loading plugin "io.containerd.snapshotter.v1.btrfs"..." type=io.containerd.snapshotter.v1 
time="2020-08-27T11:57:34.723340100Z" 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="2020-08-27T11:57:34.723367196Z" level=info msg="loading plugin "io.containerd.snapshotter.v1.aufs"..." type=io.containerd.snapshotter.v1 
time="2020-08-27T11:57:34.732467623Z" 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="2020-08-27T11:57:34.732521348Z" level=info msg="loading plugin "io.containerd.snapshotter.v1.native"..." type=io.containerd.snapshotter.v1 
time="2020-08-27T11:57:34.732826786Z" level=info msg="loading plugin "io.containerd.snapshotter.v1.overlayfs"..." type=io.containerd.snapshotter.v1 
time="2020-08-27T11:57:34.733205576Z" level=info msg="loading plugin "io.containerd.snapshotter.v1.zfs"..." type=io.containerd.snapshotter.v1 
time="2020-08-27T11:57:34.733654329Z" level=info msg="skip loading plugin "io.containerd.snapshotter.v1.zfs"..." type=io.containerd.snapshotter.v1 
time="2020-08-27T11:57:34.733685621Z" level=info msg="loading plugin "io.containerd.metadata.v1.bolt"..." type=io.containerd.metadata.v1 
time="2020-08-27T11:57:34.733777140Z" 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: skip plugin" 
time="2020-08-27T11:57:34.733795443Z" 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="2020-08-27T11:57:34.733805527Z" 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="2020-08-27T11:57:34.745943971Z" level=info msg="loading plugin "io.containerd.differ.v1.walking"..." type=io.containerd.differ.v1 
time="2020-08-27T11:57:34.746014042Z" level=info msg="loading plugin "io.containerd.gc.v1.scheduler"..." type=io.containerd.gc.v1 
time="2020-08-27T11:57:34.746205124Z" level=info msg="loading plugin "io.containerd.service.v1.containers-service"..." type=io.containerd.service.v1 
time="2020-08-27T11:57:34.746278752Z" level=info msg="loading plugin "io.containerd.service.v1.content-service"..." type=io.containerd.service.v1 
time="2020-08-27T11:57:34.746298752Z" level=info msg="loading plugin "io.containerd.service.v1.diff-service"..." type=io.containerd.service.v1 
time="2020-08-27T11:57:34.746318906Z" level=info msg="loading plugin "io.containerd.service.v1.images-service"..." type=io.containerd.service.v1 
time="2020-08-27T11:57:34.746338560Z" level=info msg="loading plugin "io.containerd.service.v1.leases-service"..." type=io.containerd.service.v1 
time="2020-08-27T11:57:34.746357860Z" level=info msg="loading plugin "io.containerd.service.v1.namespaces-service"..." type=io.containerd.service.v1 
time="2020-08-27T11:57:34.746374384Z" level=info msg="loading plugin "io.containerd.service.v1.snapshots-service"..." type=io.containerd.service.v1 
time="2020-08-27T11:57:34.746394334Z" level=info msg="loading plugin "io.containerd.runtime.v1.linux"..." type=io.containerd.runtime.v1 
time="2020-08-27T11:57:34.746789183Z" level=info msg="loading plugin "io.containerd.runtime.v2.task"..." type=io.containerd.runtime.v2 
time="2020-08-27T11:57:34.746950199Z" level=info msg="loading plugin "io.containerd.monitor.v1.cgroups"..." type=io.containerd.monitor.v1 
time="2020-08-27T11:57:34.747494831Z" level=info msg="loading plugin "io.containerd.service.v1.tasks-service"..." type=io.containerd.service.v1 
time="2020-08-27T11:57:34.747545955Z" level=info msg="loading plugin "io.containerd.internal.v1.restart"..." type=io.containerd.internal.v1 
time="2020-08-27T11:57:34.747846057Z" level=info msg="loading plugin "io.containerd.grpc.v1.containers"..." type=io.containerd.grpc.v1 
time="2020-08-27T11:57:34.747878203Z" level=info msg="loading plugin "io.containerd.grpc.v1.content"..." type=io.containerd.grpc.v1 
time="2020-08-27T11:57:34.747895515Z" level=info msg="loading plugin "io.containerd.grpc.v1.diff"..." type=io.containerd.grpc.v1 
time="2020-08-27T11:57:34.747910861Z" level=info msg="loading plugin "io.containerd.grpc.v1.events"..." type=io.containerd.grpc.v1 
time="2020-08-27T11:57:34.747934040Z" level=info msg="loading plugin "io.containerd.grpc.v1.healthcheck"..." type=io.containerd.grpc.v1 
time="2020-08-27T11:57:34.747953408Z" level=info msg="loading plugin "io.containerd.grpc.v1.images"..." type=io.containerd.grpc.v1 
time="2020-08-27T11:57:34.747968845Z" level=info msg="loading plugin "io.containerd.grpc.v1.leases"..." type=io.containerd.grpc.v1 
time="2020-08-27T11:57:34.747984806Z" level=info msg="loading plugin "io.containerd.grpc.v1.namespaces"..." type=io.containerd.grpc.v1 
time="2020-08-27T11:57:34.748004128Z" level=info msg="loading plugin "io.containerd.internal.v1.opt"..." type=io.containerd.internal.v1 
time="2020-08-27T11:57:34.748484584Z" level=info msg="loading plugin "io.containerd.grpc.v1.snapshots"..." type=io.containerd.grpc.v1 
time="2020-08-27T11:57:34.748520046Z" level=info msg="loading plugin "io.containerd.grpc.v1.tasks"..." type=io.containerd.grpc.v1 
time="2020-08-27T11:57:34.748539177Z" level=info msg="loading plugin "io.containerd.grpc.v1.version"..." type=io.containerd.grpc.v1 
time="2020-08-27T11:57:34.748568053Z" level=info msg="loading plugin "io.containerd.grpc.v1.introspection"..." type=io.containerd.grpc.v1 
time="2020-08-27T11:57:34.749040080Z" level=info msg=serving... address="/var/run/docker/containerd/containerd-debug.sock" 
time="2020-08-27T11:57:34.749133171Z" level=info msg=serving... address="/var/run/docker/containerd/containerd.sock" 
time="2020-08-27T11:57:34.749145938Z" level=info msg="containerd successfully booted in 0.028153s" 
time="2020-08-27T11:57:34.765841327Z" level=info msg="parsed scheme: \"unix\"" module=grpc
time="2020-08-27T11:57:34.765920975Z" level=info msg="scheme \"unix\" not registered, fallback to default scheme" module=grpc
time="2020-08-27T11:57:34.765968875Z" level=info msg="ccResolverWrapper: sending update to cc: {[{unix:///var/run/docker/containerd/containerd.sock 0  <nil>}] <nil>}" module=grpc
time="2020-08-27T11:57:34.766001803Z" level=info msg="ClientConn switching balancer to \"pick_first\"" module=grpc
time="2020-08-27T11:57:34.768798518Z" level=info msg="parsed scheme: \"unix\"" module=grpc
time="2020-08-27T11:57:34.768830469Z" level=info msg="scheme \"unix\" not registered, fallback to default scheme" module=grpc
time="2020-08-27T11:57:34.768859135Z" level=info msg="ccResolverWrapper: sending update to cc: {[{unix:///var/run/docker/containerd/containerd.sock 0  <nil>}] <nil>}" module=grpc
time="2020-08-27T11:57:34.768875022Z" level=info msg="ClientConn switching balancer to \"pick_first\"" module=grpc
time="2020-08-27T11:57:34.835871495Z" level=info msg="Loading containers: start."
time="2020-08-27T11:57:34.851608781Z" level=warning msg="Running modprobe bridge br_netfilter failed with message: ip: can't find device 'bridge'\nip: can't find device 'br_netfilter'\nbr_netfilter           24576  0 \nmodprobe: can't change directory to '/lib/modules': No such file or directory\n, error: exit status 1"
time="2020-08-27T11:57:35.010475169Z" level=info msg="Default bridge (docker0) is assigned with an IP address 172.17.0.0/16. Daemon option --bip can be used to set a preferred IP address"
time="2020-08-27T11:57:35.158281662Z" level=info msg="Loading containers: done."
time="2020-08-27T11:57:35.225443641Z" level=info msg="Docker daemon" commit=afacb8b7f0 graphdriver(s)=overlay2 version=19.03.8
time="2020-08-27T11:57:35.225749921Z" level=info msg="Daemon has completed initialization"
time="2020-08-27T11:57:35.289330617Z" level=info msg="API listen on /var/run/docker.sock"
time="2020-08-27T11:57:37Z" level=fatal msg="Error authenticating: exit status 1"

@gth7754125
Copy link

gth7754125 commented Aug 27, 2020

I'm seeing the same issue:

  - name: docker-build-push
    image: plugins/docker
    settings:
      username:
        from_secret: docker_username
      password:
        from_secret: docker_password
      registry: example.com
      repo: example.com/foo/bar
      auto_tag: true
      debug: true

Results in:

+ /usr/local/bin/dockerd --data-root /var/lib/docker --host=unix:///var/run/docker.sock
time="2020-08-27T11:57:34.665229128Z" level=info msg="Starting up"
time="2020-08-27T11:57:34.684366927Z" level=warning msg="could not change group /var/run/docker.sock to docker: group docker not found"
time="2020-08-27T11:57:34.686358690Z" level=info msg="libcontainerd: started new containerd process" pid=43
time="2020-08-27T11:57:34.686518312Z" level=info msg="parsed scheme: \"unix\"" module=grpc
time="2020-08-27T11:57:34.686536419Z" level=info msg="scheme \"unix\" not registered, fallback to default scheme" module=grpc
time="2020-08-27T11:57:34.686681066Z" level=info msg="ccResolverWrapper: sending update to cc: {[{unix:///var/run/docker/containerd/containerd.sock 0  <nil>}] <nil>}" module=grpc
time="2020-08-27T11:57:34.686710960Z" level=info msg="ClientConn switching balancer to \"pick_first\"" module=grpc
time="2020-08-27T11:57:34.722132716Z" level=info msg="starting containerd" revision=7ad184331fa3e55e52b890ea95e65ba581ae3429 version=v1.2.13 
time="2020-08-27T11:57:34.722839168Z" level=info msg="loading plugin "io.containerd.content.v1.content"..." type=io.containerd.content.v1 
time="2020-08-27T11:57:34.722969779Z" level=info msg="loading plugin "io.containerd.snapshotter.v1.btrfs"..." type=io.containerd.snapshotter.v1 
time="2020-08-27T11:57:34.723340100Z" 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="2020-08-27T11:57:34.723367196Z" level=info msg="loading plugin "io.containerd.snapshotter.v1.aufs"..." type=io.containerd.snapshotter.v1 
time="2020-08-27T11:57:34.732467623Z" 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="2020-08-27T11:57:34.732521348Z" level=info msg="loading plugin "io.containerd.snapshotter.v1.native"..." type=io.containerd.snapshotter.v1 
time="2020-08-27T11:57:34.732826786Z" level=info msg="loading plugin "io.containerd.snapshotter.v1.overlayfs"..." type=io.containerd.snapshotter.v1 
time="2020-08-27T11:57:34.733205576Z" level=info msg="loading plugin "io.containerd.snapshotter.v1.zfs"..." type=io.containerd.snapshotter.v1 
time="2020-08-27T11:57:34.733654329Z" level=info msg="skip loading plugin "io.containerd.snapshotter.v1.zfs"..." type=io.containerd.snapshotter.v1 
time="2020-08-27T11:57:34.733685621Z" level=info msg="loading plugin "io.containerd.metadata.v1.bolt"..." type=io.containerd.metadata.v1 
time="2020-08-27T11:57:34.733777140Z" 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: skip plugin" 
time="2020-08-27T11:57:34.733795443Z" 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="2020-08-27T11:57:34.733805527Z" 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="2020-08-27T11:57:34.745943971Z" level=info msg="loading plugin "io.containerd.differ.v1.walking"..." type=io.containerd.differ.v1 
time="2020-08-27T11:57:34.746014042Z" level=info msg="loading plugin "io.containerd.gc.v1.scheduler"..." type=io.containerd.gc.v1 
time="2020-08-27T11:57:34.746205124Z" level=info msg="loading plugin "io.containerd.service.v1.containers-service"..." type=io.containerd.service.v1 
time="2020-08-27T11:57:34.746278752Z" level=info msg="loading plugin "io.containerd.service.v1.content-service"..." type=io.containerd.service.v1 
time="2020-08-27T11:57:34.746298752Z" level=info msg="loading plugin "io.containerd.service.v1.diff-service"..." type=io.containerd.service.v1 
time="2020-08-27T11:57:34.746318906Z" level=info msg="loading plugin "io.containerd.service.v1.images-service"..." type=io.containerd.service.v1 
time="2020-08-27T11:57:34.746338560Z" level=info msg="loading plugin "io.containerd.service.v1.leases-service"..." type=io.containerd.service.v1 
time="2020-08-27T11:57:34.746357860Z" level=info msg="loading plugin "io.containerd.service.v1.namespaces-service"..." type=io.containerd.service.v1 
time="2020-08-27T11:57:34.746374384Z" level=info msg="loading plugin "io.containerd.service.v1.snapshots-service"..." type=io.containerd.service.v1 
time="2020-08-27T11:57:34.746394334Z" level=info msg="loading plugin "io.containerd.runtime.v1.linux"..." type=io.containerd.runtime.v1 
time="2020-08-27T11:57:34.746789183Z" level=info msg="loading plugin "io.containerd.runtime.v2.task"..." type=io.containerd.runtime.v2 
time="2020-08-27T11:57:34.746950199Z" level=info msg="loading plugin "io.containerd.monitor.v1.cgroups"..." type=io.containerd.monitor.v1 
time="2020-08-27T11:57:34.747494831Z" level=info msg="loading plugin "io.containerd.service.v1.tasks-service"..." type=io.containerd.service.v1 
time="2020-08-27T11:57:34.747545955Z" level=info msg="loading plugin "io.containerd.internal.v1.restart"..." type=io.containerd.internal.v1 
time="2020-08-27T11:57:34.747846057Z" level=info msg="loading plugin "io.containerd.grpc.v1.containers"..." type=io.containerd.grpc.v1 
time="2020-08-27T11:57:34.747878203Z" level=info msg="loading plugin "io.containerd.grpc.v1.content"..." type=io.containerd.grpc.v1 
time="2020-08-27T11:57:34.747895515Z" level=info msg="loading plugin "io.containerd.grpc.v1.diff"..." type=io.containerd.grpc.v1 
time="2020-08-27T11:57:34.747910861Z" level=info msg="loading plugin "io.containerd.grpc.v1.events"..." type=io.containerd.grpc.v1 
time="2020-08-27T11:57:34.747934040Z" level=info msg="loading plugin "io.containerd.grpc.v1.healthcheck"..." type=io.containerd.grpc.v1 
time="2020-08-27T11:57:34.747953408Z" level=info msg="loading plugin "io.containerd.grpc.v1.images"..." type=io.containerd.grpc.v1 
time="2020-08-27T11:57:34.747968845Z" level=info msg="loading plugin "io.containerd.grpc.v1.leases"..." type=io.containerd.grpc.v1 
time="2020-08-27T11:57:34.747984806Z" level=info msg="loading plugin "io.containerd.grpc.v1.namespaces"..." type=io.containerd.grpc.v1 
time="2020-08-27T11:57:34.748004128Z" level=info msg="loading plugin "io.containerd.internal.v1.opt"..." type=io.containerd.internal.v1 
time="2020-08-27T11:57:34.748484584Z" level=info msg="loading plugin "io.containerd.grpc.v1.snapshots"..." type=io.containerd.grpc.v1 
time="2020-08-27T11:57:34.748520046Z" level=info msg="loading plugin "io.containerd.grpc.v1.tasks"..." type=io.containerd.grpc.v1 
time="2020-08-27T11:57:34.748539177Z" level=info msg="loading plugin "io.containerd.grpc.v1.version"..." type=io.containerd.grpc.v1 
time="2020-08-27T11:57:34.748568053Z" level=info msg="loading plugin "io.containerd.grpc.v1.introspection"..." type=io.containerd.grpc.v1 
time="2020-08-27T11:57:34.749040080Z" level=info msg=serving... address="/var/run/docker/containerd/containerd-debug.sock" 
time="2020-08-27T11:57:34.749133171Z" level=info msg=serving... address="/var/run/docker/containerd/containerd.sock" 
time="2020-08-27T11:57:34.749145938Z" level=info msg="containerd successfully booted in 0.028153s" 
time="2020-08-27T11:57:34.765841327Z" level=info msg="parsed scheme: \"unix\"" module=grpc
time="2020-08-27T11:57:34.765920975Z" level=info msg="scheme \"unix\" not registered, fallback to default scheme" module=grpc
time="2020-08-27T11:57:34.765968875Z" level=info msg="ccResolverWrapper: sending update to cc: {[{unix:///var/run/docker/containerd/containerd.sock 0  <nil>}] <nil>}" module=grpc
time="2020-08-27T11:57:34.766001803Z" level=info msg="ClientConn switching balancer to \"pick_first\"" module=grpc
time="2020-08-27T11:57:34.768798518Z" level=info msg="parsed scheme: \"unix\"" module=grpc
time="2020-08-27T11:57:34.768830469Z" level=info msg="scheme \"unix\" not registered, fallback to default scheme" module=grpc
time="2020-08-27T11:57:34.768859135Z" level=info msg="ccResolverWrapper: sending update to cc: {[{unix:///var/run/docker/containerd/containerd.sock 0  <nil>}] <nil>}" module=grpc
time="2020-08-27T11:57:34.768875022Z" level=info msg="ClientConn switching balancer to \"pick_first\"" module=grpc
time="2020-08-27T11:57:34.835871495Z" level=info msg="Loading containers: start."
time="2020-08-27T11:57:34.851608781Z" level=warning msg="Running modprobe bridge br_netfilter failed with message: ip: can't find device 'bridge'\nip: can't find device 'br_netfilter'\nbr_netfilter           24576  0 \nmodprobe: can't change directory to '/lib/modules': No such file or directory\n, error: exit status 1"
time="2020-08-27T11:57:35.010475169Z" level=info msg="Default bridge (docker0) is assigned with an IP address 172.17.0.0/16. Daemon option --bip can be used to set a preferred IP address"
time="2020-08-27T11:57:35.158281662Z" level=info msg="Loading containers: done."
time="2020-08-27T11:57:35.225443641Z" level=info msg="Docker daemon" commit=afacb8b7f0 graphdriver(s)=overlay2 version=19.03.8
time="2020-08-27T11:57:35.225749921Z" level=info msg="Daemon has completed initialization"
time="2020-08-27T11:57:35.289330617Z" level=info msg="API listen on /var/run/docker.sock"
time="2020-08-27T11:57:37Z" level=fatal msg="Error authenticating: exit status 1"

i figure it out. try using your username and password directly, don't use the secret.
and you may need to add insecure: true

@eboddington
Copy link

Doh, I found my problem - I was using an old password. It works now, without needing to use insecure or to hardcode the password. 🙂

@tboerger
Copy link

Looks like the insecure flag is not really implemented: https://github.com/drone-plugins/drone-docker/search?q=Insecure&unscoped_q=Insecure

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants