{"action":"created","issue":{"url":"https://api.github.com/repos/bazelbuild/bazel/issues/1113","repository_url":"https://api.github.com/repos/bazelbuild/bazel","labels_url":"https://api.github.com/repos/bazelbuild/bazel/issues/1113/labels{/name}","comments_url":"https://api.github.com/repos/bazelbuild/bazel/issues/1113/comments","events_url":"https://api.github.com/repos/bazelbuild/bazel/issues/1113/events","html_url":"https://github.com/bazelbuild/bazel/issues/1113","id":145229480,"number":1113,"title":"docker_build does not support docker 1.10","user":{"login":"chenkan1994","id":3645791,"avatar_url":"https://avatars.githubusercontent.com/u/3645791?v=3","gravatar_id":"","url":"https://api.github.com/users/chenkan1994","html_url":"https://github.com/chenkan1994","followers_url":"https://api.github.com/users/chenkan1994/followers","following_url":"https://api.github.com/users/chenkan1994/following{/other_user}","gists_url":"https://api.github.com/users/chenkan1994/gists{/gist_id}","starred_url":"https://api.github.com/users/chenkan1994/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chenkan1994/subscriptions","organizations_url":"https://api.github.com/users/chenkan1994/orgs","repos_url":"https://api.github.com/users/chenkan1994/repos","events_url":"https://api.github.com/users/chenkan1994/events{/privacy}","received_events_url":"https://api.github.com/users/chenkan1994/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/bazelbuild/bazel/labels/Bug","name":"Bug","color":"fc2929"},{"url":"https://api.github.com/repos/bazelbuild/bazel/labels/Cloud%20/%20App%20Engine%20/%20Docker","name":"Cloud / App Engine / Docker","color":"bfd4f2"},{"url":"https://api.github.com/repos/bazelbuild/bazel/labels/P2","name":"P2","color":"fbca04"},{"url":"https://api.github.com/repos/bazelbuild/bazel/labels/Skylark%20build%20defs","name":"Skylark build defs","color":"bfd4f2"}],"state":"open","locked":false,"assignee":{"login":"damienmg","id":3721087,"avatar_url":"https://avatars.githubusercontent.com/u/3721087?v=3","gravatar_id":"","url":"https://api.github.com/users/damienmg","html_url":"https://github.com/damienmg","followers_url":"https://api.github.com/users/damienmg/followers","following_url":"https://api.github.com/users/damienmg/following{/other_user}","gists_url":"https://api.github.com/users/damienmg/gists{/gist_id}","starred_url":"https://api.github.com/users/damienmg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/damienmg/subscriptions","organizations_url":"https://api.github.com/users/damienmg/orgs","repos_url":"https://api.github.com/users/damienmg/repos","events_url":"https://api.github.com/users/damienmg/events{/privacy}","received_events_url":"https://api.github.com/users/damienmg/received_events","type":"User","site_admin":false},"milestone":null,"comments":10,"created_at":"2016-04-01T16:50:52Z","updated_at":"2016-04-05T08:29:01Z","closed_at":null,"body":"Hi all:\r\n\r\nI am using bazel to build docker images with following code:\r\n\r\n``` bazel\r\nload(\"@bazel_tools//tools/build_defs/docker:docker.bzl\", \"docker_build\")\r\n\r\ndocker_build(\r\n    name = \"test_docker\",\r\n    base = \"ubuntu.tar\",\r\n    directory = \"/root\",\r\n    files = [\r\n        \"README.md\"\r\n    ],\r\n    workdir = \"/root\",\r\n    repository = \"*******\",\r\n)\r\n```\r\n\r\nand it build successfully, but when I run\r\n```shell\r\nbazel run //test_docker:test_docker\r\n```\r\n\r\nit prints:\r\n```\r\nINFO: Reading 'startup' options from /home/user/.bazelrc: --batch\r\nINFO: Found 1 target...\r\nTarget //test_docker:test_docker up-to-date:\r\n  bazel-bin/test_docker/test_docker-layer.tar\r\nINFO: Elapsed time: 7.684s, Critical Path: 1.80s\r\n\r\nINFO: Running command line: bazel-bin/test_docker/test_docker\r\n/bin/bash: warning: setlocale: LC_ALL: cannot change locale (en_US.ISO-8859-1)\r\nLoading a7574cb9918cfb685f21fab26e410ac15b934b806e32ae479af8f85ed1b506b0...\r\nTagging a7574cb9918cfb685f21fab26e410ac15b934b806e32ae479af8f85ed1b506b0 as ******/test_docker:test_docker\r\nWarning: '-f' is deprecated, it will be removed soon. See usage.\r\nError response from daemon: no such id: a7574cb9918cfb685f21fab26e410ac15b934b806e32ae479af8f85ed1b506b0\r\nERROR: Non-zero return code '1' from command: Process exited with status 1.\r\n```\r\n\r\nIs there anybody knows why?\r\n\r\nThanks a lot!"},"comment":{"url":"https://api.github.com/repos/bazelbuild/bazel/issues/comments/205717615","html_url":"https://github.com/bazelbuild/bazel/issues/1113#issuecomment-205717615","issue_url":"https://api.github.com/repos/bazelbuild/bazel/issues/1113","id":205717615,"user":{"login":"chenkan1994","id":3645791,"avatar_url":"https://avatars.githubusercontent.com/u/3645791?v=3","gravatar_id":"","url":"https://api.github.com/users/chenkan1994","html_url":"https://github.com/chenkan1994","followers_url":"https://api.github.com/users/chenkan1994/followers","following_url":"https://api.github.com/users/chenkan1994/following{/other_user}","gists_url":"https://api.github.com/users/chenkan1994/gists{/gist_id}","starred_url":"https://api.github.com/users/chenkan1994/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chenkan1994/subscriptions","organizations_url":"https://api.github.com/users/chenkan1994/orgs","repos_url":"https://api.github.com/users/chenkan1994/repos","events_url":"https://api.github.com/users/chenkan1994/events{/privacy}","received_events_url":"https://api.github.com/users/chenkan1994/received_events","type":"User","site_admin":false},"created_at":"2016-04-05T08:29:00Z","updated_at":"2016-04-05T08:29:00Z","body":"Got it. Seems can only try other methods, thank you any way!"}}