{"action":"created","issue":{"url":"https://api.github.com/repos/chef-cookbooks/docker/issues/550","labels_url":"https://api.github.com/repos/chef-cookbooks/docker/issues/550/labels{/name}","comments_url":"https://api.github.com/repos/chef-cookbooks/docker/issues/550/comments","events_url":"https://api.github.com/repos/chef-cookbooks/docker/issues/550/events","html_url":"https://github.com/chef-cookbooks/docker/issues/550","id":115964145,"number":550,"title":"docker api 1.21 image id isn't consistent","user":{"login":"chasebolt","id":1222984,"avatar_url":"https://avatars.githubusercontent.com/u/1222984?v=3","gravatar_id":"","url":"https://api.github.com/users/chasebolt","html_url":"https://github.com/chasebolt","followers_url":"https://api.github.com/users/chasebolt/followers","following_url":"https://api.github.com/users/chasebolt/following{/other_user}","gists_url":"https://api.github.com/users/chasebolt/gists{/gist_id}","starred_url":"https://api.github.com/users/chasebolt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chasebolt/subscriptions","organizations_url":"https://api.github.com/users/chasebolt/orgs","repos_url":"https://api.github.com/users/chasebolt/repos","events_url":"https://api.github.com/users/chasebolt/events{/privacy}","received_events_url":"https://api.github.com/users/chasebolt/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-11-09T20:57:46Z","updated_at":"2016-01-15T19:34:15Z","closed_at":"2015-11-11T05:48:49Z","body":"This same code shows image.get and image.create no longer returns the same id for the same image. We are currently using this id to determine if a new image was pulled and if so mark the resource as updated. We need to figure out a new way to determine the handling of this resource update.\r\n\r\n```ruby\r\nrequire 'docker'\r\n\r\nimage_c = Docker::Image.get('alpine')\r\nimage_g = Docker::Image.create('fromImage' => 'alpine')\r\n\r\nputs \"create: #{image_c.id}\"\r\nputs \"get: #{image_g.id}\"\r\n\r\n# create: f4fddc471ec22fc1f7d37768132f1753bc171121e30ac2af7fcb0302588197c0\r\n# get: latest\r\n```\r\n\r\nLinking docker-api issue https://github.com/swipely/docker-api/issues/333"},"comment":{"url":"https://api.github.com/repos/chef-cookbooks/docker/issues/comments/172062367","html_url":"https://github.com/chef-cookbooks/docker/issues/550#issuecomment-172062367","issue_url":"https://api.github.com/repos/chef-cookbooks/docker/issues/550","id":172062367,"user":{"login":"tlunter","id":787998,"avatar_url":"https://avatars.githubusercontent.com/u/787998?v=3","gravatar_id":"","url":"https://api.github.com/users/tlunter","html_url":"https://github.com/tlunter","followers_url":"https://api.github.com/users/tlunter/followers","following_url":"https://api.github.com/users/tlunter/following{/other_user}","gists_url":"https://api.github.com/users/tlunter/gists{/gist_id}","starred_url":"https://api.github.com/users/tlunter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tlunter/subscriptions","organizations_url":"https://api.github.com/users/tlunter/orgs","repos_url":"https://api.github.com/users/tlunter/repos","events_url":"https://api.github.com/users/tlunter/events{/privacy}","received_events_url":"https://api.github.com/users/tlunter/received_events","type":"User","site_admin":false},"created_at":"2016-01-15T19:34:15Z","updated_at":"2016-01-15T19:34:15Z","body":"Sorry about the vagueness :D"}}