{"action":"created","issue":{"url":"https://api.github.com/repos/appc/docker2aci/issues/99","labels_url":"https://api.github.com/repos/appc/docker2aci/issues/99/labels{/name}","comments_url":"https://api.github.com/repos/appc/docker2aci/issues/99/comments","events_url":"https://api.github.com/repos/appc/docker2aci/issues/99/events","html_url":"https://github.com/appc/docker2aci/pull/99","id":116393966,"number":99,"title":"adds support for the V2 HTTP API","user":{"login":"dgonyeo","id":2439413,"avatar_url":"https://avatars.githubusercontent.com/u/2439413?v=3","gravatar_id":"","url":"https://api.github.com/users/dgonyeo","html_url":"https://github.com/dgonyeo","followers_url":"https://api.github.com/users/dgonyeo/followers","following_url":"https://api.github.com/users/dgonyeo/following{/other_user}","gists_url":"https://api.github.com/users/dgonyeo/gists{/gist_id}","starred_url":"https://api.github.com/users/dgonyeo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dgonyeo/subscriptions","organizations_url":"https://api.github.com/users/dgonyeo/orgs","repos_url":"https://api.github.com/users/dgonyeo/repos","events_url":"https://api.github.com/users/dgonyeo/events{/privacy}","received_events_url":"https://api.github.com/users/dgonyeo/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/appc/docker2aci/labels/in%20progress","name":"in progress","color":"ededed"},{"url":"https://api.github.com/repos/appc/docker2aci/labels/kind/enhancement","name":"kind/enhancement","color":"c7def8"},{"url":"https://api.github.com/repos/appc/docker2aci/labels/priority/P0","name":"priority/P0","color":"df0101"},{"url":"https://api.github.com/repos/appc/docker2aci/labels/reviewed/needs%20rework","name":"reviewed/needs rework","color":"bfdadc"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":14,"created_at":"2015-11-11T18:36:19Z","updated_at":"2015-11-27T09:26:28Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/appc/docker2aci/pulls/99","html_url":"https://github.com/appc/docker2aci/pull/99","diff_url":"https://github.com/appc/docker2aci/pull/99.diff","patch_url":"https://github.com/appc/docker2aci/pull/99.patch"},"body":"Will detect when fetching an image if the V2 API is supported, and fall\r\nback to the V1 API if it is not. Auth currently unsupported.\r\n\r\nPartially addresses https://github.com/appc/docker2aci/issues/46 and https://github.com/coreos/rkt/issues/1583."},"comment":{"url":"https://api.github.com/repos/appc/docker2aci/issues/comments/160089056","html_url":"https://github.com/appc/docker2aci/pull/99#issuecomment-160089056","issue_url":"https://api.github.com/repos/appc/docker2aci/issues/99","id":160089056,"user":{"login":"iaguis","id":507354,"avatar_url":"https://avatars.githubusercontent.com/u/507354?v=3","gravatar_id":"","url":"https://api.github.com/users/iaguis","html_url":"https://github.com/iaguis","followers_url":"https://api.github.com/users/iaguis/followers","following_url":"https://api.github.com/users/iaguis/following{/other_user}","gists_url":"https://api.github.com/users/iaguis/gists{/gist_id}","starred_url":"https://api.github.com/users/iaguis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iaguis/subscriptions","organizations_url":"https://api.github.com/users/iaguis/orgs","repos_url":"https://api.github.com/users/iaguis/repos","events_url":"https://api.github.com/users/iaguis/events{/privacy}","received_events_url":"https://api.github.com/users/iaguis/received_events","type":"User","site_admin":false},"created_at":"2015-11-27T09:26:28Z","updated_at":"2015-11-27T09:26:28Z","body":"Some layers have the same `sha256` so they end up with the same name and overwrite each other:\r\n\r\n```\r\n> docker2aci --nosquash docker://quay.io/coreos/etcd\r\nDownloading sha256:f05e5: [====================================] 3.98 MB/3.98 MB\r\nDownloading sha256:af189: [====================================] 3.5 MB/3.5 MB \r\nDownloading sha256:a3ed9: [====================================] 32 B/32 B\r\nDownloading sha256:a3ed9: [====================================] 32 B/32 B\r\n\r\nConverted ports:\r\n\tname: \"2379-tcp\", protocol: \"tcp\", port: 2379, count: 1, socketActivated: false\r\n\tname: \"2380-tcp\", protocol: \"tcp\", port: 2380, count: 1, socketActivated: false\r\n\tname: \"4001-tcp\", protocol: \"tcp\", port: 4001, count: 1, socketActivated: false\r\n\tname: \"7001-tcp\", protocol: \"tcp\", port: 7001, count: 1, socketActivated: false\r\n\r\nGenerated ACI(s):\r\ncoreos-etcd-d21dd9a5886270b7c2c379c02fc548e0696b139c43bb12fdb2d9b63409717485-latest-linux-amd64.aci\r\ncoreos-etcd-620329641f386e62c7b0e0fa60a9acef100e71058124ddc7f1969557c72b2458-latest-linux-amd64.aci\r\ncoreos-etcd-9cd3f08f7ccfaad24c73757a5b4f79601f2790726d6ccdd556a82e5c9c5ddbfa-latest-linux-amd64.aci\r\ncoreos-etcd-9cd3f08f7ccfaad24c73757a5b4f79601f2790726d6ccdd556a82e5c9c5ddbfa-latest-linux-amd64.aci\r\n> ls\r\ncoreos-etcd-620329641f386e62c7b0e0fa60a9acef100e71058124ddc7f1969557c72b2458-latest-linux-amd64.aci\r\ncoreos-etcd-9cd3f08f7ccfaad24c73757a5b4f79601f2790726d6ccdd556a82e5c9c5ddbfa-latest-linux-amd64.aci\r\ncoreos-etcd-d21dd9a5886270b7c2c379c02fc548e0696b139c43bb12fdb2d9b63409717485-latest-linux-amd64.aci\r\n```"}}