NVIDIA / enroot

A simple yet powerful tool to turn traditional container/OS images into unprivileged sandboxes.
Apache License 2.0
649 stars 94 forks source link

Possible to convert squashed container image back to docker? #145

Closed JohannesTheo closed 1 year ago

JohannesTheo commented 1 year ago

Hello, quick question.

Is there any known way to bring back a squashed container image to the docker world?

Thanks, Johannes

3XX0 commented 1 year ago

Not really no, you can manually unsquash the rootfs and then docker import the resulting directory but you're gonna have to translate all the enroot configuration to the docker equivalents (it should be fairly easy to script with the use of --change)

JohannesTheo commented 1 year ago

Thanks for the quick response! :)