{ "scene": "course-I-docker-layers", "eps": 0.7, "nest": 0.75, "source": "assets/dist/docker-layers.webp", "parts": [ { "name": "base", "title": "Base image", "blurb": "The OS layer everything else is stacked on. Pull it once, share it across every image on the host.", "anchor": 88.2, "points": [ [ 0, 55.66 ], [ 27.88, 55.66 ], [ 49.48, 75.51 ], [ 71.88, 55.6 ], [ 100, 55.6 ], [ 100, 100 ], [ 0, 100 ] ], "dy": 0.0 }, { "name": "deps", "title": "Dependencies", "blurb": "Your packages and runtime. Change these and every layer above has to be rebuilt.", "anchor": 70.21, "points": [ [ 0, 40.64 ], [ 28.38, 40.64 ], [ 49.76, 55.45 ], [ 71.5, 40.32 ], [ 100, 40.32 ], [ 100, 56.3 ], [ 71.88, 56.3 ], [ 49.48, 76.21 ], [ 27.88, 56.36 ], [ 0, 56.36 ] ], "dy": 13.49 }, { "name": "code", "title": "Application code", "blurb": "Your actual program \u2014 usually the smallest layer, and the one that changes every single build.", "anchor": 50.15, "points": [ [ 0, 26.54 ], [ 27.75, 26.54 ], [ 50.77, 40.03 ], [ 72.0, 26.17 ], [ 100, 26.17 ], [ 100, 41.02 ], [ 71.5, 41.02 ], [ 49.76, 56.15 ], [ 28.38, 41.34 ], [ 0, 41.34 ] ], "dy": 28.54 }, { "name": "writable", "title": "Writable layer", "blurb": "Created fresh per container, thrown away when it dies. Anything written here is not in the image.", "anchor": 34.73, "points": [ [ 0, 0 ], [ 100, 0 ], [ 100, 26.87 ], [ 72.0, 26.87 ], [ 50.77, 40.73 ], [ 27.75, 27.24 ], [ 0, 27.24 ] ], "dy": 40.1 } ] }