{"action":"created","issue":{"url":"https://api.github.com/repos/datalad/datalad-container/issues/20","repository_url":"https://api.github.com/repos/datalad/datalad-container","labels_url":"https://api.github.com/repos/datalad/datalad-container/issues/20/labels{/name}","comments_url":"https://api.github.com/repos/datalad/datalad-container/issues/20/comments","events_url":"https://api.github.com/repos/datalad/datalad-container/issues/20/events","html_url":"https://github.com/datalad/datalad-container/issues/20","id":324615591,"number":20,"title":"Support systemd-nspawn","user":{"login":"mih","id":136479,"avatar_url":"https://avatars1.githubusercontent.com/u/136479?v=4","gravatar_id":"","url":"https://api.github.com/users/mih","html_url":"https://github.com/mih","followers_url":"https://api.github.com/users/mih/followers","following_url":"https://api.github.com/users/mih/following{/other_user}","gists_url":"https://api.github.com/users/mih/gists{/gist_id}","starred_url":"https://api.github.com/users/mih/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mih/subscriptions","organizations_url":"https://api.github.com/users/mih/orgs","repos_url":"https://api.github.com/users/mih/repos","events_url":"https://api.github.com/users/mih/events{/privacy}","received_events_url":"https://api.github.com/users/mih/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2018-05-19T09:18:42Z","updated_at":"2018-05-19T12:56:39Z","closed_at":null,"author_association":"MEMBER","body":"Here is the info: https://www.freedesktop.org/software/systemd/man/systemd-nspawn.html\r\n\r\nAdvantages:\r\n- pretty much comes with any modern distro.\r\n- works with chroot directories and filesystem images\r\n- allows for filesystem overlays\r\n\r\nDisadvantages:\r\n- needs executing user to have permission to execute `systemd-nspawn`, i.e. become root (typically via sudo)\r\n\r\nWhat needs to be implemented:\r\n- pretty much nothing\r\n- demo in docs with pointers on how to create images/chroots and how to add such a container are sufficient\r\n\r\n\r\nAlternatives:\r\n\r\n- schroot (but that also needs root, so no obvious advantages)\r\n- linux-user-chroot (older, but might be sufficient in many cases: https://linux.die.net/man/8/linux-user-chroot)"},"comment":{"url":"https://api.github.com/repos/datalad/datalad-container/issues/comments/390403235","html_url":"https://github.com/datalad/datalad-container/issues/20#issuecomment-390403235","issue_url":"https://api.github.com/repos/datalad/datalad-container/issues/20","id":390403235,"user":{"login":"mih","id":136479,"avatar_url":"https://avatars1.githubusercontent.com/u/136479?v=4","gravatar_id":"","url":"https://api.github.com/users/mih","html_url":"https://github.com/mih","followers_url":"https://api.github.com/users/mih/followers","following_url":"https://api.github.com/users/mih/following{/other_user}","gists_url":"https://api.github.com/users/mih/gists{/gist_id}","starred_url":"https://api.github.com/users/mih/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mih/subscriptions","organizations_url":"https://api.github.com/users/mih/orgs","repos_url":"https://api.github.com/users/mih/repos","events_url":"https://api.github.com/users/mih/events{/privacy}","received_events_url":"https://api.github.com/users/mih/received_events","type":"User","site_admin":false},"created_at":"2018-05-19T12:56:39Z","updated_at":"2018-05-19T12:56:39Z","author_association":"MEMBER","body":"There seems to be no way to keep a chroot directory in a git repo and still have it functional. Hence any exploration of this kind would require a set of management scripts (like those we outlined for docker): untar, run, throw away directory."}}
{"actor":{"display_login":"mih"}}