Hey, I cant see to publish on docker, it worked before but now on kubernetes it isn’t, this is the log, could someone tell me what im doing wrong ?
+ /usr/local/bin/dockerd -g /var/lib/docker
2 time="2019-01-19T20:26:29Z" level=warning msg="The \"-g / --graph\" flag is deprecated. Please use \"--data-root\" instead"
3 time="2019-01-19T20:26:29.401664456Z" level=warning msg="could not change group /var/run/docker.sock to docker: group docker not found"
4 time="2019-01-19T20:26:29.406223717Z" level=info msg="libcontainerd: started new docker-containerd process" pid=16
5 time="2019-01-19T20:26:29Z" level=info msg="starting containerd" module=containerd revision=89623f28b87a6004d4b785663257362d1658a729 version=v1.0.0
6
7 time="2019-01-19T20:26:29Z" level=info msg="setting subreaper..." module=containerd
8 time="2019-01-19T20:26:29Z" level=info msg="changing OOM score to -500" module=containerd
9 time="2019-01-19T20:26:29Z" level=info msg="loading plugin "io.containerd.content.v1.content"..." module=containerd type=io.containerd.content.v1
10 time="2019-01-19T20:26:29Z" level=info msg="loading plugin "io.containerd.snapshotter.v1.btrfs"..." module=containerd type=io.containerd.snapshotter.v1
11 time="2019-01-19T20:26:29Z" 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" module=containerd
12 time="2019-01-19T20:26:29Z" level=info msg="loading plugin "io.containerd.snapshotter.v1.overlayfs"..." module=containerd type=io.containerd.snapshotter.v1
13 time="2019-01-19T20:26:29Z" level=info msg="loading plugin "io.containerd.metadata.v1.bolt"..." module=containerd type=io.containerd.metadata.v1
14 time="2019-01-19T20:26:29Z" 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" module="containerd/io.containerd.metadata.v1.bolt"
15 time="2019-01-19T20:26:29Z" level=info msg="loading plugin "io.containerd.differ.v1.walking"..." module=containerd type=io.containerd.differ.v1
16 time="2019-01-19T20:26:29Z" level=info msg="loading plugin "io.containerd.gc.v1.scheduler"..." module=containerd type=io.containerd.gc.v1
17 time="2019-01-19T20:26:29Z" level=info msg="loading plugin "io.containerd.grpc.v1.containers"..." module=containerd type=io.containerd.grpc.v1
18 time="2019-01-19T20:26:29Z" level=info msg="loading plugin "io.containerd.grpc.v1.content"..." module=containerd type=io.containerd.grpc.v1
19 time="2019-01-19T20:26:29Z" level=info msg="loading plugin "io.containerd.grpc.v1.diff"..." module=containerd type=io.containerd.grpc.v1
20 time="2019-01-19T20:26:29Z" level=info msg="loading plugin "io.containerd.grpc.v1.events"..." module=containerd type=io.containerd.grpc.v1
21 time="2019-01-19T20:26:29Z" level=info msg="loading plugin "io.containerd.grpc.v1.healthcheck"..." module=containerd type=io.containerd.grpc.v1
22 time="2019-01-19T20:26:29Z" level=info msg="loading plugin "io.containerd.grpc.v1.images"..." module=containerd type=io.containerd.grpc.v1
23 time="2019-01-19T20:26:29Z" level=info msg="loading plugin "io.containerd.grpc.v1.leases"..." module=containerd type=io.containerd.grpc.v1
24 time="2019-01-19T20:26:29Z" level=info msg="loading plugin "io.containerd.grpc.v1.namespaces"..." module=containerd type=io.containerd.grpc.v1
25 time="2019-01-19T20:26:29Z" level=info msg="loading plugin "io.containerd.grpc.v1.snapshots"..." module=containerd type=io.containerd.grpc.v1
26 time="2019-01-19T20:26:29Z" level=info msg="loading plugin "io.containerd.monitor.v1.cgroups"..." module=containerd type=io.containerd.monitor.v1
27 time="2019-01-19T20:26:29Z" level=info msg="loading plugin "io.containerd.runtime.v1.linux"..." module=containerd type=io.containerd.runtime.v1
28 time="2019-01-19T20:26:29Z" level=info msg="loading plugin "io.containerd.grpc.v1.tasks"..." module=containerd type=io.containerd.grpc.v1
29 time="2019-01-19T20:26:29Z" level=info msg="loading plugin "io.containerd.grpc.v1.version"..." module=containerd type=io.containerd.grpc.v1
30 time="2019-01-19T20:26:29Z" level=info msg="loading plugin "io.containerd.grpc.v1.introspection"..." module=containerd type=io.containerd.grpc.v1
31 time="2019-01-19T20:26:29Z" level=info msg=serving... address="/var/run/docker/containerd/docker-containerd-debug.sock" module="containerd/debug"
32 time="2019-01-19T20:26:29Z" level=info msg=serving... address="/var/run/docker/containerd/docker-containerd.sock" module="containerd/grpc"
33 time="2019-01-19T20:26:29Z" level=info msg="containerd successfully booted in 0.013530s" module=containerd
34 time="2019-01-19T20:26:29.640280255Z" level=info msg="Graph migration to content-addressability took 0.00 seconds"
35 time="2019-01-19T20:26:29.640723681Z" level=warning msg="Your kernel does not support swap memory limit"
36 time="2019-01-19T20:26:29.640787107Z" level=warning msg="Your kernel does not support cgroup rt period"
37 time="2019-01-19T20:26:29.640802283Z" level=warning msg="Your kernel does not support cgroup rt runtime"
38 time="2019-01-19T20:26:29.642442696Z" level=info msg="Loading containers: start."
39 time="2019-01-19T20:26:29.667529266Z" level=warning msg="Running modprobe bridge br_netfilter failed with message: ip: can't find device 'bridge'\nbridge 126976 1 br_netfilter\nstp 16384 1 bridge\nllc 16384 2 bridge,stp\nip: can't find device 'br_netfilter'\nbr_netfilter 24576 0 \nbridge 126976 1 br_netfilter\nmodprobe: can't change directory to '/lib/modules': No such file or directory\n, error: exit status 1"
40 time="2019-01-19T20:26:29.684521152Z" level=warning msg="Running modprobe nf_nat failed with message: `ip: can't find device 'nf_nat'\nnf_nat_ipv6 16384 1 ip6table_nat\nnf_nat_masquerade_ipv4 16384 1 ipt_MASQUERADE\nnf_nat_ipv4 16384 1 iptable_nat\nnf_nat 28672 4 nf_nat_ipv6,xt_nat,nf_nat_masquerade_ipv4,nf_nat_ipv4\nnf_conntrack 106496 9 nf_conntrack_ipv6,nf_nat_ipv6,ip_vs,nf_nat_masquerade_ipv4,nf_conntrack_netlink,nf_conntrack_ipv4,nf_nat_ipv4,xt_conntrack,nf_nat\nmodprobe: can't change directory to '/lib/modules': No such file or directory`, error: exit status 1"
41 time="2019-01-19T20:26:29.702467925Z" level=warning msg="Running modprobe xt_conntrack failed with message: `ip: can't find device 'xt_conntrack'\nxt_conntrack 16384 158 \nx_tables 36864 16 xt_set,xt_multiport,iptable_raw,iptable_mangle,ip6_tables,xt_statistic,xt_nat,ipt_REJECT,xt_tcpudp,xt_comment,xt_mark,ipt_MASQUERADE,xt_addrtype,iptable_filter,ip_tables,xt_conntrack\nnf_conntrack 106496 9 nf_conntrack_ipv6,nf_nat_ipv6,ip_vs,nf_nat_masquerade_ipv4,nf_conntrack_netlink,nf_conntrack_ipv4,nf_nat_ipv4,xt_conntrack,nf_nat\nmodprobe: can't change directory to '/lib/modules': No such file or directory`, error: exit status 1"
42
43 time="2019-01-19T20:26:30.023617087Z" 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"
44 time="2019-01-19T20:26:30.107647704Z" level=info msg="Loading containers: done."
45 time="2019-01-19T20:26:30.131791984Z" level=info msg="Docker daemon" commit=c97c6d6 graphdriver(s)=overlay2 version=17.12.0-ce
46 time="2019-01-19T20:26:30.136455350Z" level=info msg="Daemon has completed initialization"
47 time="2019-01-19T20:26:30.186875126Z" level=info msg="API listen on /var/run/docker.sock"
48 time="2019-01-19T20:26:31Z" level=fatal msg="Error authenticating: exit status 1"
and this is the snippet from my .drone.yaml
- name: publish-beta
image: plugins/docker
settings:
repo: xxxxxxxx/xxxxxxx
username:
from_secret: docker_username
password:
from_secret: docker_password
tags: latest
debug: true
when:
branch: dev
event: push