Skip to content

unrecognized image format ( failed to solve with frontend dockerfile.v0: failed to read dockerfile: failed to add snapshot x0je4kq7o7yz8r0hc66djbuxn to lease: unknown method AddResource for service containerd.services.leases.v1.Leases: not implemented) #171

@zjcnew

Description

@zjcnew

[root@localhost ks-apiserver]# nerdctl build -t test .
[+] Building 0.0s (1/2)
=> ERROR [internal] load build definition from Dockerfile 0.0s
[internal] load build definition from Dockerfile:
error: failed to solve: rpc error: code = Unknown desc = failed to solve with frontend dockerfile.v0: failed to read dockerfile: failed to add snapshot x0je4kq7o7yz8r0hc66djbuxn to lease: unknown method AddResource for service containerd.services.leases.v1.Leases: not implemented
FATA[0000] unrecognized image format
[root@localhost ks-apiserver]#

[root@localhost ks-apiserver]# cat Dockerfile
FROM alpine:3.11

ARG HELM_VERSION=v3.5.2

RUN apk add --no-cache ca-certificates
RUN wget https://get.helm.sh/helm-${HELM_VERSION}-linux-amd64.tar.gz &&
tar xvf helm-${HELM_VERSION}-linux-amd64.tar.gz &&
rm helm-${HELM_VERSION}-linux-amd64.tar.gz &&
mv linux-amd64/helm /usr/bin/ &&
rm -rf linux-amd64
COPY ks-apiserver /usr/local/bin/

EXPOSE 9090
CMD ["sh"]

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions