{"action":"created","issue":{"url":"https://api.github.com/repos/docker/docker/issues/14943","labels_url":"https://api.github.com/repos/docker/docker/issues/14943/labels{/name}","comments_url":"https://api.github.com/repos/docker/docker/issues/14943/comments","events_url":"https://api.github.com/repos/docker/docker/issues/14943/events","html_url":"https://github.com/docker/docker/issues/14943","id":97013605,"number":14943,"title":"Can not reference locally-built image using FROM at dockerfile","user":{"login":"Dmitriusan","id":1825803,"avatar_url":"https://avatars.githubusercontent.com/u/1825803?v=3","gravatar_id":"","url":"https://api.github.com/users/Dmitriusan","html_url":"https://github.com/Dmitriusan","followers_url":"https://api.github.com/users/Dmitriusan/followers","following_url":"https://api.github.com/users/Dmitriusan/following{/other_user}","gists_url":"https://api.github.com/users/Dmitriusan/gists{/gist_id}","starred_url":"https://api.github.com/users/Dmitriusan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Dmitriusan/subscriptions","organizations_url":"https://api.github.com/users/Dmitriusan/orgs","repos_url":"https://api.github.com/users/Dmitriusan/repos","events_url":"https://api.github.com/users/Dmitriusan/events{/privacy}","received_events_url":"https://api.github.com/users/Dmitriusan/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-07-24T09:35:18Z","updated_at":"2015-07-24T09:35:19Z","closed_at":null,"body":"This used to be possible some time ago http://stackoverflow.com/questions/20481225/how-can-i-use-a-local-image-as-the-base-image-with-a-dockerfile\r\n\r\nWhat I'm trying to do, is to build image locally:\r\n```\r\nREPOSITORY                           TAG                 IMAGE ID            CREATED             VIRTUAL SIZE\r\nbase-www-image_img                   latest              f5998cc568b5        16 minutes ago      290.5 MB\r\ndmitriusan/base-www-image_img        latest              f5998cc568b5        16 minutes ago      290.5 MB\r\n```\r\nand then specify it in FROM statement of a dockerfile. Tried both base-www-image_img and dmitriusan/base-www-image_img , but neither works:\r\n\r\n```\r\ndocker build --rm=true -t www.my.container_img --pull=true /opt/payload/www-container\r\nSending build context to Docker daemon  7.68 kB\r\nSending build context to Docker daemon \r\nStep 0 : FROM dmitriusan/base-www-image_img\r\nPulling repository dmitriusan/base-www-image_img\r\nError: image dmitriusan/base-www-image_img:latest not found\r\n```\r\n\r\n```\r\ndocker build --rm=true -t www.my.container_img --pull=true /opt/payload/www-container\r\nSending build context to Docker daemon  7.68 kB\r\nSending build context to Docker daemon \r\nStep 0 : FROM base-www-image_img\r\nPulling repository base-www-image_img\r\nError: image library/base-www-image_img:latest not found\r\n```\r\n\r\nIs it desired to be supported? Could not find any mentions in official documentation.\r\nUsing docker \r\n```\r\ndocker --version\r\nDocker version 1.7.0, build 0baf609\r\n```"},"comment":{"url":"https://api.github.com/repos/docker/docker/issues/comments/124456018","html_url":"https://github.com/docker/docker/issues/14943#issuecomment-124456018","issue_url":"https://api.github.com/repos/docker/docker/issues/14943","id":124456018,"user":{"login":"GordonTheTurtle","id":10620046,"avatar_url":"https://avatars.githubusercontent.com/u/10620046?v=3","gravatar_id":"","url":"https://api.github.com/users/GordonTheTurtle","html_url":"https://github.com/GordonTheTurtle","followers_url":"https://api.github.com/users/GordonTheTurtle/followers","following_url":"https://api.github.com/users/GordonTheTurtle/following{/other_user}","gists_url":"https://api.github.com/users/GordonTheTurtle/gists{/gist_id}","starred_url":"https://api.github.com/users/GordonTheTurtle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GordonTheTurtle/subscriptions","organizations_url":"https://api.github.com/users/GordonTheTurtle/orgs","repos_url":"https://api.github.com/users/GordonTheTurtle/repos","events_url":"https://api.github.com/users/GordonTheTurtle/events{/privacy}","received_events_url":"https://api.github.com/users/GordonTheTurtle/received_events","type":"User","site_admin":false},"created_at":"2015-07-24T09:35:19Z","updated_at":"2015-07-24T09:35:19Z","body":"Hi!\n\t\nPlease read this important information about creating issues.\n\nIf you are reporting a new issue, make sure that we do not have any duplicates already open. You can ensure this by searching the issue list for this repository. If there is a duplicate, please close your issue and add a comment to the existing issue instead.\n\nIf you suspect your issue is a bug, please edit your issue description to include the BUG REPORT INFORMATION shown below. If you fail to provide this information within 7 days, we cannot debug your issue and will close it. We will, however, reopen it if you later provide the information.\n\nThis is an automated, informational response. \n\nThank you.\n\nFor more information about reporting issues, see https://github.com/docker/docker/blob/master/CONTRIBUTING.md#reporting-other-issues \n\n-----------------------------\nBUG REPORT INFORMATION\n-----------------------------\nUse the commands below to provide key information from your environment:\n\n`docker version`:\n`docker info`:\n`uname -a`:\n\nProvide additional environment details (AWS, VirtualBox, physical, etc.):\n\n\n\nList the steps to reproduce the issue:\n1.\n2.\n3.\n\n\nDescribe the results you received:\n\n\nDescribe the results you expected:\n\n\nProvide additional info you think is important:\n\n\n----------END REPORT ---------\n\n\n\n#ENEEDMOREINFO\n"}}