<svg xmlns="http://www.w3.org/2000/svg" width="1200" height="675" viewBox="0 0 1200 675"><defs><marker id="a" markerWidth="10" markerHeight="10" refX="8" refY="3" orient="auto"><path d="M0,0 L0,6 L9,3 z" fill="#059669"/></marker></defs><rect width="1200" height="675" fill="#fef3c7"/><rect x="55" y="50" width="1090" height="575" rx="34" fill="#ffffff" opacity="0.95"/><text x="90" y="112" font-size="40" font-weight="700" fill="#0f172a">Docker端口映射模型</text><text x="90" y="155" font-size="23" fill="#475569">宿主机入口转发到容器内部监听端口</text><rect x="90" y="245" width="220" height="165" rx="24" fill="#fff" stroke="#b45309" stroke-width="3"/><circle cx="132" cy="295" r="22" fill="#059669"/><text x="165" y="303" font-size="26" font-weight="700" fill="#0f172a">客户端</text><text x="118" y="355" font-size="20" fill="#475569">访问宿主机</text><path d="M318 328 H348" stroke="#059669" stroke-width="5" marker-end="url(#a)"/><rect x="355" y="245" width="220" height="165" rx="24" fill="#fff" stroke="#b45309" stroke-width="3"/><circle cx="397" cy="295" r="22" fill="#059669"/><text x="430" y="303" font-size="26" font-weight="700" fill="#0f172a">端口</text><text x="383" y="355" font-size="20" fill="#475569">8080 到 80</text><path d="M583 328 H613" stroke="#059669" stroke-width="5" marker-end="url(#a)"/><rect x="620" y="245" width="220" height="165" rx="24" fill="#fff" stroke="#b45309" stroke-width="3"/><circle cx="662" cy="295" r="22" fill="#059669"/><text x="695" y="303" font-size="26" font-weight="700" fill="#0f172a">转发</text><text x="648" y="355" font-size="20" fill="#475569">进入容器</text><path d="M848 328 H878" stroke="#059669" stroke-width="5" marker-end="url(#a)"/><rect x="885" y="245" width="220" height="165" rx="24" fill="#fff" stroke="#b45309" stroke-width="3"/><circle cx="927" cy="295" r="22" fill="#059669"/><text x="960" y="303" font-size="26" font-weight="700" fill="#0f172a">应用</text><text x="913" y="355" font-size="20" fill="#475569">返回响应</text><rect x="100" y="505" width="1000" height="70" rx="24" fill="#fef3c7" stroke="#b45309"/><text x="600" y="550" text-anchor="middle" font-size="24" fill="#0f172a">访问路径清楚，配置和排障才可重复</text></svg>