ReproNim / neurodocker

Generate custom Docker and Singularity images, and minimize existing containers
https://www.repronim.org/neurodocker/
Apache License 2.0
327 stars 97 forks source link

Added "--add" command line option to add tar files as docker layers. #597

Closed Vbitz closed 8 months ago

Vbitz commented 8 months ago

The --add option allows tar files to be added to docker containers without extracting inside the container or using intermediate layers.

For example if you have a rootfs in .tar.gz format named hello.tar.gz you can use the following command to add it.

neurodocker generate docker -b ubuntu -p apt --add ./hello.tar.gz /

This option is not currently supported with singularity.