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

Container Image deletes itself after every 'run' #8

Open
akshayMpatel opened this issue Jun 25, 2020 · 2 comments
Open

Container Image deletes itself after every 'run' #8

akshayMpatel opened this issue Jun 25, 2020 · 2 comments
Assignees

Comments

@akshayMpatel
Copy link

Running command:
singularity run --cleanenv my_container.simg -b /batch/cat_standalone_segment.txt my.nii

Results in :
...
INFO: Cleaning up image...

And the image is then deleted.

Same occurs with many other variants of 'run' interface built for this container.

@m-wierzba
Copy link
Owner

Thank you for your interest, I admit this is an intriguing issue! Let me make sure that I understand the problem.

  1. Can you tell a bit more about your setup (OS, singularity version, local machine vs computing cluster, sudo privileges, etc.)?
  2. Do you mean that the .simg image file is deleted (unclear if you mean .simg or .nii here)?

If this is not a problem, it would be helpful to see:

  • the log from container build:
    sudo singularity build my_container.simg Singularity > build.log
  • the log from container run:
    singularity run --cleanenv my_container.simg -b /batch/cat_standalone_segment.txt my.nii > run.log

Feel free to attach the logs here, or send them by e-mail.

@akshayMpatel
Copy link
Author

akshayMpatel commented Jun 30, 2020

  1. CentOS7, singularity version 3.5.3-1.1.el7, local machine, non-sudo privileges built with --fakeroot,
  2. .simg is deleted

The requested logs are attached.

build.Tue Jun 30 12:11:48 CEST 2020.log

run.Tue Jun 30 12:53:40 CEST 2020.log

(The run was killed this time due to system resource management.)

Many thanks

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

No branches or pull requests

3 participants