⚠ Switch to EXCALIDRAW VIEW in the MORE OPTIONS menu of this document. ⚠
Volumes (Managed by Docker)
Docker sets up a folder / path on your host machine, exact location is unknown to you (= dev). Managed via docker volume commands.
A defined path in the container is mapped to the created volume / mount. e.g. /some-path on your hosting machine is mapped to /app/data
You define a folder / path on your host machine.
Bind Mounts (Managed by you)
Anonymous Volumes
Named Volumes
Great for data which should be persistent but which you don’t need to edit directly.
Great for persistent, editable (by you) data (e.g. source code).
%%
{ "type": "excalidraw", "version": 2, "source": "https://github.com/zsviczian/obsidian-excalidraw-plugin/releases/tag/1.9.19", "elements": [ { "id": "U6W9VGgoy5PddWV45qGdn", "type": "rectangle", "x": -199.14936057447756, "y": -373.3533935103702, "width": 509, "height": 60, "angle": 0, "strokeColor": "#1e1e1e", "backgroundColor": "#d0bfff", "fillStyle": "solid", "strokeWidth": 1, "strokeStyle": "solid", "roughness": 1, "opacity": 100, "groupIds": [], "frameId": null, "roundness": { "type": 3 }, "seed": 1551617329, "version": 240, "versionNonce": 1347857503, "isDeleted": false, "boundElements": [ { "type": "text", "id": "BTDQAxGj" } ], "updated": 1700506930955, "link": null, "locked": false }, { "id": "BTDQAxGj", "type": "text", "x": -46.78928367018068, "y": -368.3533935103702, "width": 204.27984619140625, "height": 50, "angle": 0, "strokeColor": "#1e1e1e", "backgroundColor": "transparent", "fillStyle": "hachure", "strokeWidth": 1, "strokeStyle": "solid", "roughness": 1, "opacity": 100, "groupIds": [], "frameId": null, "roundness": null, "seed": 2074123601, "version": 336, "versionNonce": 1990044383, "isDeleted": false, "boundElements": null, "updated": 1700506793136, "link": null, "locked": false, "text": "Volumes\n(Managed by Docker)", "rawText": "Volumes\n(Managed by Docker)", "fontSize": 20, "fontFamily": 1, "textAlign": "center", "verticalAlign": "middle", "baseline": 43, "containerId": "U6W9VGgoy5PddWV45qGdn", "originalText": "Volumes\n(Managed by Docker)", "lineHeight": 1.25 }, { "type": "rectangle", "version": 397, "versionNonce": 1214661471, "isDeleted": false, "id": "_7bUHm-MuG0ihZKmjMTcg", "fillStyle": "hachure", "strokeWidth": 1, "strokeStyle": "solid", "roughness": 1, "opacity": 100, "angle": 0, "x": -201.057961062632, "y": -215.50484764579573, "strokeColor": "#1e1e1e", "backgroundColor": "transparent", "width": 520, "height": 85, "seed": 1104549023, "groupIds": [], "frameId": null, "roundness": { "type": 3 }, "boundElements": [ { "type": "text", "id": "chxKLhlZ" } ], "updated": 1700506838162, "link": null, "locked": false }, { "type": "text", "version": 986, "versionNonce": 312770431, "isDeleted": false, "id": "chxKLhlZ", "fillStyle": "hachure", "strokeWidth": 1, "strokeStyle": "solid", "roughness": 1, "opacity": 100, "angle": 0, "x": -188.99776513978043, "y": -210.50484764579573, "strokeColor": "#1e1e1e", "backgroundColor": "transparent", "width": 495.8796081542969, "height": 75, "seed": 143141055, "groupIds": [], "frameId": null, "roundness": null, "boundElements": [], "updated": 1700506838162, "link": null, "locked": false, "fontSize": 20, "fontFamily": 1, "text": "Docker sets up a folder / path on your host \nmachine, exact location is unknown to you (= dev).\nManaged via docker volume commands.", "rawText": "Docker sets up a folder / path on your host machine, exact location is unknown to you (= dev).\nManaged via docker volume commands.", "textAlign": "center", "verticalAlign": "middle", "containerId": "_7bUHm-MuG0ihZKmjMTcg", "originalText": "Docker sets up a folder / path on your host machine, exact location is unknown to you (= dev).\nManaged via docker volume commands.", "lineHeight": 1.25, "baseline": 68 }, { "type": "rectangle", "version": 559, "versionNonce": 365037521, "isDeleted": false, "id": "avMMRQdBKHY5Iw2Wbc1hm", "fillStyle": "hachure", "strokeWidth": 1, "strokeStyle": "solid", "roughness": 1, "opacity": 100, "angle": 0, "x": -196.72143457657467, "y": -107.7837222527794, "strokeColor": "#1e1e1e", "backgroundColor": "transparent", "width": 861, "height": 60, "seed": 136156017, "groupIds": [], "frameId": null, "roundness": { "type": 3 }, "boundElements": [ { "type": "text", "id": "HmEKXEei" } ], "updated": 1700506850139, "link": null, "locked": false }, { "type": "text", "version": 1299, "versionNonce": 548595121, "isDeleted": false, "id": "HmEKXEei", "fillStyle": "hachure", "strokeWidth": 1, "strokeStyle": "solid", "roughness": 1, "opacity": 100, "angle": 0, "x": -134.76110742813717, "y": -102.7837222527794, "strokeColor": "#1e1e1e", "backgroundColor": "transparent", "width": 737.079345703125, "height": 50, "seed": 1121713489, "groupIds": [], "frameId": null, "roundness": null, "boundElements": [], "updated": 1700506850139, "link": null, "locked": false, "fontSize": 20, "fontFamily": 1, "text": "A defined path in the container is mapped to the created volume / mount.\ne.g. /some-path on your hosting machine is mapped to /app/data", "rawText": "A defined path in the container is mapped to the created volume / mount.\ne.g. /some-path on your hosting machine is mapped to /app/data", "textAlign": "center", "verticalAlign": "middle", "containerId": "avMMRQdBKHY5Iw2Wbc1hm", "originalText": "A defined path in the container is mapped to the created volume / mount.\ne.g. /some-path on your hosting machine is mapped to /app/data", "lineHeight": 1.25, "baseline": 43 }, { "type": "rectangle", "version": 572, "versionNonce": 376640465, "isDeleted": false, "id": "mq0IRxzeniqlqlAQT8h3i", "fillStyle": "hachure", "strokeWidth": 1, "strokeStyle": "solid", "roughness": 1, "opacity": 100, "angle": 0, "x": 339.70502009316374, "y": -217.48317589823182, "strokeColor": "#1e1e1e", "backgroundColor": "#ffec99", "width": 325, "height": 85, "seed": 552456095, "groupIds": [], "frameId": null, "roundness": { "type": 3 }, "boundElements": [ { "type": "text", "id": "Oq4ci2A6" } ], "updated": 1700506951496, "link": null, "locked": false }, { "type": "text", "version": 1293, "versionNonce": 743978769, "isDeleted": false, "id": "Oq4ci2A6", "fillStyle": "hachure", "strokeWidth": 1, "strokeStyle": "solid", "roughness": 1, "opacity": 100, "angle": 0, "x": 349.91513361855436, "y": -199.98317589823182, "strokeColor": "#1e1e1e", "backgroundColor": "transparent", "width": 304.57977294921875, "height": 50, "seed": 1123058623, "groupIds": [], "frameId": null, "roundness": null, "boundElements": [], "updated": 1700506853596, "link": null, "locked": false, "fontSize": 20, "fontFamily": 1, "text": "You define a folder / path on \nyour host machine.", "rawText": "You define a folder / path on your host machine.", "textAlign": "center", "verticalAlign": "middle", "containerId": "mq0IRxzeniqlqlAQT8h3i", "originalText": "You define a folder / path on your host machine.", "lineHeight": 1.25, "baseline": 43 }, { "type": "rectangle", "version": 380, "versionNonce": 226493297, "isDeleted": false, "id": "tVhwxmJAnBOKnQRG3zIUf", "fillStyle": "solid", "strokeWidth": 1, "strokeStyle": "solid", "roughness": 1, "opacity": 100, "angle": 0, "x": 332.1095619065329, "y": -374.32860957948515, "strokeColor": "#1e1e1e", "backgroundColor": "#ffec99", "width": 324, "height": 60, "seed": 598509137, "groupIds": [], "frameId": null, "roundness": { "type": 3 }, "boundElements": [ { "type": "text", "id": "qR7kXVa6" } ], "updated": 1700506925003, "link": null, "locked": false }, { "type": "text", "version": 510, "versionNonce": 1661770801, "isDeleted": false, "id": "qR7kXVa6", "fillStyle": "hachure", "strokeWidth": 1, "strokeStyle": "solid", "roughness": 1, "opacity": 100, "angle": 0, "x": 409.0596275193259, "y": -369.32860957948515, "strokeColor": "#1e1e1e", "backgroundColor": "transparent", "width": 170.09986877441406, "height": 50, "seed": 969511985, "groupIds": [], "frameId": null, "roundness": null, "boundElements": [], "updated": 1700506917112, "link": null, "locked": false, "fontSize": 20, "fontFamily": 1, "text": "Bind Mounts\n(Managed by you)", "rawText": "Bind Mounts\n(Managed by you)", "textAlign": "center", "verticalAlign": "middle", "containerId": "tVhwxmJAnBOKnQRG3zIUf", "originalText": "Bind Mounts\n(Managed by you)", "lineHeight": 1.25, "baseline": 43 }, { "type": "rectangle", "version": 323, "versionNonce": 1279042911, "isDeleted": false, "id": "-bmNDhaRO8GhBUH4Rb40O", "fillStyle": "hachure", "strokeWidth": 1, "strokeStyle": "solid", "roughness": 1, "opacity": 100, "angle": 0, "x": -196.786171261479, "y": -295.7850170141853, "strokeColor": "#1e1e1e", "backgroundColor": "#d0bfff", "width": 246, "height": 60, "seed": 424610111, "groupIds": [], "frameId": null, "roundness": { "type": 3 }, "boundElements": [ { "type": "text", "id": "j1JuLuGv" } ], "updated": 1700506938714, "link": null, "locked": false }, { "type": "text", "version": 438, "versionNonce": 681687185, "isDeleted": false, "id": "j1JuLuGv", "fillStyle": "hachure", "strokeWidth": 1, "strokeStyle": "solid", "roughness": 1, "opacity": 100, "angle": 0, "x": -164.14608794849073, "y": -278.2850170141853, "strokeColor": "#1e1e1e", "backgroundColor": "transparent", "width": 180.71983337402344, "height": 25, "seed": 976849247, "groupIds": [], "frameId": null, "roundness": null, "boundElements": [], "updated": 1700506824000, "link": null, "locked": false, "fontSize": 20, "fontFamily": 1, "text": "Anonymous Volumes", "rawText": "Anonymous Volumes", "textAlign": "center", "verticalAlign": "middle", "containerId": "-bmNDhaRO8GhBUH4Rb40O", "originalText": "Anonymous Volumes", "lineHeight": 1.25, "baseline": 18 }, { "type": "rectangle", "version": 435, "versionNonce": 525476881, "isDeleted": false, "id": "1edkKXfooPl-4NBocOIw8", "fillStyle": "hachure", "strokeWidth": 1, "strokeStyle": "solid", "roughness": 1, "opacity": 100, "angle": 0, "x": 61.54484075598816, "y": -296.0640868928445, "strokeColor": "#1e1e1e", "backgroundColor": "#d0bfff", "width": 252, "height": 60, "seed": 286302527, "groupIds": [], "frameId": null, "roundness": { "type": 3 }, "boundElements": [ { "type": "text", "id": "hpDuBKdO" } ], "updated": 1700506938714, "link": null, "locked": false }, { "type": "text", "version": 563, "versionNonce": 1476033809, "isDeleted": false, "id": "hpDuBKdO", "fillStyle": "hachure", "strokeWidth": 1, "strokeStyle": "solid", "roughness": 1, "opacity": 100, "angle": 0, "x": 115.69490331702332, "y": -278.5640868928445, "strokeColor": "#1e1e1e", "backgroundColor": "transparent", "width": 143.6998748779297, "height": 25, "seed": 1980244319, "groupIds": [], "frameId": null, "roundness": null, "boundElements": [], "updated": 1700506845418, "link": null, "locked": false, "fontSize": 20, "fontFamily": 1, "text": "Named Volumes", "rawText": "Named Volumes", "textAlign": "center", "verticalAlign": "middle", "containerId": "1edkKXfooPl-4NBocOIw8", "originalText": "Named Volumes", "lineHeight": 1.25, "baseline": 18 }, { "type": "rectangle", "version": 751, "versionNonce": 1689962545, "isDeleted": false, "id": "SzDz5G2lNrFxL_LWbrhQ6", "fillStyle": "hachure", "strokeWidth": 1, "strokeStyle": "solid", "roughness": 1, "opacity": 100, "angle": 0, "x": 67.45648998722453, "y": -34.29670927990014, "strokeColor": "#1e1e1e", "backgroundColor": "transparent", "width": 250, "height": 110, "seed": 2003495615, "groupIds": [], "frameId": null, "roundness": { "type": 3 }, "boundElements": [ { "type": "text", "id": "ngacxCZs" } ], "updated": 1700506880532, "link": null, "locked": false }, { "type": "text", "version": 1594, "versionNonce": 661953041, "isDeleted": false, "id": "ngacxCZs", "fillStyle": "hachure", "strokeWidth": 1, "strokeStyle": "solid", "roughness": 1, "opacity": 100, "angle": 0, "x": 79.9165653656425, "y": -29.296709279900142, "strokeColor": "#1e1e1e", "backgroundColor": "transparent", "width": 225.07984924316406, "height": 100, "seed": 2103261919, "groupIds": [], "frameId": null, "roundness": null, "boundElements": [], "updated": 1700506880532, "link": null, "locked": false, "fontSize": 20, "fontFamily": 1, "text": "Great for data which \nshould be persistent \nbut which you don't \nneed to edit directly.", "rawText": "Great for data which should be persistent but which you don't need to edit directly.", "textAlign": "center", "verticalAlign": "middle", "containerId": "SzDz5G2lNrFxL_LWbrhQ6", "originalText": "Great for data which should be persistent but which you don't need to edit directly.", "lineHeight": 1.25, "baseline": 93 }, { "type": "rectangle", "version": 848, "versionNonce": 1937472991, "isDeleted": false, "id": "wb2nKA-u0qI-6zyGL-Pri", "fillStyle": "hachure", "strokeWidth": 1, "strokeStyle": "solid", "roughness": 1, "opacity": 100, "angle": 0, "x": 340.0308949187545, "y": -31.943527379923353, "strokeColor": "#1e1e1e", "backgroundColor": "#ffec99", "width": 330, "height": 110, "seed": 1370728415, "groupIds": [], "frameId": null, "roundness": { "type": 3 }, "boundElements": [ { "type": "text", "id": "uGdP4KhK" } ], "updated": 1700506953626, "link": null, "locked": false }, { "type": "text", "version": 1825, "versionNonce": 2132597055, "isDeleted": false, "id": "uGdP4KhK", "fillStyle": "hachure", "strokeWidth": 1, "strokeStyle": "solid", "roughness": 1, "opacity": 100, "angle": 0, "x": 349.74103896172323, "y": -14.443527379923353, "strokeColor": "#1e1e1e", "backgroundColor": "transparent", "width": 310.5797119140625, "height": 75, "seed": 1171346431, "groupIds": [], "frameId": null, "roundness": null, "boundElements": [], "updated": 1700506908820, "link": null, "locked": false, "fontSize": 20, "fontFamily": 1, "text": "Great for persistent, editable \n(by you) data \n(e.g. source code).", "rawText": "Great for persistent, editable (by you) data \n(e.g. source code).", "textAlign": "center", "verticalAlign": "middle", "containerId": "wb2nKA-u0qI-6zyGL-Pri", "originalText": "Great for persistent, editable (by you) data \n(e.g. source code).", "lineHeight": 1.25, "baseline": 68 } ], "appState": { "theme": "light", "viewBackgroundColor": "#ffffff", "currentItemStrokeColor": "#1e1e1e", "currentItemBackgroundColor": "#ffec99", "currentItemFillStyle": "solid", "currentItemStrokeWidth": 1, "currentItemStrokeStyle": "solid", "currentItemRoughness": 1, "currentItemOpacity": 100, "currentItemFontFamily": 1, "currentItemFontSize": 20, "currentItemTextAlign": "left", "currentItemStartArrowhead": null, "currentItemEndArrowhead": "arrow", "scrollX": 257.410212154533, "scrollY": 682.6029547350377, "zoom": { "value": 0.9378251470832614 }, "currentItemRoundness": "round", "gridSize": null, "gridColor": { "Bold": "#C9C9C9FF", "Regular": "#EDEDEDFF" }, "currentStrokeOptions": null, "previousGridSize": null, "frameRendering": { "enabled": true, "clip": true, "name": true, "outline": true } }, "files": {}}