[{"data":1,"prerenderedAt":152},["ShallowReactive",2],{"project-41543778":3},{"id":4,"name":5,"line":6,"line_source":7,"title":8,"url":9,"domain":10,"maker":11,"posted_at":12,"year":13,"points":14,"comments":15,"rank_in_year":16,"shown_in_year":17,"top":18,"tier":19,"category":20,"subcategory":21,"format":22,"keywords":23,"reception":28,"sentiment":29,"stance_mix":30,"scored_comments":33,"aspects":34,"strip":36,"post_text":29,"what":38,"said":55,"maker_in_thread":86,"shape":93,"grid":96,"attempts":115,"same_week":116,"maker_shows":94,"maker_hidden":145,"reader_version":146,"card":147},"41543778","Docker-repack","Speed up Docker image pulls","title","Show HN: Docker-repack – Speed up Docker image pulls","https:\u002F\u002Fgithub.com\u002Forf\u002Fdocker-repack","github.com","orf",1726355093,2024,17,7,2036,3515,58,"shown","infrastructure","container image tooling","cli",[24,25,26,27],"docker","oci image","image pull","container layers","quiet",null,{"positive":31,"neutral":31,"mixed":31,"critical":32},1,0,3,{"execution":35},{"positive":32,"critical":32},[33,32,33,32,37,32,32],5,{"problem":39,"audience":29,"pricing":29,"motivation":46,"time_to_build":29,"stack":51,"openness":52,"stage":53,"team_size":54},{"value":40,"source":41,"evidence":42},"Docker image pulls are slow because layers are unevenly sized","inferred",[43],{"id":44,"by":11,"text":45},"41543779","I created this tool whilst I was learning about Docker\u002FOCI image internals. The tool repacks and optimizes Docker images by efficiently repacking the contents into equal sized…",{"value":47,"source":48,"evidence":49},"Maker was learning Docker and OCI image internals","maker",[50],{"id":44,"by":11,"text":45},[],"open_source","beta","unknown",{"praise":56,"objections":65,"requests":73,"questions":80,"alternatives":85},[57],{"value":58,"source":59,"evidence":60},"Large speed improvements shown in benchmarks","commenter",[61],{"id":62,"by":63,"text":64},"41544081","johng","Wow. Some of the savings are huge on your github page. Well done!",[66],{"value":67,"source":59,"evidence":68},"Repacked images fail to load or pull with docker load and layer duplicate errors",[69],{"id":70,"by":71,"text":72},"41549413","miller_joe","Love this idea! ty I wasn't sure how to load the images back into docker at first. I tried `docker load` but I get this error: ``` $ (cd ci-repack && tar cfv - .) | docker load…",[74],{"value":75,"source":48,"evidence":76},"Reproduction case or example image for the failing load",[77],{"id":78,"by":11,"text":79},"41553265","Thanks for trying it out! I’ve tested this on a lot of public images, but it hasn’t been “battle tested” yet. Are you able to share the image you’re using with me, or a…",[81],{"value":82,"source":59,"evidence":83},"How to load repacked images back into docker",[84],{"id":70,"by":71,"text":72},[],{"comments":33,"answered":32,"key":87},[88,89,90],{"id":78,"text":79},{"id":44,"text":45},{"id":91,"text":92},"41544111","Thank you! The most surprising one for me was the size reduction for the google cloud SDK image - 1.1GB to 187MB.",{"commenters":94,"max_depth":33,"maker_replies":33,"first_comment_mins":32,"lifespan_hours":95},4,308,[97,99,101,104,106,108,110],[70,32,33,98,71,32],"project\u002Fmixed\u002Fexecution",[78,32,32,100,11,31],"maker\u002Fneutral\u002Fexecution",[102,32,33,103,71,32],"41674487","maker\u002Fneutral\u002Fnone",[44,31,32,105,11,31],"project\u002Fpositive\u002Fidea",[62,31,37,107,63,32],"maker\u002Fpositive\u002Fnone",[91,31,32,109,11,31],"project\u002Fpositive\u002Fperformance",[111,112,32,113,114,32],"41544461",2,"other\u002Fneutral\u002Fnone","turtleyacht",[],[117,122,127,132,137,141],{"id":118,"name":119,"points":120,"category":121},"41521919","FixHub",928,"hardware",{"id":123,"name":124,"points":125,"category":126},"41539125","Meet.hn",768,"consumer_social",{"id":128,"name":129,"points":130,"category":131},"41517312","Konty",392,"dev_tools",{"id":133,"name":134,"points":135,"category":136},"41544969","Wordllama",370,"ai",{"id":138,"name":139,"points":140,"category":131},"41563958","Void",347,{"id":142,"name":143,"points":144,"category":131},"41530190","FlowTracker",280,false,"v2",{"id":148,"name":5,"line":6,"ai":145,"cat":20,"year":13,"points":14,"comments":15,"rec":28,"s":29,"top":18,"kw":149,"maker":11,"domain":10,"tier":19,"attempts":32,"strip":150,"url":9,"mix":151,"praise":58,"objection":67,"sub":21},41543778,[24,25,26,27],"3030500",[31,31,31,32],1793991100293]