{"action":"created","issue":{"url":"https://api.github.com/repos/SUSE/Portus/issues/469","labels_url":"https://api.github.com/repos/SUSE/Portus/issues/469/labels{/name}","comments_url":"https://api.github.com/repos/SUSE/Portus/issues/469/comments","events_url":"https://api.github.com/repos/SUSE/Portus/issues/469/events","html_url":"https://github.com/SUSE/Portus/issues/469","id":112609777,"number":469,"title":"Clean setup using `./compose-setup.sh` fails due missing `portus_web` image","user":{"login":"jjperezaguinaga","id":1128312,"avatar_url":"https://avatars.githubusercontent.com/u/1128312?v=3","gravatar_id":"","url":"https://api.github.com/users/jjperezaguinaga","html_url":"https://github.com/jjperezaguinaga","followers_url":"https://api.github.com/users/jjperezaguinaga/followers","following_url":"https://api.github.com/users/jjperezaguinaga/following{/other_user}","gists_url":"https://api.github.com/users/jjperezaguinaga/gists{/gist_id}","starred_url":"https://api.github.com/users/jjperezaguinaga/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jjperezaguinaga/subscriptions","organizations_url":"https://api.github.com/users/jjperezaguinaga/orgs","repos_url":"https://api.github.com/users/jjperezaguinaga/repos","events_url":"https://api.github.com/users/jjperezaguinaga/events{/privacy}","received_events_url":"https://api.github.com/users/jjperezaguinaga/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/SUSE/Portus/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/SUSE/Portus/labels/docker-compose","name":"docker-compose","color":"fef2c0"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2015-10-21T15:01:54Z","updated_at":"2015-10-22T12:10:53Z","closed_at":null,"body":"While executing `./compose-setup.sh` on a simple docker-enabled machine after just a `git clone`, I got the following error:\r\n\r\n```\r\nPulling crono (portus_web:latest)...\r\nPulling repository docker.io/library/portus_web\r\nError: image library/portus_web:latest not found\r\n```\r\n\r\nIf I do `docker images` I get the following:\r\n\r\n```\r\n➜  docker-registry git:(master) docker images\r\nREPOSITORY           TAG                 IMAGE ID            CREATED              VIRTUAL SIZE\r\ndockerregistry_web   latest              4c16c0c6f4ae        About a minute ago   978.5 MB\r\nmariadb              latest              7504612e8279        6 days ago           302.2 MB\r\nregistry             2.1.1               7fcb4e2b13fd        8 days ago           220.7 MB\r\nrails                4.2.2               60817b3bf81b        4 months ago         884.7 MB\r\n```\r\n\r\nMy bet is that the image has a different name, so I'll dig on that."},"comment":{"url":"https://api.github.com/repos/SUSE/Portus/issues/comments/150202149","html_url":"https://github.com/SUSE/Portus/issues/469#issuecomment-150202149","issue_url":"https://api.github.com/repos/SUSE/Portus/issues/469","id":150202149,"user":{"login":"jjperezaguinaga","id":1128312,"avatar_url":"https://avatars.githubusercontent.com/u/1128312?v=3","gravatar_id":"","url":"https://api.github.com/users/jjperezaguinaga","html_url":"https://github.com/jjperezaguinaga","followers_url":"https://api.github.com/users/jjperezaguinaga/followers","following_url":"https://api.github.com/users/jjperezaguinaga/following{/other_user}","gists_url":"https://api.github.com/users/jjperezaguinaga/gists{/gist_id}","starred_url":"https://api.github.com/users/jjperezaguinaga/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jjperezaguinaga/subscriptions","organizations_url":"https://api.github.com/users/jjperezaguinaga/orgs","repos_url":"https://api.github.com/users/jjperezaguinaga/repos","events_url":"https://api.github.com/users/jjperezaguinaga/events{/privacy}","received_events_url":"https://api.github.com/users/jjperezaguinaga/received_events","type":"User","site_admin":false},"created_at":"2015-10-22T12:10:53Z","updated_at":"2015-10-22T12:10:53Z","body":"@mssola I think I know what it is. So when I cloned the repository, I created it inside my own custom named folder (i.e. docker-registry). Since `docker-compose` is building up based on the extended `docker-compose-common.yml` and it goes `..` (see https://github.com/SUSE/Portus/blob/master/docker/compose-common.yml#L2) then it will use the directory name. There's a chance that because your working dir is named `portus` it will build the docker image as `portus_web` and in my case `dockerregistry_web`.\r\n\r\nI'm 95% sure this is the cause, so I'm renaming my cwd with portus and should work. If it works, I'll see if I can get a PR that either makes sure the cwd is named portus or that on build we tag the image with the proper name (I think the second option is better). Either way, I'm running the compose script and I'll update again when its done."}}