{"action":"reopened","issue":{"url":"https://api.github.com/repos/bflad/chef-docker/issues/241","labels_url":"https://api.github.com/repos/bflad/chef-docker/issues/241/labels{/name}","comments_url":"https://api.github.com/repos/bflad/chef-docker/issues/241/comments","events_url":"https://api.github.com/repos/bflad/chef-docker/issues/241/events","html_url":"https://github.com/bflad/chef-docker/issues/241","id":49693097,"number":241,"title":"docker_image action :pull seems always up to date","user":{"login":"alamut","id":921313,"avatar_url":"https://avatars.githubusercontent.com/u/921313?v=3","gravatar_id":"","url":"https://api.github.com/users/alamut","html_url":"https://github.com/alamut","followers_url":"https://api.github.com/users/alamut/followers","following_url":"https://api.github.com/users/alamut/following{/other_user}","gists_url":"https://api.github.com/users/alamut/gists{/gist_id}","starred_url":"https://api.github.com/users/alamut/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alamut/subscriptions","organizations_url":"https://api.github.com/users/alamut/orgs","repos_url":"https://api.github.com/users/alamut/repos","events_url":"https://api.github.com/users/alamut/events{/privacy}","received_events_url":"https://api.github.com/users/alamut/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/bflad/chef-docker/labels/question","name":"question","color":"cc317c"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2014-11-21T13:01:48Z","updated_at":"2015-08-13T21:24:23Z","closed_at":null,"body":"Sample code from the wrapper cookbook:\r\n```\r\ndocker_image 'dockerfile/redis' do\r\n  tag 'latest'\r\n  action :pull\r\nend\r\n```\r\n\r\nThe image will be downloaded correctly, but notifying other resources is quite difficult while the `docker_image` resource is always up to date:\r\n```\r\nRecipe: int-docker-registry::default\r\n  * docker_image[dockerfile/redis] action pull\r\n  (up to date)\r\n  (up to date)\r\n```\r\n\r\nCase details:\r\n- AWS with kitchen-ec2\r\n- Ubuntu 14.04\r\n- no local `dockerfile/redis` image present before running chef"}}