{"action":"created","issue":{"url":"https://api.github.com/repos/docker/docker/issues/20525","repository_url":"https://api.github.com/repos/docker/docker","labels_url":"https://api.github.com/repos/docker/docker/issues/20525/labels{/name}","comments_url":"https://api.github.com/repos/docker/docker/issues/20525/comments","events_url":"https://api.github.com/repos/docker/docker/issues/20525/events","html_url":"https://github.com/docker/docker/pull/20525","id":135008399,"number":20525,"title":"Adding readOnly parameter to graphdriver Create method","user":{"login":"swernli","id":10567287,"avatar_url":"https://avatars.githubusercontent.com/u/10567287?v=3","gravatar_id":"","url":"https://api.github.com/users/swernli","html_url":"https://github.com/swernli","followers_url":"https://api.github.com/users/swernli/followers","following_url":"https://api.github.com/users/swernli/following{/other_user}","gists_url":"https://api.github.com/users/swernli/gists{/gist_id}","starred_url":"https://api.github.com/users/swernli/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/swernli/subscriptions","organizations_url":"https://api.github.com/users/swernli/orgs","repos_url":"https://api.github.com/users/swernli/repos","events_url":"https://api.github.com/users/swernli/events{/privacy}","received_events_url":"https://api.github.com/users/swernli/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/docker/docker/labels/group/windows","name":"group/windows","color":"F6FBFF"},{"url":"https://api.github.com/repos/docker/docker/labels/status/1-design-review","name":"status/1-design-review","color":"fef2c0"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-02-20T00:15:28Z","updated_at":"2016-02-22T23:06:34Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/docker/docker/pulls/20525","html_url":"https://github.com/docker/docker/pull/20525","diff_url":"https://github.com/docker/docker/pull/20525.diff","patch_url":"https://github.com/docker/docker/pull/20525.patch"},"body":"@jstarks @jhowardmsft @tonistiigi @cpuguy83 \r\n(Re-opening as new PR, replacing https://github.com/docker/docker/pull/20473)\r\nSince the layer store was introduced, the level above the graphdriver\r\nnow differentiates between read/write and read-only layers.  This\r\ndistinction is useful for graphdrivers that need to take special steps\r\nwhen creating a layer based on whether it is read-only or not.\r\nAdding this parameter allows the graphdrivers to differentiate, which\r\nin the case of the Windows graphdriver, removes our dependence on parsing\r\nthe id of the parent for \"-init\" in order to infer this information.\r\n\r\nThis will also set the stage for unblocking some of the layer store\r\nunit tests in the next preview build of Windows.\r\n\r\nSigned-off-by: Stefan J. Wernli <swernli@microsoft.com>"},"comment":{"url":"https://api.github.com/repos/docker/docker/issues/comments/187430198","html_url":"https://github.com/docker/docker/pull/20525#issuecomment-187430198","issue_url":"https://api.github.com/repos/docker/docker/issues/20525","id":187430198,"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":"2016-02-22T23:06:34Z","updated_at":"2016-02-22T23:06:34Z","body":"Job: Docker-PRs-experimental [FAILED](https://jenkins.dockerproject.org/job/Docker-PRs-experimental/15269/console):\n\n~~~console\n\n---\nools \tpkg-config \tpython-dev \tpython-mock \tpython-pip \tpython-websocket \ts3cmd=1.5.0* \tubuntu-zfs \txfsprogs \tlibzfs-dev \ttar \t--no-install-recommends \t&& ln -snf /usr/bin/clang-3.8 /usr/local/bin/clang \t&& ln -snf /usr/bin/clang++-3.8 /usr/local/bin/clang++' returned a non-zero code: 100\nUnable to find image 'docker:3ba42f7-exp' locally\nPulling repository docker.io/library/docker\nTag 3ba42f7-exp not found in repository docker.io/library/docker\nBuild step 'Execute shell' marked build as failure\n[PostBuildScript] - Execution post build scripts.\n[Docker-PRs-experimental] $ /bin/sh -xe /tmp/hudson7978807536974319374.sh\n+ set +x\n\n\n---\n\n~~~"}}