Comments (3)
ACK, taking a look.
from buildkit.
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.
/cc. @gabriel-samfira
from buildkit.
Related Issues (20)
- Buildkit export getting delayed on exporting layers stage HOT 2
- docs: proposal to raise awareness about an unexpected behavior of COPY --link
- [Feature Request] Add --cache-repo option to cache layers
- The heredoc syntax is not being recognized. HOT 8
- dockerfile: improve caching source metadata resolve requests
- Option to disable OpenTelemetry
- Option to disable submodules / recursive clone
- Rename JSONArgsRecommended to ExecArgsRecommended
- Verify linting rules descriptions and links HOT 5
- Buildkit containers should stop running automatically after an image has been successfully built HOT 3
- WCOW: local and tar exporters on Windows failing with error: `"Access is denied."` HOT 1
- rewrite-timestamp with type=docker or type/image HOT 1
- Default to all targets when running build linting checks
- buildx over ssh no longer works with docker compose HOT 4
- Unable to delete a builder with incorrect configuration HOT 1
- `ADD [URL] [DEST]` fails if the source address has same URI and different query string HOT 2
- TestUndeclaredArg fails on arm64
- Refactor cache export interface HOT 2
- Incorrect DNS options with host networking when buildkit is run as docker-container on a host with systemd-resolved HOT 1
- WCOW: local and tar exporter to exclude known non-exportable files/dirs HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from buildkit.