{"action":"opened","issue":{"url":"https://api.github.com/repos/singularityware/singularity/issues/422","repository_url":"https://api.github.com/repos/singularityware/singularity","labels_url":"https://api.github.com/repos/singularityware/singularity/issues/422/labels{/name}","comments_url":"https://api.github.com/repos/singularityware/singularity/issues/422/comments","events_url":"https://api.github.com/repos/singularityware/singularity/issues/422/events","html_url":"https://github.com/singularityware/singularity/issues/422","id":196802881,"number":422,"title":"runscript not found when obtained from Docker","user":{"login":"vsoch","id":814322,"avatar_url":"https://avatars.githubusercontent.com/u/814322?v=3","gravatar_id":"","url":"https://api.github.com/users/vsoch","html_url":"https://github.com/vsoch","followers_url":"https://api.github.com/users/vsoch/followers","following_url":"https://api.github.com/users/vsoch/following{/other_user}","gists_url":"https://api.github.com/users/vsoch/gists{/gist_id}","starred_url":"https://api.github.com/users/vsoch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vsoch/subscriptions","organizations_url":"https://api.github.com/users/vsoch/orgs","repos_url":"https://api.github.com/users/vsoch/repos","events_url":"https://api.github.com/users/vsoch/events{/privacy}","received_events_url":"https://api.github.com/users/vsoch/received_events","type":"User","site_admin":false},"labels":[{"id":271060103,"url":"https://api.github.com/repos/singularityware/singularity/labels/bug","name":"bug","color":"fc2929","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-12-20T22:57:05Z","updated_at":"2016-12-20T22:57:05Z","closed_at":null,"body":"If I am importing an image from docker, the runscript file is generated as `/singularity` but the container does not find it. Eg.\r\n\r\n      sudo singularity create mongo.img\r\n      sudo singularity import mongo.img docker://mongo:latest\r\n\r\nblabla bootstrap. Then:\r\n\r\n      $ ./mongo.img \r\n      No Singularity runscript found, executing /bin/sh \r\n      Singularity.mongo.img> $ ls /singularity\r\n      /singularity\r\n\r\nIf I bootstrap this same container but define it myself (via the bootstrap spec below) it does work. First, here is the spec:\r\n\r\n      BootStrap: docker\r\n      From: mongo:latest\r\n\r\n      %runscript\r\n\r\n      exec /entrypoint.sh \"$@\"\r\n\r\nand then creating:\r\n\r\n      sudo singularity create mongo.img\r\n      sudo singularity bootstrap mongo.img Singularity\r\n\r\nand then running:\r\n\r\n      $ ./mongo.img --help\r\n      Options:\r\n\r\n      General options:\r\n        -h [ --help ]                         show this usage information\r\n        --version                             show version information\r\n        -f [ --config ] arg                   configuration file specifying \r\n\r\nProbably is an issue with making the file executable, or something like that? We still need to finish up the bootstrap --> .env folder --> docker bit, so when we do that, I can look into this.\r\n\r\n\r\n"}}
{"actor":{"display_login":"vsoch"}}