[{"data":1,"prerenderedAt":159},["ShallowReactive",2],{"term-i\u002Fimage":3,"related-i\u002Fimage":143},{"id":4,"title":5,"acronym":6,"body":7,"category":124,"description":125,"difficulty":126,"extension":127,"letter":128,"meta":129,"navigation":85,"path":130,"related":131,"seo":137,"sitemap":138,"stem":141,"subcategory":6,"__hash__":142},"terms\u002Fterms\u002Fi\u002Fimage.md","Image",null,{"type":8,"value":9,"toc":118},"minimark",[10,15,19,23,26,30,103,107,114],[11,12,14],"h2",{"id":13},"eli5-the-vibe-check","ELI5 — The Vibe Check",[16,17,18],"p",{},"A Docker image is the blueprint or template for a container. It's like a frozen snapshot of your app and everything it needs to run. You build an image once, push it to a registry, and anyone can pull it and instantly run your app without installing anything. The image never changes — you just run containers from it.",[11,20,22],{"id":21},"real-talk","Real Talk",[16,24,25],{},"A container image is a read-only, layered filesystem snapshot that contains the application code, runtime, libraries, and configuration. Images are built from Dockerfiles, tagged with versions, and stored in container registries. Each layer in an image is cached, making builds faster when only code changes.",[11,27,29],{"id":28},"show-me-the-code","Show Me The Code",[31,32,37],"pre",{"className":33,"code":34,"language":35,"meta":36,"style":36},"language-bash shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","# Tag and push an image to Docker Hub\ndocker build -t myuser\u002Fmy-app:1.0.0 .\ndocker push myuser\u002Fmy-app:1.0.0\n\n# Pull and run an image\ndocker pull myuser\u002Fmy-app:1.0.0\n","bash","",[38,39,40,49,69,80,87,93],"code",{"__ignoreMap":36},[41,42,45],"span",{"class":43,"line":44},"line",1,[41,46,48],{"class":47},"sHwdD","# Tag and push an image to Docker Hub\n",[41,50,52,56,60,63,66],{"class":43,"line":51},2,[41,53,55],{"class":54},"sBMFI","docker",[41,57,59],{"class":58},"sfazB"," build",[41,61,62],{"class":58}," -t",[41,64,65],{"class":58}," myuser\u002Fmy-app:1.0.0",[41,67,68],{"class":58}," .\n",[41,70,72,74,77],{"class":43,"line":71},3,[41,73,55],{"class":54},[41,75,76],{"class":58}," push",[41,78,79],{"class":58}," myuser\u002Fmy-app:1.0.0\n",[41,81,83],{"class":43,"line":82},4,[41,84,86],{"emptyLinePlaceholder":85},true,"\n",[41,88,90],{"class":43,"line":89},5,[41,91,92],{"class":47},"# Pull and run an image\n",[41,94,96,98,101],{"class":43,"line":95},6,[41,97,55],{"class":54},[41,99,100],{"class":58}," pull",[41,102,79],{"class":58},[11,104,106],{"id":105},"when-youll-hear-this","When You'll Hear This",[16,108,109,110,113],{},"\"Build the image and push it to the registry so the cluster can pull it.\" \u002F \"Pin the image tag to a specific version — never use ",[38,111,112],{},"latest"," in production.\"",[115,116,117],"style",{},"html pre.shiki code .sHwdD, html code.shiki .sHwdD{--shiki-light:#90A4AE;--shiki-light-font-style:italic;--shiki-default:#546E7A;--shiki-default-font-style:italic;--shiki-dark:#676E95;--shiki-dark-font-style:italic}html pre.shiki code .sBMFI, html code.shiki .sBMFI{--shiki-light:#E2931D;--shiki-default:#FFCB6B;--shiki-dark:#FFCB6B}html pre.shiki code .sfazB, html code.shiki .sfazB{--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D}html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}",{"title":36,"searchDepth":51,"depth":51,"links":119},[120,121,122,123],{"id":13,"depth":51,"text":14},{"id":21,"depth":51,"text":22},{"id":28,"depth":51,"text":29},{"id":105,"depth":51,"text":106},"cicd","A Docker image is the blueprint or template for a container. It's like a frozen snapshot of your app and everything it needs to run.","beginner","md","i",{},"\u002Fterms\u002Fi\u002Fimage",[132,133,134,135,136],"Docker","Container","Dockerfile","Container Registry","Registry",{"title":5,"description":125},{"changefreq":139,"priority":140},"weekly",0.7,"terms\u002Fi\u002Fimage","VZlWegww34Fz3MUJNd6-vJOIgLjlRsizRqZCebLY5WM",[144,147,150,153,156],{"title":133,"path":145,"acronym":6,"category":124,"difficulty":126,"description":146},"\u002Fterms\u002Fc\u002Fcontainer","A container is a running instance of a Docker image — it's the lunchbox you made and actually opened to eat from.",{"title":135,"path":148,"acronym":6,"category":124,"difficulty":126,"description":149},"\u002Fterms\u002Fc\u002Fcontainer-registry","A Container Registry is just the specific term for a registry that stores Docker\u002Fcontainer images.",{"title":132,"path":151,"acronym":6,"category":124,"difficulty":126,"description":152},"\u002Fterms\u002Fd\u002Fdocker","Docker is like a lunchbox for your app.",{"title":134,"path":154,"acronym":6,"category":124,"difficulty":126,"description":155},"\u002Fterms\u002Fd\u002Fdockerfile","A Dockerfile is the recipe for building a Docker image.",{"title":136,"path":157,"acronym":6,"category":124,"difficulty":126,"description":158},"\u002Fterms\u002Fr\u002Fregistry","A registry is a storage place for container images — like an app store but for Docker images. When you build an image, you push it to a registry.",1776518288213]