{"action":"created","issue":{"url":"https://api.github.com/repos/docker/docker/issues/20463","repository_url":"https://api.github.com/repos/docker/docker","labels_url":"https://api.github.com/repos/docker/docker/issues/20463/labels{/name}","comments_url":"https://api.github.com/repos/docker/docker/issues/20463/comments","events_url":"https://api.github.com/repos/docker/docker/issues/20463/events","html_url":"https://github.com/docker/docker/issues/20463","id":134693563,"number":20463,"title":"save | load duplicates shared layers?","user":{"login":"huguesb","id":7319881,"avatar_url":"https://avatars.githubusercontent.com/u/7319881?v=3","gravatar_id":"","url":"https://api.github.com/users/huguesb","html_url":"https://github.com/huguesb","followers_url":"https://api.github.com/users/huguesb/followers","following_url":"https://api.github.com/users/huguesb/following{/other_user}","gists_url":"https://api.github.com/users/huguesb/gists{/gist_id}","starred_url":"https://api.github.com/users/huguesb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/huguesb/subscriptions","organizations_url":"https://api.github.com/users/huguesb/orgs","repos_url":"https://api.github.com/users/huguesb/repos","events_url":"https://api.github.com/users/huguesb/events{/privacy}","received_events_url":"https://api.github.com/users/huguesb/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/docker/docker/labels/area/distribution","name":"area/distribution","color":"fbca04"}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-02-18T20:54:35Z","updated_at":"2016-09-14T20:34:04Z","closed_at":"2016-09-14T20:34:04Z","body":"We have a workflow where I generate images on one host and need to get them onto a VM image.\r\n\r\nSo far we've been using a transient local registry instance but this is *so very very slow*.\r\n\r\nUsing `docker save <images...> | ssh docker load` is much faster and avoids the trouble of setting up the temporary registry.\r\n\r\nUnfortunately it results in a much larger footprint on the target VM. Once the VM is exported into ova form it weighs about 800MB more with `save | load` than when the images are pulled from a v1 registry.\r\n\r\nI've also tried using a v2 registry which makes push much faster but for some reason this has a similar effect on the resulting VM size.\r\n\r\nImages are generated on a host with docker 1.10.1 and loaded on a host with docker 1.8.3\r\n\r\nUpgrading docker on the target VM is not an option at this time."},"comment":{"url":"https://api.github.com/repos/docker/docker/issues/comments/247144565","html_url":"https://github.com/docker/docker/issues/20463#issuecomment-247144565","issue_url":"https://api.github.com/repos/docker/docker/issues/20463","id":247144565,"user":{"login":"tonistiigi","id":585223,"avatar_url":"https://avatars.githubusercontent.com/u/585223?v=3","gravatar_id":"","url":"https://api.github.com/users/tonistiigi","html_url":"https://github.com/tonistiigi","followers_url":"https://api.github.com/users/tonistiigi/followers","following_url":"https://api.github.com/users/tonistiigi/following{/other_user}","gists_url":"https://api.github.com/users/tonistiigi/gists{/gist_id}","starred_url":"https://api.github.com/users/tonistiigi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tonistiigi/subscriptions","organizations_url":"https://api.github.com/users/tonistiigi/orgs","repos_url":"https://api.github.com/users/tonistiigi/repos","events_url":"https://api.github.com/users/tonistiigi/events{/privacy}","received_events_url":"https://api.github.com/users/tonistiigi/received_events","type":"User","site_admin":false},"created_at":"2016-09-14T20:34:04Z","updated_at":"2016-09-14T20:34:04Z","body":"This is fixed but you have to update both machines. Anything below v1.10 can't identify duplicate layers on load. If the saved images share layers they will appear as duplicates in tar with versions less than v1.12. Load on `v1.10+` would correct the duplication in tar but it will still be inefficient."}}
{"actor":{"display_login":"tonistiigi"}}