genuinetools / img

Standalone, daemon-less, unprivileged Dockerfile and OCI compatible container image builder.
https://blog.jessfraz.com/post/building-container-images-securely-on-kubernetes/
MIT License
3.89k stars 230 forks source link

Option to force unpack to write to an existing / not empty directory? #245

Open pwFoo opened 5 years ago

pwFoo commented 5 years ago

Is it possible to force unpack to write to an existing and not empty directory?

I have some images which should be combined to a single rootfs, but img stops unpack because directory already exists.

destination directory already exists: /rootfs

A "force" flag would be nice to write to existing / not empty directory?

issue-label-bot[bot] commented 5 years ago

Issue-Label Bot is automatically applying the label enhancement to this issue, with a confidence of 0.78. Please mark this comment with :thumbsup: or :thumbsdown: to give our bot feedback!

Links: app homepage, dashboard and code for this bot.