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

umoci-insert needs to support (opaque) whiteouts #257

Closed
cyphar opened this issue Sep 8, 2018 · 0 comments · Fixed by #258
Closed

umoci-insert needs to support (opaque) whiteouts #257

cyphar opened this issue Sep 8, 2018 · 0 comments · Fixed by #258
Milestone

Comments

@cyphar
Copy link
Member

cyphar commented Sep 8, 2018

Basically it should be possible to do both of these:

% umoci insert --opaque ./some/dir /etc # mask old /etc/* entries
% umoci insert --whiteout /opt/blah     # delete this entry

The former should mask away all of the previous entries under /etc (by adding an /etc/.wh..opq to the layer), while the latter should create a whiteout of the path /opt/blah. This is necessary for a generally-usable insertion system.

Also we should consider how this will interact with the long-term goal of #256.

@cyphar cyphar added this to the 0.4.2 milestone Sep 8, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant