We are running drone 1.6.5 on GKE cluster and trying to use gcr plugin but there are some issues.
On the first add command in the Dockerfile it fails with error:
rpc error: code = Unknown desc = Error: No such container: 2695c06191d6f47ae8a8565ae7abfaa2e3ade5d439a5c11541e81d071af663ce
step config:
- name: build_lein_deps_saver
image: plugins/gcr
settings:
repo: xxxx/lein_deps_saver
tags: latest
json_key:
from_secret: goog-app-cred
dockerfile: Dockerfile_lein_deps_saver
volumes:- name: docker
path: /var/run/
- name: docker
Please advise
Full log below:
- /usr/local/bin/dockerd --data-root /var/lib/docker
2 + /usr/local/bin/docker version
3 Client: Docker Engine - Community
4 Version: 18.09.0
5 API version: 1.39
6 Go version: go1.10.4
7 Git commit: 4d60db4
8 Built: Wed Nov 7 00:46:51 2018
9 OS/Arch: linux/amd64
10 Experimental: false
11
12 Server: Docker Engine - Community
13 Engine:
14 Version: 18.09.0
15 API version: 1.39 (minimum version 1.12)
16 Go version: go1.10.4
17 Git commit: 4d60db4
18 Built: Wed Nov 7 00:52:55 2018
19 OS/Arch: linux/amd64
20 Experimental: false
21 + /usr/local/bin/docker info
22 Containers: 0
23 Running: 0
24 Paused: 0
25 Stopped: 0
26 Images: 0
27 Server Version: 18.09.0
28 Storage Driver: overlay2
29 Backing Filesystem: extfs
30 Supports d_type: true
31 Native Overlay Diff: true
32 Logging Driver: json-file
33 Cgroup Driver: cgroupfs
34 Plugins:
35 Volume: local
36 Network: bridge host macvlan null overlay
37 Log: awslogs fluentd gcplogs gelf journald json-file local logentries splunk syslog
38 Swarm: inactive
39 Runtimes: runc
40 Default Runtime: runc
41 Init Binary: docker-init
42 containerd version:
43 runc version: 69663f0bd4b60df09991c08812a60108003fa340
44 init version: fec3683
45 Security Options:
46 seccomp
47 Profile: default
48 Kernel Version: 4.15.0-1044-gke
49 Operating System: Alpine Linux v3.8 (containerized)
50 OSType: linux
51 Architecture: x86_64
52 CPUs: 4
53 Total Memory: 14.68GiB
54 Name: uje4hbpe0kdwnopejgvu42skdhwe4f2m
55 ID: 7UGG:JK6I:UNEK:GERD:3WHK:LNSD:2BXZ:WN4H:CMDN:PZOT:PWET:AJQC
56 Docker Root Dir: /var/lib/docker
57 Debug Mode (client): false
58 Debug Mode (server): false
59 Registry: https://index.docker.io/v1/
60 Labels:
61 Experimental: false
62 Insecure Registries:
63 127.0.0.0/8
64 Live Restore Enabled: false
65 Product License: Community Engine
66
67 WARNING: No swap limit support
68 WARNING: bridge-nf-call-iptables is disabled
69 WARNING: bridge-nf-call-ip6tables is disabled
70 + /usr/local/bin/docker build --rm=true -f Dockerfile_lein_deps_saver -t 423d879fe052532fc3a058f5f6c2b1deada5c095 . --pull=true --label org.label-schema.schema-version=1.0 --label org.label-schema.build-date=2020-02-20T09:11:50Z --label org.label-schema.vcs-ref=423d879fe052532fc3a058f5f6c2b1deada5c095 --label org.label-schema.vcs-url=https://github.com/CyCognito/altair.git
71
72 Sending build context to Docker daemon 613.4kB
73 Step 1/10 : FROM clojure:lein-2.9.1-alpine
74
75 lein-2.9.1-alpine: Pulling from library/clojure
76 e7c96db7181b: Pulling fs layer
77 f910a506b6cb: Pulling fs layer
78 c2274a1a0e27: Pulling fs layer
79 d905bfc7c40a: Pulling fs layer
80 fe6c82bc130b: Pulling fs layer
81 cd279dbe107c: Pulling fs layer
82 fe6c82bc130b: Waiting
83 cd279dbe107c: Waiting
84 d905bfc7c40a: Waiting
85
86 f910a506b6cb: Verifying Checksum
87 f910a506b6cb: Download complete
88
89 e7c96db7181b: Verifying Checksum
90 e7c96db7181b: Download complete
91
92 e7c96db7181b: Pull complete
93 d905bfc7c40a: Verifying Checksum
94 d905bfc7c40a: Download complete
95
96 fe6c82bc130b: Verifying Checksum
97 fe6c82bc130b: Download complete
98 rpc error: code = Unknown desc = Error: No such container: 2695c06191d6f47ae8a8565ae7abfaa2e3ade5d439a5c11541e81d071af663ce