{"action":"closed","issue":{"url":"https://api.github.com/repos/docker/docker/issues/28653","repository_url":"https://api.github.com/repos/docker/docker","labels_url":"https://api.github.com/repos/docker/docker/issues/28653/labels{/name}","comments_url":"https://api.github.com/repos/docker/docker/issues/28653/comments","events_url":"https://api.github.com/repos/docker/docker/issues/28653/events","html_url":"https://github.com/docker/docker/issues/28653","id":190661835,"number":28653,"title":"docker 1.12 compilation failure","user":{"login":"xianwei2016","id":23518969,"avatar_url":"https://avatars.githubusercontent.com/u/23518969?v=3","gravatar_id":"","url":"https://api.github.com/users/xianwei2016","html_url":"https://github.com/xianwei2016","followers_url":"https://api.github.com/users/xianwei2016/followers","following_url":"https://api.github.com/users/xianwei2016/following{/other_user}","gists_url":"https://api.github.com/users/xianwei2016/gists{/gist_id}","starred_url":"https://api.github.com/users/xianwei2016/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xianwei2016/subscriptions","organizations_url":"https://api.github.com/users/xianwei2016/orgs","repos_url":"https://api.github.com/users/xianwei2016/repos","events_url":"https://api.github.com/users/xianwei2016/events{/privacy}","received_events_url":"https://api.github.com/users/xianwei2016/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-11-21T09:32:03Z","updated_at":"2016-11-21T09:55:42Z","closed_at":"2016-11-21T09:55:42Z","body":"Hi guys,\r\n\r\nIt's my first time to compile docker based on a dev-image(some one build it), I have two questions in here:\r\n1.  it reports \"I don't seem to be running in a Docker container.\", but it is compiled in continaer.\r\n2. there have compilation errors as below shows.\r\n\r\nI guess it's not Docker's problem, it should be the problem about how I tryed to compile it. Appreciate if anyone can help me on this. Thanks.\r\n\r\n$sudo docker run -it --privileged -v /home/xianwei.zw/docker:/mnt/docker -w /mnt/docker -t docker-dev-env:1.12 hack/make.sh binary\r\n\\# WARNING! I don't seem to be running in a Docker container.\r\n\\# The result of this command might be an incorrect build, and will not be\r\n\\# officially supported.\r\n\\#\r\n\\# Try this instead: make all\r\n\\#\r\n\r\n\\#~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\r\n\\# GITCOMMIT = 6a0ce49-unsupported\r\n\\# The version you are building is listed as unsupported because\r\n\\# there are some files in the git repository that are in an uncommited state.\r\n\\# Commit these changes, or add to .gitignore to remove the -unsupported from the version.\r\n\\# Here is the current list:\r\n M Makefile\r\n\\#~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\r\nbundles/1.12.3 already exists. Removing.\r\n\r\n---> Making bundle: binary (in bundles/1.12.3/binary)\r\nBuilding: bundles/1.12.3/binary-client/docker-1.12.3\r\nCreated binary: bundles/1.12.3/binary-client/docker-1.12.3\r\nBuilding: bundles/1.12.3/binary-daemon/dockerd-1.12.3\r\n\\# _/mnt/docker/cmd/dockerd\r\ncmd/dockerd/daemon.go:276: unknown \"github.com/docker/docker/daemon/cluster\".Config field 'NetworkSubnetsProvider' in struct literal\r\ncmd/dockerd/daemon.go:277: unknown \"github.com/docker/docker/daemon/cluster\".Config field 'DefaultAdvertiseAddr' in struct literal\r\ncmd/dockerd/daemon_unix.go:64: undefined: libcontainerd.WithOOMScore\r\ncmd/dockerd/daemon_unix.go:64: cli.Config.OOMScoreAdjust undefined (type *\"github.com/docker/docker/daemon\".Config has no field or method OOMScoreAdjust)\r\n\r\n"}}
{"actor":{"display_login":"xianwei2016"}}