Comments (3)
This bug will be present (kind of) in stargzify
if you use the -flatten
flag, I think:
crfs/stargz/stargzify/stargzify.go
Line 233 in 1259948
... since we don't support the ..opq
syntax upstream in our flattening code: https://github.com/google/go-containerregistry/blob/50b26ee28691d22901fa3f55c52bdedf6c6a0be1/pkg/v1/mutate/mutate.go#L159
from crfs.
I'm a little confused about the bug & PR. I had assumed since CRFS wasn't doing the merging itself (and is just letting overlayfs do it), all we had to do was faithfully represent each layer's filesystem (whiteout gunk and all) and overlayfs would be happy.
But it's our job to map OCI whiteout spec to overlayfs's whiteout spec?
What normally does that in a non-CRFS world? I guess the code that untars it all to disk?
Anyway, TIL.
@jonjohnsonjr, are you able to review that PR since you seem to know this a bit better than I do?
from crfs.
But it's our job to map OCI whiteout spec to overlayfs's whiteout spec?
It's pretty unfortunate, yeah :( See opencontainers/image-spec#24. I believe the convention comes from AUFS.
What normally does that in a non-CRFS world? I guess the code that untars it all to disk?
I believe so, e.g. here's containerd's approach: https://github.com/containerd/containerd/blob/985bba61ff46c5a24f4a5345f6d1da8c63568bad/archive/tar.go#L120
are you able to review that PR
I'll take a look.
from crfs.
Related Issues (16)
- Alternate VFS question HOT 2
- comment on CVMFS HOT 5
- Support docker private registry API HOT 6
- Support merging layers using Overlayfs
- Contents of big files are broken
- Hard-linked files cannot be read and the link counts aren't correct.
- stargzify: Stargzifying images using HTTP fails HOT 1
- stargzify: Pushing blobs fail with DIGEST_INVALID occasionally because of race HOT 1
- stargzify: stargzifying an image twice results in a broken image
- Support mode that refreshes contents as image tag is updated on registry? HOT 7
- Owner info of directories aren't preserved
- Link count of direcoties are incorrect
- Incorrect non-unicode file path processing
- Just take a look at another NEW implementation from us !
- go build -mod=readonly failed
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 crfs.