-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
WCOW fails to load custom frontend #4892
Comments
ACK, taking a look. |
Attempting to build an image for WCOW from a custom frontend using BuildKit will result to error you got ( I created a new custom frontend with a NanoServer image as the base layer, but ended up encountering the error below.
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? |
/cc. @gabriel-samfira |
Official custom frontends don't seem to be published for Windows yet, so I applied the following patch to publish my own at
ghcr.io/pl4nty/dockerfile:master
usingfrontend/dockerfile/cmd/dockerfile-frontend/hack/release
.Attempts to use it fail with the following error:
I've followed the WCOW setup guide and replicated locally and on GitHub Actions.
C:\ProgramData\containerd\root\io.containerd.snapshotter.v1.windows\snapshots
exists locally, but only contains a1
folder. I noticed the number increments after each build.The text was updated successfully, but these errors were encountered: