Git Product home page Git Product logo

Comments (3)

profnandaa avatar profnandaa commented on June 11, 2024

ACK, taking a look.

from buildkit.

billywr avatar billywr commented on June 11, 2024

Attempting to build an image for WCOW from a custom frontend using BuildKit will result to error you got (ERROR: failed to solve: hcsshim::ProcessBaseLayer ....) if the custom frontend contains no base layer.

I created a new custom frontend with a NanoServer image as the base layer, but ended up encountering the error below.

  PS E:\repro-4892> docker buildx build .
[+] Building 1.3s (4/4) FINISHED                                                                                      remote:buildkit-exp
 => [internal] load build definition from Dockerfile                                                                                 0.1s
 => => transferring dockerfile: 80B                                                                                                  0.0s
 => resolve image config for docker-image://docker.io/100909/dockerfile-4892:latest                                                  0.4s
 => [auth] 100909/dockerfile-4892:pull token for registry-1.docker.io                                                                0.0s
 => CACHED docker-image://docker.io/100909/dockerfile-4892:latest@sha256:483bf8f1796a24323c1ea215016297988326afb84ddc97312e0fd17b7c  0.0s
 => => resolve docker.io/100909/dockerfile-4892:latest@sha256:483bf8f1796a24323c1ea215016297988326afb84ddc97312e0fd17b7caeb5ca       0.0s
WARNING: No output specified with remote driver. Build result will only remain in the build cache. To push result image into registry use --push or to load image into docker use --load
Dockerfile:1
--------------------
   1 | >>> # syntax=docker.io/100909/dockerfile-4892
   2 |
--------------------
**

ERROR: failed to solve: failed to create shim task: invalid OCI spec - Type 'bind' not supported: unknown

**
View build details: docker-desktop://dashboard/build/buildkit-exp/buildkit-exp0/0gzd6kdf2hllfq7ygzllikkm2

------------

Investigations into the containerd and hcsshim source codes indicate that containerd passes 'windows-layer' as the mount type to hscshim. I suspect that hscshim could be generating predefined mount types (yet to ascertain this).

Any idea of the valid Mount Types for this case?

from buildkit.

profnandaa avatar profnandaa commented on June 11, 2024

/cc. @gabriel-samfira

from buildkit.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.