You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$ sudo bin/buildkitd --debug --root /var/lib/buildkit
DEBU[0000] auto snapshotter: using overlayfs
INFO[0000] found worker "xc4m3r6kcagve0zbdktzdmurd", labels=map[org.mobyproject.buildkit.worker.os:linux org.mobyproject.buildkit.worker.arch:amd64 org.mobyproject.buildkit.worker.executor:oc
i org.mobyproject.buildkit.worker.snapshotter:overlayfs org.mobyproject.buildkit.worker.hostname:kunal-HP-linux]
WARN[0000] skipping containerd worker, as "/run/containerd/containerd.sock" does not exist
INFO[0000] found 1 workers, default="xc4m3r6kcagve0zbdktzdmurd"
WARN[0000] currently, only the default worker can be used.
INFO[0000] running server on /run/buildkit/buildkitd.sock
DEBU[0003] session started
WARN[0003] oci exporter: unknown option output
DEBU[0004] new ref for local: ocdcj0ssfhdj64hf1hsp8asus
DEBU[0004] diffcopy took: 1.386784ms
DEBU[0004] saved ocdcj0ssfhdj64hf1hsp8asus as local.sharedKey:context:.dockerignore:
DEBU[0004] new ref for local: 256j3w8obasmgk6vfvsslf3gu
DEBU[0004] diffcopy took: 2.562095ms
DEBU[0004] saved 256j3w8obasmgk6vfvsslf3gu as local.sharedKey:dockerfile:Dockerfile:
DEBU[0005] resolving
DEBU[0005] do request request.headers=map[Accept:[application/vnd.docker.distribution.manifest.v2+json, application/vnd.docker.distribution.manifest.list.v2
+json, application/vnd.oci.image.manifest.v1+json, application/vnd.oci.image.index.v1+json, *]] request.method=HEAD url="https://registry-1.docker.io/v2/library/golang/manifests/alpine"
DEBU[0005] fetch response received response.headers=map[Content-Type:[application/json; charset=utf-8] Docker-Distribution-Api-Version:[registry/2.0] Www-Authenticate:[B
earer realm="https://auth.docker.io/token",service="registry.docker.io",scope="repository:library/golang:pull"] Date:[Thu, 28 Jun 2018 01:01:17 GMT] Content-Length:[157] Strict-Transport-Secu
rity:[max-age=31536000]] status="401 Unauthorized" url="https://registry-1.docker.io/v2/library/golang/manifests/alpine"
DEBU[0005] Unauthorized header="Bearer realm="https://auth.docker.io/token",service="registry.docker.io",scope="repository:library/golang:pull""
DEBU[0006] do request request.headers=map[Accept:[application/vnd.docker.distribution.manifest.v2+json, application/vnd.docker.distribution.manifest.list.v2
+json, application/vnd.oci.image.manifest.v1+json, application/vnd.oci.image.index.v1+json, *]] request.method=HEAD url="https://registry-1.docker.io/v2/library/golang/manifests/alpine"
DEBU[0007] fetch response received response.headers=map[Strict-Transport-Security:[max-age=31536000] Content-Length:[2035] Content-Type:[application/vnd.docker.distribut
ion.manifest.list.v2+json] Docker-Content-Digest:[sha256:0cd3f4746c8c592c3f0635b0122ea3cc0d54f0aa64e35853c8344fcbb2a59de7] Docker-Distribution-Api-Version:[registry/2.0] Etag:["sha256:0cd3f47
46c8c592c3f0635b0122ea3cc0d54f0aa64e35853c8344fcbb2a59de7"] Date:[Thu, 28 Jun 2018 01:01:18 GMT]] status="200 OK" url="https://registry-1.docker.io/v2/library/golang/manifests/alpine"
DEBU[0007] resolved desc.digest=sha256:0cd3f4746c8c592c3f0635b0122ea3cc0d54f0aa64e35853c8344fcbb2a59de7
DEBU[0007] fetch digest=sha256:0cd3f4746c8c592c3f0635b0122ea3cc0d54f0aa64e35853c8344fcbb2a59de7 mediatype="application/vnd.docker.distribution.manifest
.list.v2+json" size=2035
.
.
. <snip>
.
.
INFO[0041] No non-localhost DNS nameservers are left in resolv.conf. Using default external servers: [nameserver 8.8.8.8 nameserver 8.8.4.4]
INFO[0041] IPv6 enabled; Adding default IPv6 external servers: [nameserver 2001:4860:4860::8888 nameserver 2001:4860:4860::8844]
ERRO[0041] CNI network error : cni config load failed: no network config found in /etc/cni/net.d: cni plugin not initialized: failed to load cni config
INFO[0041] enabling HostNetworking
DEBU[0041] > creating 0aju552oriyr43uidngjazg1d [/bin/sh -c ip a]
ERRO[0042] CNI network error : cni config load failed: no network config found in /etc/cni/net.d: cni plugin not initialized: failed to load cni config
INFO[0042] enabling HostNetworking
DEBU[0042] > creating bivpsm2090a6vblh21d2c2tsx [/bin/sh -c apk update | tee /b]
ERRO[0043] CNI network error : cni config load failed: no network config found in /etc/cni/net.d: cni plugin not initialized: failed to load cni config
INFO[0043] enabling HostNetworking
DEBU[0043] > creating zwl20vq2km7swrpyqx3ainjyr [/bin/sh -c echo "146" > test.txt]
ERRO[0043] CNI network error : cni config load failed: no network config found in /etc/cni/net.d: cni plugin not initialized: failed to load cni config
INFO[0043] enabling HostNetworking
DEBU[0043] > creating 8m98e5u73cwbcvemm7bdiugcf [/bin/sh -c echo "123" > test.txt]
ERRO[0044] CNI network error : cni config load failed: no network config found in /etc/cni/net.d: cni plugin not initialized: failed to load cni config
INFO[0044] enabling HostNetworking
DEBU[0044] > creating 0j1q8b8rn1owmc5kmy3g9yua5 [/bin/sh -c echo "146" > test.txt]
ERRO[0045] CNI network error : cni config load failed: no network config found in /etc/cni/net.d: cni plugin not initialized: failed to load cni config
INFO[0045] enabling HostNetworking
DEBU[0045] > creating vc3r0ouizrvrsjfp0vfe18fpe [/bin/sh -c apk add vim]
ERRO[0047] CNI network error : cni config load failed: no network config found in /etc/cni/net.d: cni plugin not initialized: failed to load cni config
INFO[0047] enabling HostNetworking
DEBU[0047] > creating uisv3vzt3e6uiosuouf329jgp [/bin/sh -c apk add curl]
DEBU[0049] Using double walk diff for /run/user/1000/containerd-mount519362666 from /run/user/1000/containerd-mount980281976
DEBU[0049] Using double walk diff for /run/user/1000/containerd-mount089746075 from /run/user/1000/containerd-mount512222913
DEBU[0049] Using double walk diff for /run/user/1000/containerd-mount523281184 from /run/user/1000/containerd-mount176372030
DEBU[0049] Using double walk diff for /run/user/1000/containerd-mount134241929 from /run/user/1000/containerd-mount554040319
DEBU[0049] Using double walk diff for /run/user/1000/containerd-mount891756198 from /run/user/1000/containerd-mount926731860
DEBU[0049] Using double walk diff for /run/user/1000/containerd-mount893281992 from /run/user/1000/containerd-mount046448589
DEBU[0049] Using double walk diff for /run/user/1000/containerd-mount177196881 from /run/user/1000/containerd-mount311892282
DEBU[0056] session finished: <nil>
DEBU[0057] remove snapshot key=27v5a0tucnuqapsr3mo9p9hbo snapshotter=overlayfs
DEBU[0057] remove snapshot key=lg5eyfp4jtkj1oszb9nrvrx14 snapshotter=overlayfs
DEBU[0057] remove snapshot key=yrf285da7w6h4zjckcuvk8a4d snapshotter=overlayfs
DEBU[0057] remove content key="sha256:70848703d402cf7229735bf5e4acf5f11252ff9447269bea3f082b34e60dc5ff"
DEBU[0057] remove content key="sha256:9e1353be08648cda69c805d608324332a43f2501d487632a98789e3a1e74cfbf"
DEBU[0057] schedule snapshotter cleanup snapshotter=overlayfs
DEBU[0057] schedule content cleanup
DEBU[0057] removed content digest=sha256:70848703d402cf7229735bf5e4acf5f11252ff9447269bea3f082b34e60dc5ff
DEBU[0057] removed content digest=sha256:9e1353be08648cda69c805d608324332a43f2501d487632a98789e3a1e74cfbf
DEBU[0057] content garbage collected d=664.283µs
DEBU[0057] removed snapshot key="buildkit/4/lg5eyfp4jtkj1oszb9nrvrx14" snapshotter=overlayfs
DEBU[0058] removed snapshot key="buildkit/6/yrf285da7w6h4zjckcuvk8a4d" snapshotter=overlayfs
DEBU[0058] removed snapshot key="buildkit/32/27v5a0tucnuqapsr3mo9p9hbo" snapshotter=overlayfs
DEBU[0058] snapshot garbage collected d=280.235879ms snapshotter=overlayfs
Dockerfile
$ cat Dockerfile
FROM golang:alpine
ENV http_proxy="http://test:1234"
ENV https_proxy="http://test:1234"
RUN ip a
RUN apk update | tee /b
RUN echo "146" > test.txt
RUN echo "123" > test.txt
RUN echo "146" > test.txt
RUN apk add vim
RUN apk add curl