{"action":"created","issue":{"url":"https://api.github.com/repos/docker/docker/issues/10291","labels_url":"https://api.github.com/repos/docker/docker/issues/10291/labels{/name}","comments_url":"https://api.github.com/repos/docker/docker/issues/10291/comments","events_url":"https://api.github.com/repos/docker/docker/issues/10291/events","html_url":"https://github.com/docker/docker/issues/10291","id":55221716,"number":10291,"title":"Local \"latest\" image is always overwritten by registry \"latest\" on pull","user":{"login":"claesb","id":3974715,"avatar_url":"https://avatars.githubusercontent.com/u/3974715?v=3","gravatar_id":"","url":"https://api.github.com/users/claesb","html_url":"https://github.com/claesb","followers_url":"https://api.github.com/users/claesb/followers","following_url":"https://api.github.com/users/claesb/following{/other_user}","gists_url":"https://api.github.com/users/claesb/gists{/gist_id}","starred_url":"https://api.github.com/users/claesb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/claesb/subscriptions","organizations_url":"https://api.github.com/users/claesb/orgs","repos_url":"https://api.github.com/users/claesb/repos","events_url":"https://api.github.com/users/claesb/events{/privacy}","received_events_url":"https://api.github.com/users/claesb/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/docker/docker/labels/Distribution","name":"Distribution","color":"e11d21"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2015-01-22T23:00:10Z","updated_at":"2015-02-02T09:15:54Z","closed_at":null,"body":"If you push an image to docker hub with tag :latest. Then you make a small change and rebuild your image with :latest tag.\r\nAt this point I would assume my local repository has the latest version of :latest.\r\nBut if you now go ahead with a docker pull :latest the server will replace :latest in your local repository with the 'old' version from docker hub."},"comment":{"url":"https://api.github.com/repos/docker/docker/issues/comments/72425824","html_url":"https://github.com/docker/docker/issues/10291#issuecomment-72425824","issue_url":"https://api.github.com/repos/docker/docker/issues/10291","id":72425824,"user":{"login":"unclejack","id":1409668,"avatar_url":"https://avatars.githubusercontent.com/u/1409668?v=3","gravatar_id":"","url":"https://api.github.com/users/unclejack","html_url":"https://github.com/unclejack","followers_url":"https://api.github.com/users/unclejack/followers","following_url":"https://api.github.com/users/unclejack/following{/other_user}","gists_url":"https://api.github.com/users/unclejack/gists{/gist_id}","starred_url":"https://api.github.com/users/unclejack/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/unclejack/subscriptions","organizations_url":"https://api.github.com/users/unclejack/orgs","repos_url":"https://api.github.com/users/unclejack/repos","events_url":"https://api.github.com/users/unclejack/events{/privacy}","received_events_url":"https://api.github.com/users/unclejack/received_events","type":"User","site_admin":false},"created_at":"2015-02-02T09:15:54Z","updated_at":"2015-02-02T09:15:54Z","body":"@claesb There isn't a `--pull` flag on run, but we've got one on `docker build`. I don't see why having one on run would hurt."}}