{"action":"created","issue":{"url":"https://api.github.com/repos/singularityware/singularity/issues/1468","repository_url":"https://api.github.com/repos/singularityware/singularity","labels_url":"https://api.github.com/repos/singularityware/singularity/issues/1468/labels{/name}","comments_url":"https://api.github.com/repos/singularityware/singularity/issues/1468/comments","events_url":"https://api.github.com/repos/singularityware/singularity/issues/1468/events","html_url":"https://github.com/singularityware/singularity/issues/1468","id":315267276,"number":1468,"title":"Requirements for running user space singularity","user":{"login":"tmefford","id":18451949,"avatar_url":"https://avatars1.githubusercontent.com/u/18451949?v=4","gravatar_id":"","url":"https://api.github.com/users/tmefford","html_url":"https://github.com/tmefford","followers_url":"https://api.github.com/users/tmefford/followers","following_url":"https://api.github.com/users/tmefford/following{/other_user}","gists_url":"https://api.github.com/users/tmefford/gists{/gist_id}","starred_url":"https://api.github.com/users/tmefford/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tmefford/subscriptions","organizations_url":"https://api.github.com/users/tmefford/orgs","repos_url":"https://api.github.com/users/tmefford/repos","events_url":"https://api.github.com/users/tmefford/events{/privacy}","received_events_url":"https://api.github.com/users/tmefford/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-04-17T22:41:38Z","updated_at":"2018-04-17T23:11:52Z","closed_at":null,"author_association":"NONE","body":"## Version of Singularity:\r\n2.4.5\r\n\r\n### Expected behavior\r\nInstall in user space\r\n\r\n### Actual behavior\r\n\r\nFurther configuration required..\r\n\r\n### Steps to reproduce behavior\r\n\r\nOn page:  http://singularity.lbl.gov/docs-config\r\n \r\nIn the section on “ALLOW SETUID” it says:\r\n \r\n“You can however disable SUID support iff (if and only if) you do not need to use the default Singularity image file format and if your kernel supports user namespaces and you choose to use user namespaces.”\r\n \r\nWe are discussing getting Singularity running on an HPC compute center.   They seem unwilling to install Singularity as root, but allowed the possibility of enabling user namespace.\r\n \r\nWe are not yet singularity experts, though, and the above comment isn’t entirely clear to us, namely “default Singularity image file format”\r\n \r\nWhat other image file format would we use?    Is there an example anywhere of using the default and then of using something else?   Sorry, but I don't quite follow that comment.\r\n \r\nAny light you could throw on the issue would be appreciated.\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/singularityware/singularity/issues/comments/382186344","html_url":"https://github.com/singularityware/singularity/issues/1468#issuecomment-382186344","issue_url":"https://api.github.com/repos/singularityware/singularity/issues/1468","id":382186344,"user":{"login":"dctrud","id":4522799,"avatar_url":"https://avatars1.githubusercontent.com/u/4522799?v=4","gravatar_id":"","url":"https://api.github.com/users/dctrud","html_url":"https://github.com/dctrud","followers_url":"https://api.github.com/users/dctrud/followers","following_url":"https://api.github.com/users/dctrud/following{/other_user}","gists_url":"https://api.github.com/users/dctrud/gists{/gist_id}","starred_url":"https://api.github.com/users/dctrud/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dctrud/subscriptions","organizations_url":"https://api.github.com/users/dctrud/orgs","repos_url":"https://api.github.com/users/dctrud/repos","events_url":"https://api.github.com/users/dctrud/events{/privacy}","received_events_url":"https://api.github.com/users/dctrud/received_events","type":"User","site_admin":false},"created_at":"2018-04-17T23:11:52Z","updated_at":"2018-04-17T23:11:52Z","author_association":"CONTRIBUTOR","body":"Hi @tmefford - you would need to use the `-s` sandbox option to Singularity build, which creates a container inside a directory, rather than as a single image file. So to build a container then run it, your commands would be similar to this:\r\n\r\n```\r\nsingularity build -s mysandbox docker://alpine\r\n\r\nsingularity run --userns mysandbox/\r\n```\r\n\r\nWithout the -s sandbox option by default you would be building a single file holding the container, which would be in 'squashfs' format.\r\n"}}
{"actor":{"display_login":"dctrud"}}