nipreps / fmriprep

fMRIPrep is a robust and easy-to-use pipeline for preprocessing of diverse fMRI data. The transparent workflow dispenses of manual intervention, thereby ensuring the reproducibility of the results.
https://fmriprep.org
Apache License 2.0
637 stars 295 forks source link

getting "tar: Unexpected EOF in archive" error #653

Closed manishsaggar closed 7 years ago

manishsaggar commented 7 years ago

Hi all, I am getting the following error when I try to create a Singularity image using the following command. Any ideas why I am getting this error. I tried creating images for other apps (like CPAC) which were made without this or any error. Thanks for any help!

$ docker run --privileged -t --rm -v /var/run/docker.sock:/var/run/docker.sock -v /Users/saggar/Singularity:/output singularityware/docker2singularity bids/fmriprep:latest
Size: 15318 MB for the singularity container
(1/9) Creating an empty image...
Creating a sparse image with a maximum size of 15318MiB...
Using given image size of 15318
Formatting image (/sbin/mkfs.ext3)
Done. Image can be found at: /tmp/bids_fmriprep_latest-2017-06-13-7a3a119f98c2.img
(2/9) Importing filesystem...
tar: Unexpected EOF in archive
tar: Unexpected EOF in archive
tar: Error is not recoverable: exiting now
chrisgorgo commented 7 years ago

It seems that this bug belongs more to https://github.com/singularityware/docker2singularity than here.

Nonetheless - have you tried resetting Docker and trying again?

manishsaggar commented 7 years ago

Oops sorry. Thanks complete reset (factory reset) worked. Thanks!