Skip to content

DockerNetworking2.excalidraw

⚠ Switch to EXCALIDRAW VIEW in the MORE OPTIONS menu of this document. ⚠

Text Elements

Container 1

Container 2

Container 3

Network

Within a Docker network, all containers can communicate with each other and IPs are automatically resolved.

%%

Drawing

{
"type": "excalidraw",
"version": 2,
"source": "https://github.com/zsviczian/obsidian-excalidraw-plugin/releases/tag/2.0.3",
"elements": [
{
"id": "TMT8rvxr1Cxj6w15YZXE5",
"type": "rectangle",
"x": -158.44236339370207,
"y": -142.64223014558536,
"width": 809.7374827394007,
"height": 228.39228568539363,
"angle": 0,
"strokeColor": "#1e1e1e",
"backgroundColor": "#ffec99",
"fillStyle": "hachure",
"strokeWidth": 2,
"strokeStyle": "solid",
"roughness": 1,
"opacity": 100,
"groupIds": [],
"frameId": null,
"roundness": {
"type": 3
},
"seed": 1688543970,
"version": 151,
"versionNonce": 1955566014,
"isDeleted": false,
"boundElements": null,
"updated": 1700738968516,
"link": null,
"locked": false
},
{
"id": "juf3eoSWaiVaN-N5NKydg",
"type": "rectangle",
"x": -109.47265625,
"y": -74.8828125,
"width": 199.9765625,
"height": 93.54296875,
"angle": 0,
"strokeColor": "#1e1e1e",
"backgroundColor": "#d0bfff",
"fillStyle": "solid",
"strokeWidth": 2,
"strokeStyle": "solid",
"roughness": 1,
"opacity": 100,
"groupIds": [],
"frameId": null,
"roundness": {
"type": 3
},
"seed": 1197208446,
"version": 113,
"versionNonce": 1476064190,
"isDeleted": false,
"boundElements": [
{
"type": "text",
"id": "oPQS3K0N"
}
],
"updated": 1700738933374,
"link": null,
"locked": false
},
{
"id": "oPQS3K0N",
"type": "text",
"x": -62.794334411621094,
"y": -40.611328125,
"width": 106.61991882324219,
"height": 25,
"angle": 0,
"strokeColor": "#1e1e1e",
"backgroundColor": "transparent",
"fillStyle": "solid",
"strokeWidth": 2,
"strokeStyle": "solid",
"roughness": 1,
"opacity": 100,
"groupIds": [],
"frameId": null,
"roundness": null,
"seed": 1276891006,
"version": 13,
"versionNonce": 908184574,
"isDeleted": false,
"boundElements": null,
"updated": 1700738933374,
"link": null,
"locked": false,
"text": "Container 1",
"rawText": "Container 1",
"fontSize": 20,
"fontFamily": 1,
"textAlign": "center",
"verticalAlign": "middle",
"baseline": 18,
"containerId": "juf3eoSWaiVaN-N5NKydg",
"originalText": "Container 1",
"lineHeight": 1.25
},
{
"type": "rectangle",
"version": 187,
"versionNonce": 1816804706,
"isDeleted": false,
"id": "6vH4kPaxCQqwZkDLsx7o5",
"fillStyle": "solid",
"strokeWidth": 2,
"strokeStyle": "solid",
"roughness": 1,
"opacity": 100,
"angle": 0,
"x": 143.95703125,
"y": -78.14908854166669,
"strokeColor": "#1e1e1e",
"backgroundColor": "#d0bfff",
"width": 199.9765625,
"height": 93.54296875,
"seed": 1750313570,
"groupIds": [],
"frameId": null,
"roundness": {
"type": 3
},
"boundElements": [
{
"type": "text",
"id": "55bwJxzG"
}
],
"updated": 1700738948626,
"link": null,
"locked": false
},
{
"type": "text",
"version": 98,
"versionNonce": 1822441762,
"isDeleted": false,
"id": "55bwJxzG",
"fillStyle": "solid",
"strokeWidth": 2,
"strokeStyle": "solid",
"roughness": 1,
"opacity": 100,
"angle": 0,
"x": 186.22535705566406,
"y": -43.877604166666686,
"strokeColor": "#1e1e1e",
"backgroundColor": "transparent",
"width": 115.43991088867188,
"height": 25,
"seed": 1593052706,
"groupIds": [],
"frameId": null,
"roundness": null,
"boundElements": [],
"updated": 1700738948626,
"link": null,
"locked": false,
"fontSize": 20,
"fontFamily": 1,
"text": "Container 2",
"rawText": "Container 2",
"textAlign": "center",
"verticalAlign": "middle",
"containerId": "6vH4kPaxCQqwZkDLsx7o5",
"originalText": "Container 2",
"lineHeight": 1.25,
"baseline": 18
},
{
"type": "rectangle",
"version": 198,
"versionNonce": 1547168638,
"isDeleted": false,
"id": "AQ_UW4fJ6L3TUgti8ahPq",
"fillStyle": "solid",
"strokeWidth": 2,
"strokeStyle": "solid",
"roughness": 1,
"opacity": 100,
"angle": 0,
"x": 392.32161458333326,
"y": -79.88346354166669,
"strokeColor": "#1e1e1e",
"backgroundColor": "#d0bfff",
"width": 199.9765625,
"height": 93.54296875,
"seed": 1344006562,
"groupIds": [],
"frameId": null,
"roundness": {
"type": 3
},
"boundElements": [
{
"type": "text",
"id": "ujLr4Xu9"
}
],
"updated": 1700738951863,
"link": null,
"locked": false
},
{
"type": "text",
"version": 109,
"versionNonce": 1600768958,
"isDeleted": false,
"id": "ujLr4Xu9",
"fillStyle": "solid",
"strokeWidth": 2,
"strokeStyle": "solid",
"roughness": 1,
"opacity": 100,
"angle": 0,
"x": 434.89993794759107,
"y": -45.611979166666686,
"strokeColor": "#1e1e1e",
"backgroundColor": "transparent",
"width": 114.81991577148438,
"height": 25,
"seed": 2045928802,
"groupIds": [],
"frameId": null,
"roundness": null,
"boundElements": [],
"updated": 1700738951863,
"link": null,
"locked": false,
"fontSize": 20,
"fontFamily": 1,
"text": "Container 3",
"rawText": "Container 3",
"textAlign": "center",
"verticalAlign": "middle",
"containerId": "AQ_UW4fJ6L3TUgti8ahPq",
"originalText": "Container 3",
"lineHeight": 1.25,
"baseline": 18
},
{
"id": "ppjJQUDzUzQunJLxnAfCw",
"type": "rectangle",
"x": 139.31115265751612,
"y": -189.33144622213638,
"width": 216.94885037251345,
"height": 68.27760710354369,
"angle": 0,
"strokeColor": "#1e1e1e",
"backgroundColor": "#ffec99",
"fillStyle": "solid",
"strokeWidth": 2,
"strokeStyle": "solid",
"roughness": 1,
"opacity": 100,
"groupIds": [],
"frameId": null,
"roundness": {
"type": 3
},
"seed": 1122204898,
"version": 155,
"versionNonce": 1771764478,
"isDeleted": false,
"boundElements": [
{
"type": "text",
"id": "3Y1ekdII"
}
],
"updated": 1700738992410,
"link": null,
"locked": false
},
{
"id": "3Y1ekdII",
"type": "text",
"x": 209.42561538039394,
"y": -167.69264267036453,
"width": 76.71992492675781,
"height": 25,
"angle": 0,
"strokeColor": "#1e1e1e",
"backgroundColor": "#ffec99",
"fillStyle": "hachure",
"strokeWidth": 2,
"strokeStyle": "solid",
"roughness": 1,
"opacity": 100,
"groupIds": [],
"frameId": null,
"roundness": null,
"seed": 1885495714,
"version": 101,
"versionNonce": 995028066,
"isDeleted": false,
"boundElements": null,
"updated": 1700738990439,
"link": null,
"locked": false,
"text": "Network",
"rawText": "Network",
"fontSize": 20,
"fontFamily": 1,
"textAlign": "center",
"verticalAlign": "middle",
"baseline": 18,
"containerId": "ppjJQUDzUzQunJLxnAfCw",
"originalText": "Network",
"lineHeight": 1.25
},
{
"id": "SFJ4zYhc",
"type": "text",
"x": 4.278615965530321,
"y": 107.49725342420425,
"width": 476.67962646484375,
"height": 75,
"angle": 0,
"strokeColor": "#1e1e1e",
"backgroundColor": "#ffec99",
"fillStyle": "solid",
"strokeWidth": 2,
"strokeStyle": "solid",
"roughness": 1,
"opacity": 100,
"groupIds": [],
"frameId": null,
"roundness": null,
"seed": 1667690402,
"version": 200,
"versionNonce": 1118927202,
"isDeleted": false,
"boundElements": null,
"updated": 1700739052121,
"link": null,
"locked": false,
"text": "Within a Docker network, \nall containers can communicate with each other \nand IPs are automatically resolved.",
"rawText": "Within a Docker network, \nall containers can communicate with each other \nand IPs are automatically resolved.",
"fontSize": 20,
"fontFamily": 1,
"textAlign": "center",
"verticalAlign": "top",
"baseline": 68,
"containerId": null,
"originalText": "Within a Docker network, \nall containers can communicate with each other \nand IPs are automatically resolved.",
"lineHeight": 1.25
}
],
"appState": {
"theme": "light",
"viewBackgroundColor": "#ffffff",
"currentItemStrokeColor": "#1e1e1e",
"currentItemBackgroundColor": "#ffec99",
"currentItemFillStyle": "solid",
"currentItemStrokeWidth": 2,
"currentItemStrokeStyle": "solid",
"currentItemRoughness": 1,
"currentItemOpacity": 100,
"currentItemFontFamily": 1,
"currentItemFontSize": 20,
"currentItemTextAlign": "center",
"currentItemStartArrowhead": null,
"currentItemEndArrowhead": "arrow",
"scrollX": 842.5729635069911,
"scrollY": 919.1423717884736,
"zoom": {
"value": 0.4181573206967023
},
"currentItemRoundness": "round",
"gridSize": null,
"gridColor": {
"Bold": "#C9C9C9FF",
"Regular": "#EDEDEDFF"
},
"currentStrokeOptions": null,
"previousGridSize": null,
"frameRendering": {
"enabled": true,
"clip": true,
"name": true,
"outline": true
}
},
"files": {}
}

%%