Skip to content
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

Display --link COPY/ADD layers #467

Open
ecki opened this issue Aug 9, 2023 · 2 comments
Open

Display --link COPY/ADD layers #467

ecki opened this issue Aug 9, 2023 · 2 comments
Labels
enhancement Add a new feature

Comments

@ecki
Copy link

ecki commented Aug 9, 2023

What would you like to be added:
I havent seen an method to see if a layer is created from a COPY/ADD --link (i.e. independent of base).
Not sure if this is easily visible in the manifest, but it would be neat to show this.

Why is this needed:
The display of "unmodified" files (from the base image) in such a view made me think it does not work with
--link, but the layer has a stable ID across different base images so I guess it does work.

Thanks a lot for the useful tool.

@ecki ecki added the enhancement Add a new feature label Aug 9, 2023
@ecki
Copy link
Author

ecki commented Aug 9, 2023

BTW: I am not sure if this is caused by link, but when I go on such a layer and say "ctrl-l" it still shows me the unmofigied files from the layer below?

@ecki
Copy link
Author

ecki commented Aug 10, 2023

(retracting my previous comment about /.wh..wh..opq - its not a root level but on the level of the destination directory. which is fine for merging. There seems to be really no marker other than a opaque whiteout on the base directory of an ADD operation)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Add a new feature
Projects
None yet
Development

No branches or pull requests

1 participant