id: 53a87e4f7aa9424db55cf80bf335ed88
parent_id: 
item_type: 1
item_id: ed2f289a9dc64cdeb78a0a828904074d
item_updated_time: 1764345468971
title_diff: "[{\"diffs\":[[1,\"订阅转换服务的搭建 (Docker)\"]],\"start1\":0,\"start2\":0,\"length1\":0,\"length2\":18}]"
body_diff: "[{\"diffs\":[[1,\"<html>\\\r\\\n<head>\\\r\\\n  <title>订阅转换服务的搭建 (Docker)</title>\\\r\\\n  <basefont face=\\\"微软雅黑\\\" size=\\\"2\\\" />\\\r\\\n  <meta http-equiv=\\\"Content-Type\\\" content=\\\"text/html;charset=utf-8\\\" />\\\r\\\n  <meta name=\\\"exporter-version\\\" content=\\\"YXBJ Windows/608924 (zh-CN, DDL); Windows/10.0.0 (Win64); EDAMVersion=V2;\\\"/>\\\r\\\n  <style>\\\r\\\n\\tbody, td {\\\r\\\n\\t  font-family: 微软雅黑;\\\r\\\n\\t  font-size: 12pt;\\\r\\\n\\t}\\\r\\\n  </style>\\\r\\\n</head>\\\r\\\n<body>\\\r\\\n<a name=\\\"3046\\\"></a>\\\r\\\n<h1>订阅转换服务的搭建 (Docker)</h1>\\\r\\\n\\\r\\\n<div>\\\n<span><div><br/></div><div style=\\\"font-size: 16px; min-width: 100%; position: relative;\\\"><div style=\\\"font-size:16px;box-sizing:border-box;scroll-behavior:smooth;\\\"><div style=\\\"background: none 0% 0% / auto repeat scroll padding-box border-box rgb(255, 255, 255); -webkit-font-smoothing: antialiased; box-sizing: border-box; font-size: 16px; text-align: start; text-size-adjust: 100%; -webkit-tap-highlight-color: transparent;\\\"><div style=\\\"box-sizing:border-box;justify-content:center;\\\"><div style=\\\"box-sizing:border-box;\\\"><div style=\\\"box-sizing:border-box;\\\"><div style=\\\"box-sizing:border-box;\\\"><div style=\\\"box-sizing:border-box;\\\"><h1 style=\\\"box-sizing: border-box; margin-top: 0px; margin-bottom: 24px; font-size: 40px;\\\"><span style=\\\"box-sizing: border-box;\\\"><span style=\\\"font-size: 40px; color: rgb(33, 37, 41); font-family: Lato, &quot;Microsoft Yahei&quot;, sans-serif; font-weight: 500; line-height: 1.2;\\\">订阅转换服务的搭建 (Docker)</span></span></h1><div style=\\\"box-sizing: border-box; font-size: 13.6px;\\\"><div><span style=\\\"font-size: 13.6px; box-sizing: border-box; color: rgba(33, 37, 41, 0.75); font-family: system-ui, -apple-system, &quot;Segoe UI&quot;, Roboto, &quot;Helvetica Neue&quot;, &quot;Noto Sans&quot;, &quot;Liberation Sans&quot;, Arial, sans-serif, &quot;Apple Color Emoji&quot;, &quot;Segoe UI Emoji&quot;, &quot;Segoe UI Symbol&quot;, &quot;Noto Color Emoji&quot;; font-weight: 400; line-height: 1.75;\\\">发表于</span> <span style=\\\"box-sizing: border-box; font-size: 13.6px; color: rgb(52, 52, 60); font-family: system-ui, -apple-system, &quot;Segoe UI&quot;, Roboto, &quot;Helvetica Neue&quot;, &quot;Noto Sans&quot;, &quot;Liberation Sans&quot;, Arial, sans-serif, &quot;Apple Color Emoji&quot;, &quot;Segoe UI Emoji&quot;, &quot;Segoe UI Symbol&quot;, &quot;Noto Color Emoji&quot;; font-weight: 400; line-height: 1.75;\\\">2021/07/24</span> <span style=\\\"padding-left: 0.25rem; padding-right: 0.25rem; font-size: 13.6px; color: rgba(33, 37, 41, 0.75); font-family: system-ui, -apple-system, &quot;Segoe UI&quot;, Roboto, &quot;Helvetica Neue&quot;, &quot;Noto Sans&quot;, &quot;Liberation Sans&quot;, Arial, sans-serif, &quot;Apple Color Emoji&quot;, &quot;Segoe UI Emoji&quot;, &quot;Segoe UI Symbol&quot;, &quot;Noto Color Emoji&quot;; font-weight: 400; line-height: 1.75;\\\">•</span> <span style=\\\"font-size: 13.6px; box-sizing: border-box; color: rgba(33, 37, 41, 0.75); font-family: system-ui, -apple-system, &quot;Segoe UI&quot;, Roboto, &quot;Helvetica Neue&quot;, &quot;Noto Sans&quot;, &quot;Liberation Sans&quot;, Arial, sans-serif, &quot;Apple Color Emoji&quot;, &quot;Segoe UI Emoji&quot;, &quot;Segoe UI Symbol&quot;, &quot;Noto Color Emoji&quot;; font-weight: 400; line-height: 1.75;\\\">更新于</span> <span style=\\\"box-sizing: border-box; font-size: 13.6px; color: rgb(52, 52, 60); font-family: system-ui, -apple-system, &quot;Segoe UI&quot;, Roboto, &quot;Helvetica Neue&quot;, &quot;Noto Sans&quot;, &quot;Liberation Sans&quot;, Arial, sans-serif, &quot;Apple Color Emoji&quot;, &quot;Segoe UI Emoji&quot;, &quot;Segoe UI Symbol&quot;, &quot;Noto Color Emoji&quot;; font-weight: 400; line-height: 1.75;\\\">2022/08/25</span></div><div><span style=\\\"box-sizing: border-box; font-size: 13.6px; color: rgb(52, 52, 60); font-family: system-ui, -apple-system, &quot;Segoe UI&quot;, Roboto, &quot;Helvetica Neue&quot;, &quot;Noto Sans&quot;, &quot;Liberation Sans&quot;, Arial, sans-serif, &quot;Apple Color Emoji&quot;, &quot;Segoe UI Emoji&quot;, &quot;Segoe UI Symbol&quot;, &quot;Noto Color Emoji&quot;; font-weight: 400; line-height: 1.75;\\\"><br/></span></div><div><span style=\\\"color: rgb(52, 52, 60); font-family: system-ui;\\\"><a href=\\\"https://blog.iswiftai.com/posts/docker-subscription-converter/\\\">https://blog.iswiftai.com/posts/docker-subscription-converter/</a></span></div><div style=\\\"box-sizing:border-box;margin-top:16px;margin-bottom:16px;\\\"><div><a href=\\\"https://blog.iswiftai.com/assets/img/images/2021/07/24/subscriptionconverter.png\\\" style=\\\"box-sizing: border-box; border-radius: 8px; display: inline-flex; overflow: hidden; font-size: 13.6px; color: rgba(0, 0, 0, 0); font-family: system-ui, -apple-system, &quot;Segoe UI&quot;, Roboto, &quot;Helvetica Neue&quot;, &quot;Noto Sans&quot;, &quot;Liberation Sans&quot;, Arial, sans-serif, &quot;Apple Color Emoji&quot;, &quot;Segoe UI Emoji&quot;, &quot;Segoe UI Symbol&quot;, &quot;Noto Color Emoji&quot;; font-weight: 400; line-height: 1.75; text-decoration: underline;\\\"><img src=\\\":/7dce01b663e14669a8eaa13fb1a3bdcd\\\" type=\\\"image/png\\\" data-filename=\\\"subscriptionconverter.png\\\" style=\\\"border-radius:8px; max-width:100%; height:415.531px; transition:all 0.35s ease-in-out 0s; animation:0.35s ease-in 0s 1 normal none running fade-in; background:rgba(0, 0, 0, 0) radial-gradient(circle, rgb(255, 255, 255) 0%, rgb(239, 239, 239) 100%) repeat scroll 0% 0% / auto padding-box border-box; object-fit:cover; box-sizing:border-box; vertical-align:middle;\\\" width=\\\"1200\\\"/></a></div><div style=\\\"box-sizing:border-box;padding-top:8px;padding-bottom:8px;text-align:center;\\\"><span style=\\\"font-size: 13.6px; color: rgba(33, 37, 41, 0.75); font-family: system-ui, -apple-system, &quot;Segoe UI&quot;, Roboto, &quot;Helvetica Neue&quot;, &quot;Noto Sans&quot;, &quot;Liberation Sans&quot;, Arial, sans-serif, &quot;Apple Color Emoji&quot;, &quot;Segoe UI Emoji&quot;, &quot;Segoe UI Symbol&quot;, &quot;Noto Color Emoji&quot;; font-weight: 400; line-height: 1.75;\\\">Subscription Converter</span></div></div><div style=\\\"box-sizing:border-box;display:flex;justify-content:space-between;\\\"><span style=\\\"font-size: 13.6px; box-sizing: border-box; color: rgba(33, 37, 41, 0.75); font-family: system-ui, -apple-system, &quot;Segoe UI&quot;, Roboto, &quot;Helvetica Neue&quot;, &quot;Noto Sans&quot;, &quot;Liberation Sans&quot;, Arial, sans-serif, &quot;Apple Color Emoji&quot;, &quot;Segoe UI Emoji&quot;, &quot;Segoe UI Symbol&quot;, &quot;Noto Color Emoji&quot;; font-weight: 400; line-height: 1.75;\\\">作者</span> <a href=\\\"https://github.com/NiallLDY\\\" style=\\\"box-sizing: border-box; font-size: 13.6px; font-family: system-ui, -apple-system, &quot;Segoe UI&quot;, Roboto, &quot;Helvetica Neue&quot;, &quot;Noto Sans&quot;, &quot;Liberation Sans&quot;, Arial, sans-serif, &quot;Apple Color Emoji&quot;, &quot;Segoe UI Emoji&quot;, &quot;Segoe UI Symbol&quot;, &quot;Noto Color Emoji&quot;; font-style: normal; font-weight: 400; line-height: 1.75; text-decoration: underline;\\\">Niall Lv</a> <span style=\\\"font-size: 13.6px; box-sizing: border-box; color: rgb(52, 52, 60); font-family: system-ui, -apple-system, &quot;Segoe UI&quot;, Roboto, &quot;Helvetica Neue&quot;, &quot;Noto Sans&quot;, &quot;Liberation Sans&quot;, Arial, sans-serif, &quot;Apple Color Emoji&quot;, &quot;Segoe UI Emoji&quot;, &quot;Segoe UI Symbol&quot;, &quot;Noto Color Emoji&quot;; font-style: normal; font-weight: 400; line-height: 1.75;\\\">12 分钟</span><span style=\\\"font-size: 13.6px; box-sizing: border-box; color: rgba(33, 37, 41, 0.75); font-family: system-ui, -apple-system, &quot;Segoe UI&quot;, Roboto, &quot;Helvetica Neue&quot;, &quot;Noto Sans&quot;, &quot;Liberation Sans&quot;, Arial, sans-serif, &quot;Apple Color Emoji&quot;, &quot;Segoe UI Emoji&quot;, &quot;Segoe UI Symbol&quot;, &quot;Noto Color Emoji&quot;; font-weight: 400; line-height: 1.75;\\\">阅读</span></div></div></div><div style=\\\"box-sizing:border-box;margin-top:32px;overflow-wrap:break-word;font-size:16.48px;\\\"><div style=\\\"box-sizing: border-box; margin-top: 0px; margin-bottom: 16px;\\\"><span style=\\\"font-size: 16.48px; color: rgb(33, 37, 41); font-family: system-ui, -apple-system, &quot;Segoe UI&quot;, Roboto, &quot;Helvetica Neue&quot;, &quot;Noto Sans&quot;, &quot;Liberation Sans&quot;, Arial, sans-serif, &quot;Apple Color Emoji&quot;, &quot;Segoe UI Emoji&quot;, &quot;Segoe UI Symbol&quot;, &quot;Noto Color Emoji&quot;; font-weight: 400; line-height: 1.75;\\\">所使用的订阅链接无法直接添加到</span> <a href=\\\"https://github.com/yichengchen/clashX\\\" style=\\\"box-sizing: border-box; border-bottom: 0.666667px solid rgb(222, 226, 230); font-size: 16.48px; color: rgb(13, 110, 253); font-family: system-ui, -apple-system, &quot;Segoe UI&quot;, Roboto, &quot;Helvetica Neue&quot;, &quot;Noto Sans&quot;, &quot;Liberation Sans&quot;, Arial, sans-serif, &quot;Apple Color Emoji&quot;, &quot;Segoe UI Emoji&quot;, &quot;Segoe UI Symbol&quot;, &quot;Noto Color Emoji&quot;; font-weight: 400; line-height: 1.75; text-decoration: underline;\\\">ClashX</a><span style=\\\"font-size: 16.48px; color: rgb(33, 37, 41); font-family: system-ui, -apple-system, &quot;Segoe UI&quot;, Roboto, &quot;Helvetica Neue&quot;, &quot;Noto Sans&quot;, &quot;Liberation Sans&quot;, Arial, sans-serif, &quot;Apple Color Emoji&quot;, &quot;Segoe UI Emoji&quot;, &quot;Segoe UI Symbol&quot;, &quot;Noto Color Emoji&quot;; font-weight: 400; line-height: 1.75;\\\">，一般需要订阅转换服务。最近发现一直在用的订阅转换网站的后端崩了，导致 ClashX 无法下载转换的订阅文件。等了两天也没有修复，求人不如求己，看到该网站上有前端项目的 GitHub 链接，点进去发现后端也有相应的开源项目，那么干脆自己搭建一个完整的订阅转换服务吧。</span></div><h2 style=\\\"border-bottom: 0.666667px solid rgb(243, 243, 243); padding-bottom: 0.3em; box-sizing: border-box; margin-top: 0px; margin-bottom: 20px; font-size: 32px;\\\"><span style=\\\"box-sizing: border-box; margin-right: 8px; font-size: 32px; color: rgb(33, 37, 41); font-family: Lato, &quot;Microsoft Yahei&quot;, sans-serif; font-weight: 500; line-height: 1.2;\\\">准备工作</span><i style=\\\"box-sizing: border-box; user-select: none; -webkit-font-smoothing: antialiased; display: inline-block; text-rendering: auto;\\\"><a href=\\\"https://blog.iswiftai.com/posts/docker-subscription-converter/#%E5%87%86%E5%A4%87%E5%B7%A5%E4%BD%9C\\\" style=\\\"font-size: 80%; font-style: normal; color: rgba(33, 37, 41, 0.75); font-family: &quot;Font Awesome 6 Free&quot;; font-variant: normal; font-weight: 900; line-height: 1; text-decoration: underline;\\\">#</a></i></h2><div style=\\\"box-sizing: border-box; margin-top: 0px; margin-bottom: 16px;\\\"><span style=\\\"font-size: 16.48px; color: rgb(33, 37, 41); font-family: system-ui, -apple-system, &quot;Segoe UI&quot;, Roboto, &quot;Helvetica Neue&quot;, &quot;Noto Sans&quot;, &quot;Liberation Sans&quot;, Arial, sans-serif, &quot;Apple Color Emoji&quot;, &quot;Segoe UI Emoji&quot;, &quot;Segoe UI Symbol&quot;, &quot;Noto Color Emoji&quot;; font-weight: 400; line-height: 1.75;\\\">前端项目</span> <a href=\\\"https://github.com/CareyWang/sub-web\\\" style=\\\"box-sizing: border-box; border-bottom: 0.666667px solid rgb(222, 226, 230); font-size: 16.48px; color: rgb(13, 110, 253); font-family: system-ui, -apple-system, &quot;Segoe UI&quot;, Roboto, &quot;Helvetica Neue&quot;, &quot;Noto Sans&quot;, &quot;Liberation Sans&quot;, Arial, sans-serif, &quot;Apple Color Emoji&quot;, &quot;Segoe UI Emoji&quot;, &quot;Segoe UI Symbol&quot;, &quot;Noto Color Emoji&quot;; font-weight: 400; line-height: 1.75; text-decoration: underline;\\\">sub-web</a> <span style=\\\"font-size: 16.48px; color: rgb(33, 37, 41); font-family: system-ui, -apple-system, &quot;Segoe UI&quot;, Roboto, &quot;Helvetica Neue&quot;, &quot;Noto Sans&quot;, &quot;Liberation Sans&quot;, Arial, sans-serif, &quot;Apple Color Emoji&quot;, &quot;Segoe UI Emoji&quot;, &quot;Segoe UI Symbol&quot;, &quot;Noto Color Emoji&quot;; font-weight: 400; line-height: 1.75;\\\">主要由</span> <span style=\\\"font-size: 9pt; color: rgb(51, 51, 51); font-family: Monaco, Menlo, Consolas, &quot;Courier New&quot;, monospace, sans-serif; font-weight: 400; line-height: 1.75;\\\">Vue</span> <span style=\\\"font-size: 16.48px; color: rgb(33, 37, 41); font-family: system-ui, -apple-system, &quot;Segoe UI&quot;, Roboto, &quot;Helvetica Neue&quot;, &quot;Noto Sans&quot;, &quot;Liberation Sans&quot;, Arial, sans-serif, &quot;Apple Color Emoji&quot;, &quot;Segoe UI Emoji&quot;, &quot;Segoe UI Symbol&quot;, &quot;Noto Color Emoji&quot;; font-weight: 400; line-height: 1.75;\\\">写成，需要安装</span> <span style=\\\"font-size: 9pt; color: rgb(51, 51, 51); font-family: Monaco, Menlo, Consolas, &quot;Courier New&quot;, monospace, sans-serif; font-weight: 400; line-height: 1.75;\\\">Node</span> <span style=\\\"font-size: 16.48px; color: rgb(33, 37, 41); font-family: system-ui, -apple-system, &quot;Segoe UI&quot;, Roboto, &quot;Helvetica Neue&quot;, &quot;Noto Sans&quot;, &quot;Liberation Sans&quot;, Arial, sans-serif, &quot;Apple Color Emoji&quot;, &quot;Segoe UI Emoji&quot;, &quot;Segoe UI Symbol&quot;, &quot;Noto Color Emoji&quot;; font-weight: 400; line-height: 1.75;\\\">与</span> <span style=\\\"font-size: 9pt; color: rgb(51, 51, 51); font-family: Monaco, Menlo, Consolas, &quot;Courier New&quot;, monospace, sans-serif; font-weight: 400; line-height: 1.75;\\\">Yarn</span> <span style=\\\"font-size: 16.48px; color: rgb(33, 37, 41); font-family: system-ui, -apple-system, &quot;Segoe UI&quot;, Roboto, &quot;Helvetica Neue&quot;, &quot;Noto Sans&quot;, &quot;Liberation Sans&quot;, Arial, sans-serif, &quot;Apple Color Emoji&quot;, &quot;Segoe UI Emoji&quot;, &quot;Segoe UI Symbol&quot;, &quot;Noto Color Emoji&quot;; font-weight: 400; line-height: 1.75;\\\">来安装依赖与打包发布。后端项目</span> <a href=\\\"https://github.com/tindy2013/subconverter\\\" style=\\\"box-sizing: border-box; border-bottom: 0.666667px solid rgb(222, 226, 230); font-size: 16.48px; color: rgb(13, 110, 253); font-family: system-ui, -apple-system, &quot;Segoe UI&quot;, Roboto, &quot;Helvetica Neue&quot;, &quot;Noto Sans&quot;, &quot;Liberation Sans&quot;, Arial, sans-serif, &quot;Apple Color Emoji&quot;, &quot;Segoe UI Emoji&quot;, &quot;Segoe UI Symbol&quot;, &quot;Noto Color Emoji&quot;; font-weight: 400; line-height: 1.75; text-decoration: underline;\\\">subconverter</a> <span style=\\\"font-size: 16.48px; color: rgb(33, 37, 41); font-family: system-ui, -apple-system, &quot;Segoe UI&quot;, Roboto, &quot;Helvetica Neue&quot;, &quot;Noto Sans&quot;, &quot;Liberation Sans&quot;, Arial, sans-serif, &quot;Apple Color Emoji&quot;, &quot;Segoe UI Emoji&quot;, &quot;Segoe UI Symbol&quot;, &quot;Noto Color Emoji&quot;; font-weight: 400; line-height: 1.75;\\\">则由</span> <span style=\\\"font-size: 9pt; color: rgb(51, 51, 51); font-family: Monaco, Menlo, Consolas, &quot;Courier New&quot;, monospace, sans-serif; font-weight: 400; line-height: 1.75;\\\">C++</span> <span style=\\\"font-size: 16.48px; color: rgb(33, 37, 41); font-family: system-ui, -apple-system, &quot;Segoe UI&quot;, Roboto, &quot;Helvetica Neue&quot;, &quot;Noto Sans&quot;, &quot;Liberation Sans&quot;, Arial, sans-serif, &quot;Apple Color Emoji&quot;, &quot;Segoe UI Emoji&quot;, &quot;Segoe UI Symbol&quot;, &quot;Noto Color Emoji&quot;; font-weight: 400; line-height: 1.75;\\\">写成，该项目未直接给出具体的编译、运行程序的步骤，但是给出了使用 Docker 镜像安装的具体步骤。</span></div><div style=\\\"box-sizing: border-box; margin-top: 0px; margin-bottom: 16px;\\\"><span style=\\\"font-size: 16.48px; color: rgb(33, 37, 41); font-family: system-ui, -apple-system, &quot;Segoe UI&quot;, Roboto, &quot;Helvetica Neue&quot;, &quot;Noto Sans&quot;, &quot;Liberation Sans&quot;, Arial, sans-serif, &quot;Apple Color Emoji&quot;, &quot;Segoe UI Emoji&quot;, &quot;Segoe UI Symbol&quot;, &quot;Noto Color Emoji&quot;; font-weight: 400; line-height: 1.75;\\\">对于前端项目，如果我们采用非 Docker 的方式，就需要手动安装</span> <span style=\\\"font-size: 9pt; color: rgb(51, 51, 51); font-family: Monaco, Menlo, Consolas, &quot;Courier New&quot;, monospace, sans-serif; font-weight: 400; line-height: 1.75;\\\">Node</span> <span style=\\\"font-size: 16.48px; color: rgb(33, 37, 41); font-family: system-ui, -apple-system, &quot;Segoe UI&quot;, Roboto, &quot;Helvetica Neue&quot;, &quot;Noto Sans&quot;, &quot;Liberation Sans&quot;, Arial, sans-serif, &quot;Apple Color Emoji&quot;, &quot;Segoe UI Emoji&quot;, &quot;Segoe UI Symbol&quot;, &quot;Noto Color Emoji&quot;; font-weight: 400; line-height: 1.75;\\\">与</span> <span style=\\\"font-size: 9pt; color: rgb(51, 51, 51); font-family: Monaco, Menlo, Consolas, &quot;Courier New&quot;, monospace, sans-serif; font-weight: 400; line-height: 1.75;\\\">Yarn</span><span style=\\\"font-size: 16.48px; color: rgb(33, 37, 41); font-family: system-ui, -apple-system, &quot;Segoe UI&quot;, Roboto, &quot;Helvetica Neue&quot;, &quot;Noto Sans&quot;, &quot;Liberation Sans&quot;, Arial, sans-serif, &quot;Apple Color Emoji&quot;, &quot;Segoe UI Emoji&quot;, &quot;Segoe UI Symbol&quot;, &quot;Noto Color Emoji&quot;; font-weight: 400; line-height: 1.75;\\\">，且当我们不需要该项目时，软件和相关依赖的清除工作也会变得很麻烦。因此我们都采用</span> <a href=\\\"https://www.docker.com/\\\" style=\\\"box-sizing: border-box; border-bottom: 0.666667px solid rgb(222, 226, 230); font-size: 16.48px; color: rgb(13, 110, 253); font-family: system-ui, -apple-system, &quot;Segoe UI&quot;, Roboto, &quot;Helvetica Neue&quot;, &quot;Noto Sans&quot;, &quot;Liberation Sans&quot;, Arial, sans-serif, &quot;Apple Color Emoji&quot;, &quot;Segoe UI Emoji&quot;, &quot;Segoe UI Symbol&quot;, &quot;Noto Color Emoji&quot;; font-weight: 400; line-height: 1.75; text-decoration: underline;\\\">Docker</a> <span style=\\\"font-size: 16.48px; color: rgb(33, 37, 41); font-family: system-ui, -apple-system, &quot;Segoe UI&quot;, Roboto, &quot;Helvetica Neue&quot;, &quot;Noto Sans&quot;, &quot;Liberation Sans&quot;, Arial, sans-serif, &quot;Apple Color Emoji&quot;, &quot;Segoe UI Emoji&quot;, &quot;Segoe UI Symbol&quot;, &quot;Noto Color Emoji&quot;; font-weight: 400; line-height: 1.75;\\\">来安装、发布前后端项目，组成完整的订阅转换系统。正好之前也没有接触过 Docker，这篇文章也用来记录一下 Docker 的安装以及基本命令的使用。</span></div><h3 style=\\\"box-sizing: border-box; margin-top: 0px; margin-bottom: 20px; font-size: 28px;\\\"><span style=\\\"box-sizing: border-box; margin-right: 8px; font-size: 28px; color: rgb(33, 37, 41); font-family: Lato, &quot;Microsoft Yahei&quot;, sans-serif; font-weight: 500; line-height: 1.2;\\\">安装 Docker</span><i style=\\\"box-sizing: border-box; user-select: none; -webkit-font-smoothing: antialiased; display: inline-block; text-rendering: auto;\\\"><a href=\\\"https://blog.iswiftai.com/posts/docker-subscription-converter/#%E5%AE%89%E8%A3%85-docker\\\" style=\\\"font-size: 80%; font-style: normal; color: rgba(33, 37, 41, 0.75); font-family: &quot;Font Awesome 6 Free&quot;; font-variant: normal; font-weight: 900; line-height: 1; text-decoration: underline;\\\">#</a></i></h3><div style=\\\"box-sizing: border-box; margin-top: 0px; margin-bottom: 16px;\\\"><span style=\\\"font-size: 16.48px; color: rgb(33, 37, 41); font-family: system-ui, -apple-system, &quot;Segoe UI&quot;, Roboto, &quot;Helvetica Neue&quot;, &quot;Noto Sans&quot;, &quot;Liberation Sans&quot;, Arial, sans-serif, &quot;Apple Color Emoji&quot;, &quot;Segoe UI Emoji&quot;, &quot;Segoe UI Symbol&quot;, &quot;Noto Color Emoji&quot;; font-weight: 400; line-height: 1.75;\\\">本节简要地给出在</span> <span style=\\\"font-size: 9pt; color: rgb(51, 51, 51); font-family: Monaco, Menlo, Consolas, &quot;Courier New&quot;, monospace, sans-serif; font-weight: 400; line-height: 1.75;\\\">Ubuntu 22.04</span> <span style=\\\"font-size: 16.48px; color: rgb(33, 37, 41); font-family: system-ui, -apple-system, &quot;Segoe UI&quot;, Roboto, &quot;Helvetica Neue&quot;, &quot;Noto Sans&quot;, &quot;Liberation Sans&quot;, Arial, sans-serif, &quot;Apple Color Emoji&quot;, &quot;Segoe UI Emoji&quot;, &quot;Segoe UI Symbol&quot;, &quot;Noto Color Emoji&quot;; font-weight: 400; line-height: 1.75;\\\">系统下 Docker 的安装步骤。其他系统下 Docker 的安装方式见该</span><a href=\\\"https://docs.docker.com/engine/install/\\\" style=\\\"box-sizing: border-box; border-bottom: 0.666667px solid rgb(222, 226, 230); font-size: 16.48px; color: rgb(13, 110, 253); font-family: system-ui, -apple-system, &quot;Segoe UI&quot;, Roboto, &quot;Helvetica Neue&quot;, &quot;Noto Sans&quot;, &quot;Liberation Sans&quot;, Arial, sans-serif, &quot;Apple Color Emoji&quot;, &quot;Segoe UI Emoji&quot;, &quot;Segoe UI Symbol&quot;, &quot;Noto Color Emoji&quot;; font-weight: 400; line-height: 1.75; text-decoration: underline;\\\">链接</a><span style=\\\"font-size: 16.48px; color: rgb(33, 37, 41); font-family: system-ui, -apple-system, &quot;Segoe UI&quot;, Roboto, &quot;Helvetica Neue&quot;, &quot;Noto Sans&quot;, &quot;Liberation Sans&quot;, Arial, sans-serif, &quot;Apple Color Emoji&quot;, &quot;Segoe UI Emoji&quot;, &quot;Segoe UI Symbol&quot;, &quot;Noto Color Emoji&quot;; font-weight: 400; line-height: 1.75;\\\">。</span></div><ol style=\\\"padding-inline-start:32px;box-sizing:border-box;padding-left:32px;margin-top:0px;margin-bottom:16px;\\\"><li style=\\\"box-sizing:border-box;\\\"><div style=\\\"box-sizing: border-box; margin-top: 0px; margin-bottom: 16px;\\\"><span style=\\\"font-size: 16.48px; color: rgb(33, 37, 41); font-family: system-ui, -apple-system, &quot;Segoe UI&quot;, Roboto, &quot;Helvetica Neue&quot;, &quot;Noto Sans&quot;, &quot;Liberation Sans&quot;, Arial, sans-serif, &quot;Apple Color Emoji&quot;, &quot;Segoe UI Emoji&quot;, &quot;Segoe UI Symbol&quot;, &quot;Noto Color Emoji&quot;; font-weight: 400; line-height: 1.75;\\\">首先更新</span> <span style=\\\"font-size: 9pt; color: rgb(51, 51, 51); font-family: Monaco, Menlo, Consolas, &quot;Courier New&quot;, monospace, sans-serif; font-weight: 400; line-height: 1.75;\\\">apt</span> <span style=\\\"font-size: 16.48px; color: rgb(33, 37, 41); font-family: system-ui, -apple-system, &quot;Segoe UI&quot;, Roboto, &quot;Helvetica Neue&quot;, &quot;Noto Sans&quot;, &quot;Liberation Sans&quot;, Arial, sans-serif, &quot;Apple Color Emoji&quot;, &quot;Segoe UI Emoji&quot;, &quot;Segoe UI Symbol&quot;, &quot;Noto Color Emoji&quot;; font-weight: 400; line-height: 1.75;\\\">程序包索引，并安装程序包以允许</span> <span style=\\\"font-size: 9pt; color: rgb(51, 51, 51); font-family: Monaco, Menlo, Consolas, &quot;Courier New&quot;, monospace, sans-serif; font-weight: 400; line-height: 1.75;\\\">apt</span> <span style=\\\"font-size: 16.48px; color: rgb(33, 37, 41); font-family: system-ui, -apple-system, &quot;Segoe UI&quot;, Roboto, &quot;Helvetica Neue&quot;, &quot;Noto Sans&quot;, &quot;Liberation Sans&quot;, Arial, sans-serif, &quot;Apple Color Emoji&quot;, &quot;Segoe UI Emoji&quot;, &quot;Segoe UI Symbol&quot;, &quot;Noto Color Emoji&quot;; font-weight: 400; line-height: 1.75;\\\">通过</span> <span style=\\\"font-size: 9pt; color: rgb(51, 51, 51); font-family: Monaco, Menlo, Consolas, &quot;Courier New&quot;, monospace, sans-serif; font-weight: 400; line-height: 1.75;\\\">HTTPS</span> <span style=\\\"font-size: 16.48px; color: rgb(33, 37, 41); font-family: system-ui, -apple-system, &quot;Segoe UI&quot;, Roboto, &quot;Helvetica Neue&quot;, &quot;Noto Sans&quot;, &quot;Liberation Sans&quot;, Arial, sans-serif, &quot;Apple Color Emoji&quot;, &quot;Segoe UI Emoji&quot;, &quot;Segoe UI Symbol&quot;, &quot;Noto Color Emoji&quot;; font-weight: 400; line-height: 1.75;\\\">使用存储库：</span></div><div style=\\\"box-sizing: border-box; border-radius: 8px; background-color: rgb(246, 248, 250); margin-top: 8px; margin-bottom: 1.2em; box-shadow: rgb(236, 236, 236) 0px 0px 0px 1px;\\\"><div style=\\\"box-sizing:border-box;user-select:none;display:flex;justify-content:space-between;align-items:center;height:36px;margin-left:0px;margin-right:0px;\\\"><span style=\\\"box-sizing: border-box; margin-left: -0.9375rem;\\\"><i style=\\\"box-sizing: border-box; user-select: none; -webkit-font-smoothing: antialiased; display: inline-block; text-rendering: auto; text-align: center; width: 1.25em; font-size: 70%;\\\"><span style=\\\"font-size: 70%; text-align: center; font-style: normal; color: rgb(201, 200, 200); font-family: &quot;Font Awesome 6 Free&quot;; font-variant: normal; font-weight: 900; line-height: 1;\\\"></span></i><span style=\\\"font-size: 0.85rem; color: var(--code-header-text-color); font-family: system-ui, -apple-system, &quot;Segoe UI&quot;, Roboto, &quot;Helvetica Neue&quot;, &quot;Noto Sans&quot;, &quot;Liberation Sans&quot;, Arial, sans-serif, &quot;Apple Color Emoji&quot;, &quot;Segoe UI Emoji&quot;, &quot;Segoe UI Symbol&quot;, &quot;Noto Color Emoji&quot;; font-weight: 600; line-height: 36px;\\\">Shell</span></span></div><div style=\\\"box-sizing: border-box; border-radius: 0px 0px 0.5rem 0.5rem; overflow: auto; padding-bottom: 12px; background-color: rgb(246, 248, 250);\\\"><div><br/></div><table style=\\\"font-size: inherit; box-sizing: border-box; caption-side: bottom; border-collapse: collapse; min-width: 100%;\\\"><colgroup><col style=\\\"width: 528px;\\\"></col></colgroup><tbody style=\\\"box-sizing:border-box;border-color:inherit;border-style:solid;border-width:0px;\\\"><tr style=\\\"box-sizing: border-box;\\\"><td style=\\\"box-sizing: border-box; width: 528px; padding: 8px; border: 1px solid;\\\"><div style=\\\"box-sizing: border-box; overflow-wrap: normal; font-size: 13.6px; word-break: normal; overflow: visible; margin: 0px;\\\"><div><span style=\\\"box-sizing: border-box; font-size: 13.6px; color: rgb(149, 56, 0); font-family: SFMono-Regular, Menlo, Monaco, Consolas, &quot;Liberation Mono&quot;, &quot;Courier New&quot;, monospace; font-weight: 400; line-height: 22.4px;\\\">sudo</span> <span style=\\\"font-size: 13.6px; color: rgb(51, 51, 51); font-family: SFMono-Regular, Menlo, Monaco, Consolas, &quot;Liberation Mono&quot;, &quot;Courier New&quot;, monospace; font-weight: 400; line-height: 22.4px;\\\">apt update</span></div><div><br/></div><div><span style=\\\"box-sizing: border-box; font-size: 13.6px; color: rgb(149, 56, 0); font-family: SFMono-Regular, Menlo, Monaco, Consolas, &quot;Liberation Mono&quot;, &quot;Courier New&quot;, monospace; font-weight: 400; line-height: 22.4px;\\\">sudo</span> <span style=\\\"font-size: 13.6px; color: rgb(51, 51, 51); font-family: SFMono-Regular, Menlo, Monaco, Consolas, &quot;Liberation Mono&quot;, &quot;Courier New&quot;, monospace; font-weight: 400; line-height: 22.4px;\\\">apt</span> <span style=\\\"box-sizing: border-box; font-size: 13.6px; color: rgb(149, 56, 0); font-family: SFMono-Regular, Menlo, Monaco, Consolas, &quot;Liberation Mono&quot;, &quot;Courier New&quot;, monospace; font-weight: 400; line-height: 22.4px;\\\">install</span> <span style=\\\"box-sizing: border-box; font-size: 13.6px; color: rgb(10, 48, 105); font-family: SFMono-Regular, Menlo, Monaco, Consolas, &quot;Liberation Mono&quot;, &quot;Courier New&quot;, monospace; font-weight: 400; line-height: 22.4px;\\\">\\\\</span></div><div><span style=\\\"font-size: 13.6px; color: rgb(51, 51, 51); font-family: SFMono-Regular, Menlo, Monaco, Consolas, &quot;Liberation Mono&quot;, &quot;Courier New&quot;, monospace; font-weight: 400; line-height: 22.4px;\\\">ca-certificates</span> <span style=\\\"box-sizing: border-box; font-size: 13.6px; color: rgb(10, 48, 105); font-family: SFMono-Regular, Menlo, Monaco, Consolas, &quot;Liberation Mono&quot;, &quot;Courier New&quot;, monospace; font-weight: 400; line-height: 22.4px;\\\">\\\\</span></div><div><span style=\\\"font-size: 13.6px; color: rgb(51, 51, 51); font-family: SFMono-Regular, Menlo, Monaco, Consolas, &quot;Liberation Mono&quot;, &quot;Courier New&quot;, monospace; font-weight: 400; line-height: 22.4px;\\\">curl</span> <span style=\\\"box-sizing: border-box; font-size: 13.6px; color: rgb(10, 48, 105); font-family: SFMono-Regular, Menlo, Monaco, Consolas, &quot;Liberation Mono&quot;, &quot;Courier New&quot;, monospace; font-weight: 400; line-height: 22.4px;\\\">\\\\</span></div><div><span style=\\\"font-size: 13.6px; color: rgb(51, 51, 51); font-family: SFMono-Regular, Menlo, Monaco, Consolas, &quot;Liberation Mono&quot;, &quot;Courier New&quot;, monospace; font-weight: 400; line-height: 22.4px;\\\">gnupg</span> <span style=\\\"box-sizing: border-box; font-size: 13.6px; color: rgb(10, 48, 105); font-family: SFMono-Regular, Menlo, Monaco, Consolas, &quot;Liberation Mono&quot;, &quot;Courier New&quot;, monospace; font-weight: 400; line-height: 22.4px;\\\">\\\\</span></div><div><span style=\\\"font-size: 13.6px; color: rgb(51, 51, 51); font-family: SFMono-Regular, Menlo, Monaco, Consolas, &quot;Liberation Mono&quot;, &quot;Courier New&quot;, monospace; font-weight: 400; line-height: 22.4px;\\\">lsb-release</span></div></div></td></tr></tbody></table><div><br/></div></div></div></li><li style=\\\"box-sizing:border-box;\\\"><div style=\\\"box-sizing: border-box; margin-top: 0px; margin-bottom: 16px;\\\"><span style=\\\"font-size: 16.48px; color: rgb(33, 37, 41); font-family: system-ui, -apple-system, &quot;Segoe UI&quot;, Roboto, &quot;Helvetica Neue&quot;, &quot;Noto Sans&quot;, &quot;Liberation Sans&quot;, Arial, sans-serif, &quot;Apple Color Emoji&quot;, &quot;Segoe UI Emoji&quot;, &quot;Segoe UI Symbol&quot;, &quot;Noto Color Emoji&quot;; font-weight: 400; line-height: 1.75;\\\">接着添加 Docker 的官方 GPG 密钥：</span></div><div style=\\\"box-sizing: border-box; border-radius: 8px; background-color: rgb(246, 248, 250); margin-top: 8px; margin-bottom: 1.2em; box-shadow: rgb(236, 236, 236) 0px 0px 0px 1px;\\\"><div style=\\\"box-sizing:border-box;user-select:none;display:flex;justify-content:space-between;align-items:center;height:36px;margin-left:0px;margin-right:0px;\\\"><span style=\\\"box-sizing: border-box; margin-left: -0.9375rem;\\\"><i style=\\\"box-sizing: border-box; user-select: none; -webkit-font-smoothing: antialiased; display: inline-block; text-rendering: auto; text-align: center; width: 1.25em; font-size: 70%;\\\"><span style=\\\"font-size: 70%; text-align: center; font-style: normal; color: rgb(201, 200, 200); font-family: &quot;Font Awesome 6 Free&quot;; font-variant: normal; font-weight: 900; line-height: 1;\\\"></span></i><span style=\\\"font-size: 0.85rem; color: var(--code-header-text-color); font-family: system-ui, -apple-system, &quot;Segoe UI&quot;, Roboto, &quot;Helvetica Neue&quot;, &quot;Noto Sans&quot;, &quot;Liberation Sans&quot;, Arial, sans-serif, &quot;Apple Color Emoji&quot;, &quot;Segoe UI Emoji&quot;, &quot;Segoe UI Symbol&quot;, &quot;Noto Color Emoji&quot;; font-weight: 600; line-height: 36px;\\\">Shell</span></span></div><div style=\\\"box-sizing: border-box; border-radius: 0px 0px 0.5rem 0.5rem; overflow: auto; padding-bottom: 12px; background-color: rgb(246, 248, 250);\\\"><div><br/></div><table style=\\\"font-size: inherit; box-sizing: border-box; caption-side: bottom; border-collapse: collapse; min-width: 100%;\\\"><colgroup><col style=\\\"width: 130px;\\\"></col></colgroup><tbody style=\\\"box-sizing:border-box;border-color:inherit;border-style:solid;border-width:0px;\\\"><tr style=\\\"box-sizing: border-box;\\\"><td style=\\\"box-sizing: border-box; width: 130px; padding: 8px; border: 1px solid;\\\"><div style=\\\"box-sizing: border-box; overflow-wrap: normal; font-size: 13.6px; word-break: normal; overflow: visible; margin: 0px;\\\"><div><span style=\\\"box-sizing: border-box; font-size: 13.6px; color: rgb(149, 56, 0); font-family: SFMono-Regular, Menlo, Monaco, Consolas, &quot;Liberation Mono&quot;, &quot;Courier New&quot;, monospace; font-weight: 400; line-height: 22.4px;\\\">sudo mkdir</span> <span style=\\\"box-sizing: border-box; font-size: 13.6px; color: rgb(17, 99, 41); font-family: SFMono-Regular, Menlo, Monaco, Consolas, &quot;Liberation Mono&quot;, &quot;Courier New&quot;, monospace; font-weight: 400; line-height: 22.4px;\\\">-p</span> <span style=\\\"font-size: 13.6px; color: rgb(51, 51, 51); font-family: SFMono-Regular, Menlo, Monaco, Consolas, &quot;Liberation Mono&quot;, &quot;Courier New&quot;, monospace; font-weight: 400; line-height: 22.4px;\\\">/etc/apt/keyrings</span></div><div><span style=\\\"font-size: 13.6px; color: rgb(51, 51, 51); font-family: SFMono-Regular, Menlo, Monaco, Consolas, &quot;Liberation Mono&quot;, &quot;Courier New&quot;, monospace; font-weight: 400; line-height: 22.4px;\\\">curl</span> <span style=\\\"box-sizing: border-box; font-size: 13.6px; color: rgb(17, 99, 41); font-family: SFMono-Regular, Menlo, Monaco, Consolas, &quot;Liberation Mono&quot;, &quot;Courier New&quot;, monospace; font-weight: 400; line-height: 22.4px;\\\">-fsSL</span> <span style=\\\"font-size: 13.6px; color: rgb(51, 51, 51); font-family: SFMono-Regular, Menlo, Monaco, Consolas, &quot;Liberation Mono&quot;, &quot;Courier New&quot;, monospace; font-weight: 400; line-height: 22.4px;\\\">https://download.docker.com/linux/ubuntu/gpg |</span> <span style=\\\"box-sizing: border-box; font-size: 13.6px; color: rgb(149, 56, 0); font-family: SFMono-Regular, Menlo, Monaco, Consolas, &quot;Liberation Mono&quot;, &quot;Courier New&quot;, monospace; font-weight: 400; line-height: 22.4px;\\\">sudo</span> <span style=\\\"font-size: 13.6px; color: rgb(51, 51, 51); font-family: SFMono-Regular, Menlo, Monaco, Consolas, &quot;Liberation Mono&quot;, &quot;Courier New&quot;, monospace; font-weight: 400; line-height: 22.4px;\\\">gpg</span> <span style=\\\"box-sizing: border-box; font-size: 13.6px; color: rgb(17, 99, 41); font-family: SFMono-Regular, Menlo, Monaco, Consolas, &quot;Liberation Mono&quot;, &quot;Courier New&quot;, monospace; font-weight: 400; line-height: 22.4px;\\\">--dearmor</span> <span style=\\\"box-sizing: border-box; font-size: 13.6px; color: rgb(17, 99, 41); font-family: SFMono-Regular, Menlo, Monaco, Consolas, &quot;Liberation Mono&quot;, &quot;Courier New&quot;, monospace; font-weight: 400; line-height: 22.4px;\\\">-o</span> <span style=\\\"font-size: 13.6px; color: rgb(51, 51, 51); font-family: SFMono-Regular, Menlo, Monaco, Consolas, &quot;Liberation Mono&quot;, &quot;Courier New&quot;, monospace; font-weight: 400; line-height: 22.4px;\\\">/etc/apt/keyrings/docker.gpg</span></div></div></td></tr></tbody></table><div><br/></div></div></div></li><li style=\\\"box-sizing:border-box;\\\"><div style=\\\"box-sizing: border-box; margin-top: 0px; margin-bottom: 16px;\\\"><span style=\\\"font-size: 16.48px; color: rgb(33, 37, 41); font-family: system-ui, -apple-system, &quot;Segoe UI&quot;, Roboto, &quot;Helvetica Neue&quot;, &quot;Noto Sans&quot;, &quot;Liberation Sans&quot;, Arial, sans-serif, &quot;Apple Color Emoji&quot;, &quot;Segoe UI Emoji&quot;, &quot;Segoe UI Symbol&quot;, &quot;Noto Color Emoji&quot;; font-weight: 400; line-height: 1.75;\\\">使用以下命令设置 Docker 使用稳定版本 (stable) 的库：</span></div><div style=\\\"box-sizing: border-box; border-radius: 8px; background-color: rgb(246, 248, 250); margin-top: 8px; margin-bottom: 1.2em; box-shadow: rgb(236, 236, 236) 0px 0px 0px 1px;\\\"><div style=\\\"box-sizing:border-box;user-select:none;display:flex;justify-content:space-between;align-items:center;height:36px;margin-left:0px;margin-right:0px;\\\"><span style=\\\"box-sizing: border-box; margin-left: -0.9375rem;\\\"><i style=\\\"box-sizing: border-box; user-select: none; -webkit-font-smoothing: antialiased; display: inline-block; text-rendering: auto; text-align: center; width: 1.25em; font-size: 70%;\\\"><span style=\\\"font-size: 70%; text-align: center; font-style: normal; color: rgb(201, 200, 200); font-family: &quot;Font Awesome 6 Free&quot;; font-variant: normal; font-weight: 900; line-height: 1;\\\"></span></i><span style=\\\"font-size: 0.85rem; color: var(--code-header-text-color); font-family: system-ui, -apple-system, &quot;Segoe UI&quot;, Roboto, &quot;Helvetica Neue&quot;, &quot;Noto Sans&quot;, &quot;Liberation Sans&quot;, Arial, sans-serif, &quot;Apple Color Emoji&quot;, &quot;Segoe UI Emoji&quot;, &quot;Segoe UI Symbol&quot;, &quot;Noto Color Emoji&quot;; font-weight: 600; line-height: 36px;\\\">Shell</span></span></div><div style=\\\"box-sizing: border-box; border-radius: 0px 0px 0.5rem 0.5rem; overflow: auto; padding-bottom: 12px; background-color: rgb(246, 248, 250);\\\"><div><br/></div><table style=\\\"font-size: inherit; box-sizing: border-box; caption-side: bottom; border-collapse: collapse; min-width: 100%;\\\"><colgroup><col style=\\\"width: 130px;\\\"></col></colgroup><tbody style=\\\"box-sizing:border-box;border-color:inherit;border-style:solid;border-width:0px;\\\"><tr style=\\\"box-sizing: border-box;\\\"><td style=\\\"box-sizing: border-box; width: 130px; padding: 8px; border: 1px solid;\\\"><div style=\\\"box-sizing: border-box; overflow-wrap: normal; font-size: 13.6px; word-break: normal; overflow: visible; margin: 0px;\\\"><div><span style=\\\"box-sizing: border-box; font-size: 13.6px; color: rgb(149, 56, 0); font-family: SFMono-Regular, Menlo, Monaco, Consolas, &quot;Liberation Mono&quot;, &quot;Courier New&quot;, monospace; font-weight: 400; line-height: 22.4px;\\\">echo</span> <span style=\\\"box-sizing: border-box; font-size: 13.6px; color: rgb(10, 48, 105); font-family: SFMono-Regular, Menlo, Monaco, Consolas, &quot;Liberation Mono&quot;, &quot;Courier New&quot;, monospace; font-weight: 400; line-height: 22.4px;\\\">\\\\</span></div><div><span style=\\\"box-sizing: border-box; font-size: 13.6px; color: rgb(10, 48, 105); font-family: SFMono-Regular, Menlo, Monaco, Consolas, &quot;Liberation Mono&quot;, &quot;Courier New&quot;, monospace; font-weight: 400; line-height: 22.4px;\\\">&quot;deb [arch=</span><span style=\\\"box-sizing: border-box; font-size: 13.6px; color: rgb(36, 41, 47); font-family: SFMono-Regular, Menlo, Monaco, Consolas, &quot;Liberation Mono&quot;, &quot;Courier New&quot;, monospace; font-weight: 400; line-height: 22.4px;\\\">$(</span><span style=\\\"font-size: 13.6px; color: rgb(51, 51, 51); font-family: SFMono-Regular, Menlo, Monaco, Consolas, &quot;Liberation Mono&quot;, &quot;Courier New&quot;, monospace; font-weight: 400; line-height: 22.4px;\\\">dpkg</span> <span style=\\\"box-sizing: border-box; font-size: 13.6px; color: rgb(17, 99, 41); font-family: SFMono-Regular, Menlo, Monaco, Consolas, &quot;Liberation Mono&quot;, &quot;Courier New&quot;, monospace; font-weight: 400; line-height: 22.4px;\\\">--print-architecture</span><span style=\\\"box-sizing: border-box; font-size: 13.6px; color: rgb(36, 41, 47); font-family: SFMono-Regular, Menlo, Monaco, Consolas, &quot;Liberation Mono&quot;, &quot;Courier New&quot;, monospace; font-weight: 400; line-height: 22.4px;\\\">)</span> <span style=\\\"box-sizing: border-box; font-size: 13.6px; color: rgb(10, 48, 105); font-family: SFMono-Regular, Menlo, Monaco, Consolas, &quot;Liberation Mono&quot;, &quot;Courier New&quot;, monospace; font-weight: 400; line-height: 22.4px;\\\">signed-by=/etc/apt/keyrings/docker.gpg] https://download.docker.com/linux/ubuntu</span> <span style=\\\"box-sizing: border-box; font-size: 13.6px; color: rgb(10, 48, 105); font-family: SFMono-Regular, Menlo, Monaco, Consolas, &quot;Liberation Mono&quot;, &quot;Courier New&quot;, monospace; font-weight: 400; line-height: 22.4px;\\\">\\\\</span></div><div><span style=\\\"box-sizing: border-box; font-size: 13.6px; color: rgb(36, 41, 47); font-family: SFMono-Regular, Menlo, Monaco, Consolas, &quot;Liberation Mono&quot;, &quot;Courier New&quot;, monospace; font-weight: 400; line-height: 22.4px;\\\">$(</span><span style=\\\"font-size: 13.6px; color: rgb(51, 51, 51); font-family: SFMono-Regular, Menlo, Monaco, Consolas, &quot;Liberation Mono&quot;, &quot;Courier New&quot;, monospace; font-weight: 400; line-height: 22.4px;\\\">lsb_release</span> <span style=\\\"box-sizing: border-box; font-size: 13.6px; color: rgb(17, 99, 41); font-family: SFMono-Regular, Menlo, Monaco, Consolas, &quot;Liberation Mono&quot;, &quot;Courier New&quot;, monospace; font-weight: 400; line-height: 22.4px;\\\">-cs</span><span style=\\\"box-sizing: border-box; font-size: 13.6px; color: rgb(36, 41, 47); font-family: SFMono-Regular, Menlo, Monaco, Consolas, &quot;Liberation Mono&quot;, &quot;Courier New&quot;, monospace; font-weight: 400; line-height: 22.4px;\\\">)</span> <span style=\\\"box-sizing: border-box; font-size: 13.6px; color: rgb(10, 48, 105); font-family: SFMono-Regular, Menlo, Monaco, Consolas, &quot;Liberation Mono&quot;, &quot;Courier New&quot;, monospace; font-weight: 400; line-height: 22.4px;\\\">stable&quot;</span> <span style=\\\"font-size: 13.6px; color: rgb(51, 51, 51); font-family: SFMono-Regular, Menlo, Monaco, Consolas, &quot;Liberation Mono&quot;, &quot;Courier New&quot;, monospace; font-weight: 400; line-height: 22.4px;\\\">|</span> <span style=\\\"box-sizing: border-box; font-size: 13.6px; color: rgb(149, 56, 0); font-family: SFMono-Regular, Menlo, Monaco, Consolas, &quot;Liberation Mono&quot;, &quot;Courier New&quot;, monospace; font-weight: 400; line-height: 22.4px;\\\">sudo tee</span> <span style=\\\"font-size: 13.6px; color: rgb(51, 51, 51); font-family: SFMono-Regular, Menlo, Monaco, Consolas, &quot;Liberation Mono&quot;, &quot;Courier New&quot;, monospace; font-weight: 400; line-height: 22.4px;\\\">/etc/apt/sources.list.d/docker.list</span> <span style=\\\"box-sizing: border-box; font-size: 13.6px; color: rgb(5, 80, 174); font-family: SFMono-Regular, Menlo, Monaco, Consolas, &quot;Liberation Mono&quot;, &quot;Courier New&quot;, monospace; font-weight: 400; line-height: 22.4px;\\\">&gt;</span> <span style=\\\"font-size: 13.6px; color: rgb(51, 51, 51); font-family: SFMono-Regular, Menlo, Monaco, Consolas, &quot;Liberation Mono&quot;, &quot;Courier New&quot;, monospace; font-weight: 400; line-height: 22.4px;\\\">/dev/null</span></div></div></td></tr></tbody></table><div><br/></div></div></div></li><li style=\\\"box-sizing:border-box;\\\"><div style=\\\"box-sizing: border-box; margin-top: 0px; margin-bottom: 16px;\\\"><span style=\\\"font-size: 16.48px; color: rgb(33, 37, 41); font-family: system-ui, -apple-system, &quot;Segoe UI&quot;, Roboto, &quot;Helvetica Neue&quot;, &quot;Noto Sans&quot;, &quot;Liberation Sans&quot;, Arial, sans-serif, &quot;Apple Color Emoji&quot;, &quot;Segoe UI Emoji&quot;, &quot;Segoe UI Symbol&quot;, &quot;Noto Color Emoji&quot;; font-weight: 400; line-height: 1.75;\\\">安装 Docker 引擎：</span></div><div style=\\\"box-sizing: border-box; border-radius: 8px; background-color: rgb(246, 248, 250); margin-top: 8px; margin-bottom: 1.2em; box-shadow: rgb(236, 236, 236) 0px 0px 0px 1px;\\\"><div style=\\\"box-sizing:border-box;user-select:none;display:flex;justify-content:space-between;align-items:center;height:36px;margin-left:0px;margin-right:0px;\\\"><span style=\\\"box-sizing: border-box; margin-left: -0.9375rem;\\\"><i style=\\\"box-sizing: border-box; user-select: none; -webkit-font-smoothing: antialiased; display: inline-block; text-rendering: auto; text-align: center; width: 1.25em; font-size: 70%;\\\"><span style=\\\"font-size: 70%; text-align: center; font-style: normal; color: rgb(201, 200, 200); font-family: &quot;Font Awesome 6 Free&quot;; font-variant: normal; font-weight: 900; line-height: 1;\\\"></span></i><span style=\\\"font-size: 0.85rem; color: var(--code-header-text-color); font-family: system-ui, -apple-system, &quot;Segoe UI&quot;, Roboto, &quot;Helvetica Neue&quot;, &quot;Noto Sans&quot;, &quot;Liberation Sans&quot;, Arial, sans-serif, &quot;Apple Color Emoji&quot;, &quot;Segoe UI Emoji&quot;, &quot;Segoe UI Symbol&quot;, &quot;Noto Color Emoji&quot;; font-weight: 600; line-height: 36px;\\\">Shell</span></span></div><div style=\\\"box-sizing: border-box; border-radius: 0px 0px 0.5rem 0.5rem; overflow: auto; padding-bottom: 12px; background-color: rgb(246, 248, 250);\\\"><div><br/></div><table style=\\\"font-size: inherit; box-sizing: border-box; caption-side: bottom; border-collapse: collapse; min-width: 100%;\\\"><colgroup><col style=\\\"width: 130px;\\\"></col></colgroup><tbody style=\\\"box-sizing:border-box;border-color:inherit;border-style:solid;border-width:0px;\\\"><tr style=\\\"box-sizing: border-box;\\\"><td style=\\\"box-sizing: border-box; width: 130px; padding: 8px; border: 1px solid;\\\"><div style=\\\"box-sizing: border-box; overflow-wrap: normal; font-size: 13.6px; word-break: normal; overflow: visible; margin: 0px;\\\"><div><span style=\\\"box-sizing: border-box; font-size: 13.6px; color: rgb(149, 56, 0); font-family: SFMono-Regular, Menlo, Monaco, Consolas, &quot;Liberation Mono&quot;, &quot;Courier New&quot;, monospace; font-weight: 400; line-height: 22.4px;\\\">sudo</span> <span style=\\\"font-size: 13.6px; color: rgb(51, 51, 51); font-family: SFMono-Regular, Menlo, Monaco, Consolas, &quot;Liberation Mono&quot;, &quot;Courier New&quot;, monospace; font-weight: 400; line-height: 22.4px;\\\">apt update</span></div><div><span style=\\\"box-sizing: border-box; font-size: 13.6px; color: rgb(149, 56, 0); font-family: SFMono-Regular, Menlo, Monaco, Consolas, &quot;Liberation Mono&quot;, &quot;Courier New&quot;, monospace; font-weight: 400; line-height: 22.4px;\\\">sudo</span> <span style=\\\"font-size: 13.6px; color: rgb(51, 51, 51); font-family: SFMono-Regular, Menlo, Monaco, Consolas, &quot;Liberation Mono&quot;, &quot;Courier New&quot;, monospace; font-weight: 400; line-height: 22.4px;\\\">apt</span> <span style=\\\"box-sizing: border-box; font-size: 13.6px; color: rgb(149, 56, 0); font-family: SFMono-Regular, Menlo, Monaco, Consolas, &quot;Liberation Mono&quot;, &quot;Courier New&quot;, monospace; font-weight: 400; line-height: 22.4px;\\\">install</span> <span style=\\\"font-size: 13.6px; color: rgb(51, 51, 51); font-family: SFMono-Regular, Menlo, Monaco, Consolas, &quot;Liberation Mono&quot;, &quot;Courier New&quot;, monospace; font-weight: 400; line-height: 22.4px;\\\">docker-ce docker-ce-cli containerd.io docker-compose-plugin</span></div></div></td></tr></tbody></table><div><br/></div></div></div></li></ol><h3 style=\\\"box-sizing: border-box; margin-top: 0px; margin-bottom: 20px; font-size: 28px;\\\"><span style=\\\"box-sizing: border-box; margin-right: 8px; font-size: 28px; color: rgb(33, 37, 41); font-family: Lato, &quot;Microsoft Yahei&quot;, sans-serif; font-weight: 500; line-height: 1.2;\\\">验证 Docker 是否安装成功</span><i style=\\\"box-sizing: border-box; user-select: none; -webkit-font-smoothing: antialiased; display: inline-block; text-rendering: auto;\\\"><a href=\\\"https://blog.iswiftai.com/posts/docker-subscription-converter/#%E9%AA%8C%E8%AF%81-docker-%E6%98%AF%E5%90%A6%E5%AE%89%E8%A3%85%E6%88%90%E5%8A%9F\\\" style=\\\"font-size: 80%; font-style: normal; color: rgba(33, 37, 41, 0.75); font-family: &quot;Font Awesome 6 Free&quot;; font-variant: normal; font-weight: 900; line-height: 1; text-decoration: underline;\\\">#</a></i></h3><blockquote style=\\\"box-sizing: border-box; margin: 0px 0px 1rem; border-radius: 8px; position: relative; padding: 1rem 1rem 1rem 3rem; border-left: 0px; background-color: rgb(225, 245, 254);\\\"><div><span style=\\\"border-radius: 0.5rem; text-align: center; width: 3rem; position: absolute; left: 0.25rem; margin-top: 0.4rem; text-rendering: auto; -webkit-font-smoothing: antialiased; font-size: 16.48px; color: var(--prompt-info-icon-color); font-family: system-ui, -apple-system, &quot;Segoe UI&quot;, Roboto, &quot;Helvetica Neue&quot;, &quot;Noto Sans&quot;, &quot;Liberation Sans&quot;, Arial, sans-serif, &quot;Apple Color Emoji&quot;, &quot;Segoe UI Emoji&quot;, &quot;Segoe UI Symbol&quot;, &quot;Noto Color Emoji&quot;; font-variant: var(--fa-font-solid); font-weight: 400; line-height: 1.75;\\\"></span></div><div style=\\\"box-sizing: border-box; margin-top: 0px; margin-bottom: 0px;\\\"><span style=\\\"font-size: 9pt; color: rgb(51, 51, 51); font-family: Monaco, Menlo, Consolas, &quot;Courier New&quot;, monospace, sans-serif; font-weight: 400; line-height: 1.75;\\\">docker</span> <span style=\\\"font-size: 16.48px; color: rgba(46, 46, 46, 0.77); font-family: system-ui, -apple-system, &quot;Segoe UI&quot;, Roboto, &quot;Helvetica Neue&quot;, &quot;Noto Sans&quot;, &quot;Liberation Sans&quot;, Arial, sans-serif, &quot;Apple Color Emoji&quot;, &quot;Segoe UI Emoji&quot;, &quot;Segoe UI Symbol&quot;, &quot;Noto Color Emoji&quot;; font-weight: 400; line-height: 1.75;\\\">的所有命令都需要</span> <span style=\\\"font-size: 9pt; color: rgb(51, 51, 51); font-family: Monaco, Menlo, Consolas, &quot;Courier New&quot;, monospace, sans-serif; font-weight: 400; line-height: 1.75;\\\">sudo</span> <span style=\\\"font-size: 16.48px; color: rgba(46, 46, 46, 0.77); font-family: system-ui, -apple-system, &quot;Segoe UI&quot;, Roboto, &quot;Helvetica Neue&quot;, &quot;Noto Sans&quot;, &quot;Liberation Sans&quot;, Arial, sans-serif, &quot;Apple Color Emoji&quot;, &quot;Segoe UI Emoji&quot;, &quot;Segoe UI Symbol&quot;, &quot;Noto Color Emoji&quot;; font-weight: 400; line-height: 1.75;\\\">权限，如果不想在</span> <span style=\\\"font-size: 9pt; color: rgb(51, 51, 51); font-family: Monaco, Menlo, Consolas, &quot;Courier New&quot;, monospace, sans-serif; font-weight: 400; line-height: 1.75;\\\">docker</span> <span style=\\\"font-size: 16.48px; color: rgba(46, 46, 46, 0.77); font-family: system-ui, -apple-system, &quot;Segoe UI&quot;, Roboto, &quot;Helvetica Neue&quot;, &quot;Noto Sans&quot;, &quot;Liberation Sans&quot;, Arial, sans-serif, &quot;Apple Color Emoji&quot;, &quot;Segoe UI Emoji&quot;, &quot;Segoe UI Symbol&quot;, &quot;Noto Color Emoji&quot;; font-weight: 400; line-height: 1.75;\\\">命令前加上</span> <span style=\\\"font-size: 9pt; color: rgb(51, 51, 51); font-family: Monaco, Menlo, Consolas, &quot;Courier New&quot;, monospace, sans-serif; font-weight: 400; line-height: 1.75;\\\">sudo</span> <span style=\\\"font-size: 16.48px; color: rgba(46, 46, 46, 0.77); font-family: system-ui, -apple-system, &quot;Segoe UI&quot;, Roboto, &quot;Helvetica Neue&quot;, &quot;Noto Sans&quot;, &quot;Liberation Sans&quot;, Arial, sans-serif, &quot;Apple Color Emoji&quot;, &quot;Segoe UI Emoji&quot;, &quot;Segoe UI Symbol&quot;, &quot;Noto Color Emoji&quot;; font-weight: 400; line-height: 1.75;\\\">，可以创建一个名为</span> <span style=\\\"font-size: 9pt; color: rgb(51, 51, 51); font-family: Monaco, Menlo, Consolas, &quot;Courier New&quot;, monospace, sans-serif; font-weight: 400; line-height: 1.75;\\\">docker</span> <span style=\\\"font-size: 16.48px; color: rgba(46, 46, 46, 0.77); font-family: system-ui, -apple-system, &quot;Segoe UI&quot;, Roboto, &quot;Helvetica Neue&quot;, &quot;Noto Sans&quot;, &quot;Liberation Sans&quot;, Arial, sans-serif, &quot;Apple Color Emoji&quot;, &quot;Segoe UI Emoji&quot;, &quot;Segoe UI Symbol&quot;, &quot;Noto Color Emoji&quot;; font-weight: 400; line-height: 1.75;\\\">的Unix组，并将用户加入其中。具体参考</span><a href=\\\"https://docs.docker.com/engine/install/linux-postinstall/\\\" style=\\\"box-sizing: border-box; border-bottom: 0.666667px solid rgb(219, 216, 216); font-size: 16.48px; color: rgb(13, 110, 253); font-family: system-ui, -apple-system, &quot;Segoe UI&quot;, Roboto, &quot;Helvetica Neue&quot;, &quot;Noto Sans&quot;, &quot;Liberation Sans&quot;, Arial, sans-serif, &quot;Apple Color Emoji&quot;, &quot;Segoe UI Emoji&quot;, &quot;Segoe UI Symbol&quot;, &quot;Noto Color Emoji&quot;; font-weight: 400; line-height: 1.75; text-decoration: underline;\\\">官方文档</a><span style=\\\"font-size: 16.48px; color: rgba(46, 46, 46, 0.77); font-family: system-ui, -apple-system, &quot;Segoe UI&quot;, Roboto, &quot;Helvetica Neue&quot;, &quot;Noto Sans&quot;, &quot;Liberation Sans&quot;, Arial, sans-serif, &quot;Apple Color Emoji&quot;, &quot;Segoe UI Emoji&quot;, &quot;Segoe UI Symbol&quot;, &quot;Noto Color Emoji&quot;; font-weight: 400; line-height: 1.75;\\\">。</span></div></blockquote><div style=\\\"box-sizing: border-box; margin-top: 0px; margin-bottom: 16px;\\\"><span style=\\\"font-size: 16.48px; color: rgb(33, 37, 41); font-family: system-ui, -apple-system, &quot;Segoe UI&quot;, Roboto, &quot;Helvetica Neue&quot;, &quot;Noto Sans&quot;, &quot;Liberation Sans&quot;, Arial, sans-serif, &quot;Apple Color Emoji&quot;, &quot;Segoe UI Emoji&quot;, &quot;Segoe UI Symbol&quot;, &quot;Noto Color Emoji&quot;; font-weight: 400; line-height: 1.75;\\\">我们安装一个测试镜像来验证 Docker 是否安装成功：</span></div><div style=\\\"box-sizing: border-box; background-color: rgb(246, 248, 250); margin: 8px 0px 1.2em; box-shadow: rgb(236, 236, 236) 0px 0px 0px 1px; border-radius: 8px;\\\"><div style=\\\"box-sizing:border-box;user-select:none;display:flex;justify-content:space-between;align-items:center;height:36px;margin-left:0px;margin-right:0px;\\\"><span style=\\\"box-sizing: border-box; margin-left: -0.9375rem;\\\"><i style=\\\"box-sizing: border-box; user-select: none; -webkit-font-smoothing: antialiased; display: inline-block; text-rendering: auto; text-align: center; width: 1.25em; font-size: 70%;\\\"><span style=\\\"font-size: 70%; text-align: center; font-style: normal; color: rgb(201, 200, 200); font-family: &quot;Font Awesome 6 Free&quot;; font-variant: normal; font-weight: 900; line-height: 1;\\\"></span></i><span style=\\\"font-size: 0.85rem; color: var(--code-header-text-color); font-family: system-ui, -apple-system, &quot;Segoe UI&quot;, Roboto, &quot;Helvetica Neue&quot;, &quot;Noto Sans&quot;, &quot;Liberation Sans&quot;, Arial, sans-serif, &quot;Apple Color Emoji&quot;, &quot;Segoe UI Emoji&quot;, &quot;Segoe UI Symbol&quot;, &quot;Noto Color Emoji&quot;; font-weight: 600; line-height: 36px;\\\">Shell</span></span></div><div style=\\\"box-sizing: border-box; border-radius: 0px 0px 0.5rem 0.5rem; overflow: auto; padding-bottom: 12px; background-color: rgb(246, 248, 250);\\\"><div><br/></div><table style=\\\"font-size: inherit; box-sizing: border-box; caption-side: bottom; border-collapse: collapse; min-width: 100%;\\\"><colgroup><col style=\\\"width: 518px;\\\"></col></colgroup><tbody style=\\\"box-sizing:border-box;border-color:inherit;border-style:solid;border-width:0px;\\\"><tr style=\\\"box-sizing: border-box;\\\"><td style=\\\"box-sizing: border-box; width: 518px; padding: 8px; border: 1px solid;\\\"><div style=\\\"box-sizing: border-box; overflow-wrap: normal; font-size: 13.6px; word-break: normal; overflow: visible; margin: 0px;\\\"><span style=\\\"box-sizing: border-box; font-size: 13.6px; color: rgb(149, 56, 0); font-family: SFMono-Regular, Menlo, Monaco, Consolas, &quot;Liberation Mono&quot;, &quot;Courier New&quot;, monospace; font-weight: 400; line-height: 22.4px;\\\">sudo</span> <span style=\\\"font-size: 13.6px; color: rgb(51, 51, 51); font-family: SFMono-Regular, Menlo, Monaco, Consolas, &quot;Liberation Mono&quot;, &quot;Courier New&quot;, monospace; font-weight: 400; line-height: 22.4px;\\\">docker run hello-world</span></div></td></tr></tbody></table><div><br/></div></div></div><div style=\\\"box-sizing: border-box; margin-top: 0px; margin-bottom: 16px;\\\"><span style=\\\"font-size: 16.48px; color: rgb(33, 37, 41); font-family: system-ui, -apple-system, &quot;Segoe UI&quot;, Roboto, &quot;Helvetica Neue&quot;, &quot;Noto Sans&quot;, &quot;Liberation Sans&quot;, Arial, sans-serif, &quot;Apple Color Emoji&quot;, &quot;Segoe UI Emoji&quot;, &quot;Segoe UI Symbol&quot;, &quot;Noto Color Emoji&quot;; font-weight: 400; line-height: 1.75;\\\">此命令下载测试镜像并在容器中运行。当容器运行时，其会打印一条信息并消息并退出：</span></div><div style=\\\"box-sizing: border-box; margin-top: 0px; margin-bottom: 16px;\\\"><a href=\\\"https://blog.iswiftai.com/assets/img/images/2021/07/24/hello-from-Docker.png\\\" style=\\\"box-sizing: border-box; display: inline-flex; user-select: none; margin-top: 8px; margin-bottom: 8px; cursor: zoom-in; position: relative; left: 50%; transform: translateX(-50%); font-size: 16.48px; color: rgba(0, 0, 0, 0); font-family: system-ui, -apple-system, &quot;Segoe UI&quot;, Roboto, &quot;Helvetica Neue&quot;, &quot;Noto Sans&quot;, &quot;Liberation Sans&quot;, Arial, sans-serif, &quot;Apple Color Emoji&quot;, &quot;Segoe UI Emoji&quot;, &quot;Segoe UI Symbol&quot;, &quot;Noto Color Emoji&quot;; font-weight: 400; line-height: 1.75; text-decoration: underline;\\\"><img src=\\\":/07fec3817eae42be85861f733428094a\\\" type=\\\"image/png\\\" data-filename=\\\"hello-from-Docker.png\\\" style=\\\"max-width:100%; height:487.531px; transition:all 0.35s ease-in-out 0s; animation:0.35s ease-in 0s 1 normal none running fade-in; border-radius:7px; box-sizing:border-box; vertical-align:middle;\\\" width=\\\"700\\\"/></a></div><div style=\\\"box-sizing: border-box; margin-top: 0px; margin-bottom: 16px;\\\"><span style=\\\"font-size: 16.48px; color: rgb(33, 37, 41); font-family: system-ui, -apple-system, &quot;Segoe UI&quot;, Roboto, &quot;Helvetica Neue&quot;, &quot;Noto Sans&quot;, &quot;Liberation Sans&quot;, Arial, sans-serif, &quot;Apple Color Emoji&quot;, &quot;Segoe UI Emoji&quot;, &quot;Segoe UI Symbol&quot;, &quot;Noto Color Emoji&quot;; font-weight: 400; line-height: 1.75;\\\">此容器开始运行后，打印一条信息，然后程序结束，容器停止。此时我们删除该测试程序，由于该容器已经停止，因此我们需要接着删除容器 (Container)，再删除镜像 (Image)。这一顺序不能交换，如果我们直接删除镜像，会报错</span> <span style=\\\"font-size: 9pt; color: rgb(51, 51, 51); font-family: Monaco, Menlo, Consolas, &quot;Courier New&quot;, monospace, sans-serif; font-weight: 400; line-height: 1.75;\\\">Error response from daemon: conflict: unable to remove repository reference &quot;hello-world&quot; (must force) - container XXX is using its referenced image XXX</span><span style=\\\"font-size: 16.48px; color: rgb(33, 37, 41); font-family: system-ui, -apple-system, &quot;Segoe UI&quot;, Roboto, &quot;Helvetica Neue&quot;, &quot;Noto Sans&quot;, &quot;Liberation Sans&quot;, Arial, sans-serif, &quot;Apple Color Emoji&quot;, &quot;Segoe UI Emoji&quot;, &quot;Segoe UI Symbol&quot;, &quot;Noto Color Emoji&quot;; font-weight: 400; line-height: 1.75;\\\">。</span></div><div style=\\\"box-sizing: border-box; margin-top: 0px; margin-bottom: 16px;\\\"><span style=\\\"font-size: 16.48px; color: rgb(33, 37, 41); font-family: system-ui, -apple-system, &quot;Segoe UI&quot;, Roboto, &quot;Helvetica Neue&quot;, &quot;Noto Sans&quot;, &quot;Liberation Sans&quot;, Arial, sans-serif, &quot;Apple Color Emoji&quot;, &quot;Segoe UI Emoji&quot;, &quot;Segoe UI Symbol&quot;, &quot;Noto Color Emoji&quot;; font-weight: 400; line-height: 1.75;\\\">首先我们可以使用以下命令列出所有容器，</span><span style=\\\"font-size: 9pt; color: rgb(51, 51, 51); font-family: Monaco, Menlo, Consolas, &quot;Courier New&quot;, monospace, sans-serif; font-weight: 400; line-height: 1.75;\\\">--all</span> <span style=\\\"font-size: 16.48px; color: rgb(33, 37, 41); font-family: system-ui, -apple-system, &quot;Segoe UI&quot;, Roboto, &quot;Helvetica Neue&quot;, &quot;Noto Sans&quot;, &quot;Liberation Sans&quot;, Arial, sans-serif, &quot;Apple Color Emoji&quot;, &quot;Segoe UI Emoji&quot;, &quot;Segoe UI Symbol&quot;, &quot;Noto Color Emoji&quot;; font-weight: 400; line-height: 1.75;\\\">参数指定列出本机所有容器，包括终止运行的容器。</span></div><div style=\\\"box-sizing: border-box; background-color: rgb(246, 248, 250); margin: 8px 0px 1.2em; box-shadow: rgb(236, 236, 236) 0px 0px 0px 1px; border-radius: 8px;\\\"><div style=\\\"box-sizing:border-box;user-select:none;display:flex;justify-content:space-between;align-items:center;height:36px;margin-left:0px;margin-right:0px;\\\"><span style=\\\"box-sizing: border-box; margin-left: -0.9375rem;\\\"><i style=\\\"box-sizing: border-box; user-select: none; -webkit-font-smoothing: antialiased; display: inline-block; text-rendering: auto; text-align: center; width: 1.25em; font-size: 70%;\\\"><span style=\\\"font-size: 70%; text-align: center; font-style: normal; color: rgb(201, 200, 200); font-family: &quot;Font Awesome 6 Free&quot;; font-variant: normal; font-weight: 900; line-height: 1;\\\"></span></i><span style=\\\"font-size: 0.85rem; color: var(--code-header-text-color); font-family: system-ui, -apple-system, &quot;Segoe UI&quot;, Roboto, &quot;Helvetica Neue&quot;, &quot;Noto Sans&quot;, &quot;Liberation Sans&quot;, Arial, sans-serif, &quot;Apple Color Emoji&quot;, &quot;Segoe UI Emoji&quot;, &quot;Segoe UI Symbol&quot;, &quot;Noto Color Emoji&quot;; font-weight: 600; line-height: 36px;\\\">Shell</span></span></div><div style=\\\"box-sizing: border-box; border-radius: 0px 0px 0.5rem 0.5rem; overflow: auto; padding-bottom: 12px; background-color: rgb(246, 248, 250);\\\"><div><br/></div><table style=\\\"font-size: inherit; box-sizing: border-box; caption-side: bottom; border-collapse: collapse; min-width: 100%;\\\"><colgroup><col style=\\\"width: 130px;\\\"></col></colgroup><tbody style=\\\"box-sizing:border-box;border-color:inherit;border-style:solid;border-width:0px;\\\"><tr style=\\\"box-sizing: border-box;\\\"><td style=\\\"box-sizing: border-box; width: 130px; padding: 8px; border: 1px solid;\\\"><div style=\\\"box-sizing: border-box; overflow-wrap: normal; font-size: 13.6px; word-break: normal; overflow: visible; margin: 0px;\\\"><span style=\\\"font-size: 13.6px; color: rgb(51, 51, 51); font-family: SFMono-Regular, Menlo, Monaco, Consolas, &quot;Liberation Mono&quot;, &quot;Courier New&quot;, monospace; font-weight: 400; line-height: 22.4px;\\\">docker container</span> <span style=\\\"box-sizing: border-box; font-size: 13.6px; color: rgb(149, 56, 0); font-family: SFMono-Regular, Menlo, Monaco, Consolas, &quot;Liberation Mono&quot;, &quot;Courier New&quot;, monospace; font-weight: 400; line-height: 22.4px;\\\">ls</span> <span style=\\\"box-sizing: border-box; font-size: 13.6px; color: rgb(17, 99, 41); font-family: SFMono-Regular, Menlo, Monaco, Consolas, &quot;Liberation Mono&quot;, &quot;Courier New&quot;, monospace; font-weight: 400; line-height: 22.4px;\\\">--all</span></div></td></tr></tbody></table><div><br/></div></div></div><div style=\\\"box-sizing: border-box; margin-top: 0px; margin-bottom: 16px;\\\"><span style=\\\"font-size: 16.48px; color: rgb(33, 37, 41); font-family: system-ui, -apple-system, &quot;Segoe UI&quot;, Roboto, &quot;Helvetica Neue&quot;, &quot;Noto Sans&quot;, &quot;Liberation Sans&quot;, Arial, sans-serif, &quot;Apple Color Emoji&quot;, &quot;Segoe UI Emoji&quot;, &quot;Segoe UI Symbol&quot;, &quot;Noto Color Emoji&quot;; font-weight: 400; line-height: 1.75;\\\">可以看到</span> <span style=\\\"font-size: 9pt; color: rgb(51, 51, 51); font-family: Monaco, Menlo, Consolas, &quot;Courier New&quot;, monospace, sans-serif; font-weight: 400; line-height: 1.75;\\\">hello-world</span> <span style=\\\"font-size: 16.48px; color: rgb(33, 37, 41); font-family: system-ui, -apple-system, &quot;Segoe UI&quot;, Roboto, &quot;Helvetica Neue&quot;, &quot;Noto Sans&quot;, &quot;Liberation Sans&quot;, Arial, sans-serif, &quot;Apple Color Emoji&quot;, &quot;Segoe UI Emoji&quot;, &quot;Segoe UI Symbol&quot;, &quot;Noto Color Emoji&quot;; font-weight: 400; line-height: 1.75;\\\">容器 ID、容器对应的镜像等。使用以下命令删除容器：</span></div><div style=\\\"box-sizing: border-box; background-color: rgb(246, 248, 250); margin: 8px 0px 1.2em; box-shadow: rgb(236, 236, 236) 0px 0px 0px 1px; border-radius: 8px;\\\"><div style=\\\"box-sizing:border-box;user-select:none;display:flex;justify-content:space-between;align-items:center;height:36px;margin-left:0px;margin-right:0px;\\\"><span style=\\\"box-sizing: border-box; margin-left: -0.9375rem;\\\"><i style=\\\"box-sizing: border-box; user-select: none; -webkit-font-smoothing: antialiased; display: inline-block; text-rendering: auto; text-align: center; width: 1.25em; font-size: 70%;\\\"><span style=\\\"font-size: 70%; text-align: center; font-style: normal; color: rgb(201, 200, 200); font-family: &quot;Font Awesome 6 Free&quot;; font-variant: normal; font-weight: 900; line-height: 1;\\\"></span></i><span style=\\\"font-size: 0.85rem; color: var(--code-header-text-color); font-family: system-ui, -apple-system, &quot;Segoe UI&quot;, Roboto, &quot;Helvetica Neue&quot;, &quot;Noto Sans&quot;, &quot;Liberation Sans&quot;, Arial, sans-serif, &quot;Apple Color Emoji&quot;, &quot;Segoe UI Emoji&quot;, &quot;Segoe UI Symbol&quot;, &quot;Noto Color Emoji&quot;; font-weight: 600; line-height: 36px;\\\">Shell</span></span></div><div style=\\\"box-sizing: border-box; border-radius: 0px 0px 0.5rem 0.5rem; overflow: auto; padding-bottom: 12px; background-color: rgb(246, 248, 250);\\\"><div><br/></div><table style=\\\"font-size: inherit; box-sizing: border-box; caption-side: bottom; border-collapse: collapse; min-width: 100%;\\\"><colgroup><col style=\\\"width: 130px;\\\"></col></colgroup><tbody style=\\\"box-sizing:border-box;border-color:inherit;border-style:solid;border-width:0px;\\\"><tr style=\\\"box-sizing: border-box;\\\"><td style=\\\"box-sizing: border-box; width: 130px; padding: 8px; border: 1px solid;\\\"><div style=\\\"box-sizing: border-box; overflow-wrap: normal; font-size: 13.6px; word-break: normal; overflow: visible; margin: 0px;\\\"><span style=\\\"font-size: 13.6px; color: rgb(51, 51, 51); font-family: SFMono-Regular, Menlo, Monaco, Consolas, &quot;Liberation Mono&quot;, &quot;Courier New&quot;, monospace; font-weight: 400; line-height: 22.4px;\\\">docker</span> <span style=\\\"box-sizing: border-box; font-size: 13.6px; color: rgb(149, 56, 0); font-family: SFMono-Regular, Menlo, Monaco, Consolas, &quot;Liberation Mono&quot;, &quot;Courier New&quot;, monospace; font-weight: 400; line-height: 22.4px;\\\">rm</span> <span style=\\\"box-sizing: border-box; font-size: 13.6px; color: rgb(5, 80, 174); font-family: SFMono-Regular, Menlo, Monaco, Consolas, &quot;Liberation Mono&quot;, &quot;Courier New&quot;, monospace; font-weight: 400; line-height: 22.4px;\\\">[</span><span style=\\\"font-size: 13.6px; color: rgb(51, 51, 51); font-family: SFMono-Regular, Menlo, Monaco, Consolas, &quot;Liberation Mono&quot;, &quot;Courier New&quot;, monospace; font-weight: 400; line-height: 22.4px;\\\">ContainerID/Names]</span></div></td></tr></tbody></table><div><br/></div></div></div><blockquote style=\\\"border-left: 4.66667px solid rgb(238, 238, 238); padding-left: 16px; box-sizing: border-box; margin: 0px 0px 1rem;\\\"><div style=\\\"box-sizing: border-box; margin-top: 0px; margin-bottom: 16px;\\\"><span style=\\\"font-size: 16.48px; color: rgb(117, 117, 117); font-family: system-ui, -apple-system, &quot;Segoe UI&quot;, Roboto, &quot;Helvetica Neue&quot;, &quot;Noto Sans&quot;, &quot;Liberation Sans&quot;, Arial, sans-serif, &quot;Apple Color Emoji&quot;, &quot;Segoe UI Emoji&quot;, &quot;Segoe UI Symbol&quot;, &quot;Noto Color Emoji&quot;; font-weight: 400; line-height: 1.75;\\\">如果没有为</span> <span style=\\\"font-size: 9pt; color: rgb(51, 51, 51); font-family: Monaco, Menlo, Consolas, &quot;Courier New&quot;, monospace, sans-serif; font-weight: 400; line-height: 1.75;\\\">hello-world</span> <span style=\\\"font-size: 16.48px; color: rgb(117, 117, 117); font-family: system-ui, -apple-system, &quot;Segoe UI&quot;, Roboto, &quot;Helvetica Neue&quot;, &quot;Noto Sans&quot;, &quot;Liberation Sans&quot;, Arial, sans-serif, &quot;Apple Color Emoji&quot;, &quot;Segoe UI Emoji&quot;, &quot;Segoe UI Symbol&quot;, &quot;Noto Color Emoji&quot;; font-weight: 400; line-height: 1.75;\\\">容器指定 Names，就使用 ContainerID。</span></div></blockquote><div style=\\\"box-sizing: border-box; margin-top: 0px; margin-bottom: 16px;\\\"><span style=\\\"font-size: 16.48px; color: rgb(33, 37, 41); font-family: system-ui, -apple-system, &quot;Segoe UI&quot;, Roboto, &quot;Helvetica Neue&quot;, &quot;Noto Sans&quot;, &quot;Liberation Sans&quot;, Arial, sans-serif, &quot;Apple Color Emoji&quot;, &quot;Segoe UI Emoji&quot;, &quot;Segoe UI Symbol&quot;, &quot;Noto Color Emoji&quot;; font-weight: 400; line-height: 1.75;\\\">然后删除相应的镜像：</span></div><div style=\\\"box-sizing: border-box; background-color: rgb(246, 248, 250); margin: 8px 0px 1.2em; box-shadow: rgb(236, 236, 236) 0px 0px 0px 1px; border-radius: 8px;\\\"><div style=\\\"box-sizing:border-box;user-select:none;display:flex;justify-content:space-between;align-items:center;height:36px;margin-left:0px;margin-right:0px;\\\"><span style=\\\"box-sizing: border-box; margin-left: -0.9375rem;\\\"><i style=\\\"box-sizing: border-box; user-select: none; -webkit-font-smoothing: antialiased; display: inline-block; text-rendering: auto; text-align: center; width: 1.25em; font-size: 70%;\\\"><span style=\\\"font-size: 70%; text-align: center; font-style: normal; color: rgb(201, 200, 200); font-family: &quot;Font Awesome 6 Free&quot;; font-variant: normal; font-weight: 900; line-height: 1;\\\"></span></i><span style=\\\"font-size: 0.85rem; color: var(--code-header-text-color); font-family: system-ui, -apple-system, &quot;Segoe UI&quot;, Roboto, &quot;Helvetica Neue&quot;, &quot;Noto Sans&quot;, &quot;Liberation Sans&quot;, Arial, sans-serif, &quot;Apple Color Emoji&quot;, &quot;Segoe UI Emoji&quot;, &quot;Segoe UI Symbol&quot;, &quot;Noto Color Emoji&quot;; font-weight: 600; line-height: 36px;\\\">Shell</span></span></div><div style=\\\"box-sizing: border-box; border-radius: 0px 0px 0.5rem 0.5rem; overflow: auto; padding-bottom: 12px; background-color: rgb(246, 248, 250);\\\"><div><br/></div><table style=\\\"font-size: inherit; box-sizing: border-box; caption-side: bottom; border-collapse: collapse; min-width: 100%;\\\"><colgroup><col style=\\\"width: 130px;\\\"></col></colgroup><tbody style=\\\"box-sizing:border-box;border-color:inherit;border-style:solid;border-width:0px;\\\"><tr style=\\\"box-sizing: border-box;\\\"><td style=\\\"box-sizing: border-box; width: 130px; padding: 8px; border: 1px solid;\\\"><div style=\\\"box-sizing: border-box; overflow-wrap: normal; font-size: 13.6px; word-break: normal; overflow: visible; margin: 0px;\\\"><span style=\\\"font-size: 13.6px; color: rgb(51, 51, 51); font-family: SFMono-Regular, Menlo, Monaco, Consolas, &quot;Liberation Mono&quot;, &quot;Courier New&quot;, monospace; font-weight: 400; line-height: 22.4px;\\\">docker image</span> <span style=\\\"box-sizing: border-box; font-size: 13.6px; color: rgb(149, 56, 0); font-family: SFMono-Regular, Menlo, Monaco, Consolas, &quot;Liberation Mono&quot;, &quot;Courier New&quot;, monospace; font-weight: 400; line-height: 22.4px;\\\">rm</span> <span style=\\\"font-size: 13.6px; color: rgb(51, 51, 51); font-family: SFMono-Regular, Menlo, Monaco, Consolas, &quot;Liberation Mono&quot;, &quot;Courier New&quot;, monospace; font-weight: 400; line-height: 22.4px;\\\">hello-world</span></div></td></tr></tbody></table><div><br/></div></div></div><div style=\\\"box-sizing: border-box; margin-top: 0px; margin-bottom: 16px;\\\"><span style=\\\"font-size: 16.48px; color: rgb(33, 37, 41); font-family: system-ui, -apple-system, &quot;Segoe UI&quot;, Roboto, &quot;Helvetica Neue&quot;, &quot;Noto Sans&quot;, &quot;Liberation Sans&quot;, Arial, sans-serif, &quot;Apple Color Emoji&quot;, &quot;Segoe UI Emoji&quot;, &quot;Segoe UI Symbol&quot;, &quot;Noto Color Emoji&quot;; font-weight: 400; line-height: 1.75;\\\">Docker 已经安装完成，接下来我们安装订阅转换项目的前后端。</span></div><h2 style=\\\"border-bottom: 0.666667px solid rgb(243, 243, 243); padding-bottom: 0.3em; box-sizing: border-box; margin-top: 0px; margin-bottom: 20px; font-size: 32px;\\\"><span style=\\\"box-sizing: border-box; margin-right: 8px; font-size: 32px; color: rgb(33, 37, 41); font-family: Lato, &quot;Microsoft Yahei&quot;, sans-serif; font-weight: 500; line-height: 1.2;\\\">后端项目安装与配置</span><i style=\\\"box-sizing: border-box; user-select: none; -webkit-font-smoothing: antialiased; display: inline-block; text-rendering: auto;\\\"><a href=\\\"https://blog.iswiftai.com/posts/docker-subscription-converter/#%E5%90%8E%E7%AB%AF%E9%A1%B9%E7%9B%AE%E5%AE%89%E8%A3%85%E4%B8%8E%E9%85%8D%E7%BD%AE\\\" style=\\\"font-size: 80%; font-style: normal; color: rgba(33, 37, 41, 0.75); font-family: &quot;Font Awesome 6 Free&quot;; font-variant: normal; font-weight: 900; line-height: 1; text-decoration: underline;\\\">#</a></i></h2><h3 style=\\\"box-sizing: border-box; margin-top: 0px; margin-bottom: 20px; font-size: 28px;\\\"><span style=\\\"box-sizing: border-box; margin-right: 8px; font-size: 28px; color: rgb(33, 37, 41); font-family: Lato, &quot;Microsoft Yahei&quot;, sans-serif; font-weight: 500; line-height: 1.2;\\\">安装</span><i style=\\\"box-sizing: border-box; user-select: none; -webkit-font-smoothing: antialiased; display: inline-block; text-rendering: auto;\\\"><a href=\\\"https://blog.iswiftai.com/posts/docker-subscription-converter/#%E5%AE%89%E8%A3%85\\\" style=\\\"font-size: 80%; font-style: normal; color: rgba(33, 37, 41, 0.75); font-family: &quot;Font Awesome 6 Free&quot;; font-variant: normal; font-weight: 900; line-height: 1; text-decoration: underline;\\\">#</a></i></h3><div style=\\\"box-sizing: border-box; margin-top: 0px; margin-bottom: 16px;\\\"><span style=\\\"font-size: 16.48px; color: rgb(33, 37, 41); font-family: system-ui, -apple-system, &quot;Segoe UI&quot;, Roboto, &quot;Helvetica Neue&quot;, &quot;Noto Sans&quot;, &quot;Liberation Sans&quot;, Arial, sans-serif, &quot;Apple Color Emoji&quot;, &quot;Segoe UI Emoji&quot;, &quot;Segoe UI Symbol&quot;, &quot;Noto Color Emoji&quot;; font-weight: 400; line-height: 1.75;\\\">我们使用默认的订阅转换配置即可，因此安装后端服务非常简单。使用以下命令安装后端项目：</span></div><div style=\\\"box-sizing: border-box; background-color: rgb(246, 248, 250); margin: 8px 0px 1.2em; box-shadow: rgb(236, 236, 236) 0px 0px 0px 1px; border-radius: 8px;\\\"><div style=\\\"box-sizing:border-box;user-select:none;display:flex;justify-content:space-between;align-items:center;height:36px;margin-left:0px;margin-right:0px;\\\"><span style=\\\"box-sizing: border-box; margin-left: -0.9375rem;\\\"><i style=\\\"box-sizing: border-box; user-select: none; -webkit-font-smoothing: antialiased; display: inline-block; text-rendering: auto; text-align: center; width: 1.25em; font-size: 70%;\\\"><span style=\\\"font-size: 70%; text-align: center; font-style: normal; color: rgb(201, 200, 200); font-family: &quot;Font Awesome 6 Free&quot;; font-variant: normal; font-weight: 900; line-height: 1;\\\"></span></i><span style=\\\"font-size: 0.85rem; color: var(--code-header-text-color); font-family: system-ui, -apple-system, &quot;Segoe UI&quot;, Roboto, &quot;Helvetica Neue&quot;, &quot;Noto Sans&quot;, &quot;Liberation Sans&quot;, Arial, sans-serif, &quot;Apple Color Emoji&quot;, &quot;Segoe UI Emoji&quot;, &quot;Segoe UI Symbol&quot;, &quot;Noto Color Emoji&quot;; font-weight: 600; line-height: 36px;\\\">Shell</span></span></div><div style=\\\"box-sizing: border-box; border-radius: 0px 0px 0.5rem 0.5rem; overflow: auto; padding-bottom: 12px; background-color: rgb(246, 248, 250);\\\"><div><br/></div><table style=\\\"font-size: inherit; box-sizing: border-box; caption-side: bottom; border-collapse: collapse; min-width: 100%;\\\"><colgroup><col style=\\\"width: 130px;\\\"></col></colgroup><tbody style=\\\"box-sizing:border-box;border-color:inherit;border-style:solid;border-width:0px;\\\"><tr style=\\\"box-sizing: border-box;\\\"><td style=\\\"box-sizing: border-box; width: 130px; padding: 8px; border: 1px solid;\\\"><div style=\\\"box-sizing: border-box; overflow-wrap: normal; font-size: 13.6px; word-break: normal; overflow: visible; margin: 0px;\\\"><span style=\\\"font-size: 13.6px; color: rgb(51, 51, 51); font-family: SFMono-Regular, Menlo, Monaco, Consolas, &quot;Liberation Mono&quot;, &quot;Courier New&quot;, monospace; font-weight: 400; line-height: 22.4px;\\\">docker run</span> <span style=\\\"box-sizing: border-box; font-size: 13.6px; color: rgb(17, 99, 41); font-family: SFMono-Regular, Menlo, Monaco, Consolas, &quot;Liberation Mono&quot;, &quot;Courier New&quot;, monospace; font-weight: 400; line-height: 22.4px;\\\">-d</span> <span style=\\\"box-sizing: border-box; font-size: 13.6px; color: rgb(17, 99, 41); font-family: SFMono-Regular, Menlo, Monaco, Consolas, &quot;Liberation Mono&quot;, &quot;Courier New&quot;, monospace; font-weight: 400; line-height: 22.4px;\\\">--restart</span><span style=\\\"box-sizing: border-box; font-size: 13.6px; color: rgb(5, 80, 174); font-family: SFMono-Regular, Menlo, Monaco, Consolas, &quot;Liberation Mono&quot;, &quot;Courier New&quot;, monospace; font-weight: 400; line-height: 22.4px;\\\">=</span><span style=\\\"font-size: 13.6px; color: rgb(51, 51, 51); font-family: SFMono-Regular, Menlo, Monaco, Consolas, &quot;Liberation Mono&quot;, &quot;Courier New&quot;, monospace; font-weight: 400; line-height: 22.4px;\\\">always</span> <span style=\\\"box-sizing: border-box; font-size: 13.6px; color: rgb(17, 99, 41); font-family: SFMono-Regular, Menlo, Monaco, Consolas, &quot;Liberation Mono&quot;, &quot;Courier New&quot;, monospace; font-weight: 400; line-height: 22.4px;\\\">-p</span> <span style=\\\"font-size: 13.6px; color: rgb(51, 51, 51); font-family: SFMono-Regular, Menlo, Monaco, Consolas, &quot;Liberation Mono&quot;, &quot;Courier New&quot;, monospace; font-weight: 400; line-height: 22.4px;\\\">25500:25500 tindy2013/subconverter:latest</span></div></td></tr></tbody></table><div><br/></div></div></div><div style=\\\"box-sizing: border-box; margin-top: 0px; margin-bottom: 16px;\\\"><span style=\\\"font-size: 16.48px; color: rgb(33, 37, 41); font-family: system-ui, -apple-system, &quot;Segoe UI&quot;, Roboto, &quot;Helvetica Neue&quot;, &quot;Noto Sans&quot;, &quot;Liberation Sans&quot;, Arial, sans-serif, &quot;Apple Color Emoji&quot;, &quot;Segoe UI Emoji&quot;, &quot;Segoe UI Symbol&quot;, &quot;Noto Color Emoji&quot;; font-weight: 400; line-height: 1.75;\\\">因为该后端程序需要在计算机后台一直运行，因此采用了</span> <span style=\\\"font-size: 9pt; color: rgb(51, 51, 51); font-family: Monaco, Menlo, Consolas, &quot;Courier New&quot;, monospace, sans-serif; font-weight: 400; line-height: 1.75;\\\">-d</span> <span style=\\\"font-size: 16.48px; color: rgb(33, 37, 41); font-family: system-ui, -apple-system, &quot;Segoe UI&quot;, Roboto, &quot;Helvetica Neue&quot;, &quot;Noto Sans&quot;, &quot;Liberation Sans&quot;, Arial, sans-serif, &quot;Apple Color Emoji&quot;, &quot;Segoe UI Emoji&quot;, &quot;Segoe UI Symbol&quot;, &quot;Noto Color Emoji&quot;; font-weight: 400; line-height: 1.75;\\\">选项，并将容器将内部端口 25500 转发到主机端口 25500。</span><span style=\\\"font-size: 9pt; color: rgb(51, 51, 51); font-family: Monaco, Menlo, Consolas, &quot;Courier New&quot;, monospace, sans-serif; font-weight: 400; line-height: 1.75;\\\">25500:25500</span> <span style=\\\"font-size: 16.48px; color: rgb(33, 37, 41); font-family: system-ui, -apple-system, &quot;Segoe UI&quot;, Roboto, &quot;Helvetica Neue&quot;, &quot;Noto Sans&quot;, &quot;Liberation Sans&quot;, Arial, sans-serif, &quot;Apple Color Emoji&quot;, &quot;Segoe UI Emoji&quot;, &quot;Segoe UI Symbol&quot;, &quot;Noto Color Emoji&quot;; font-weight: 400; line-height: 1.75;\\\">前者是主机端口，后者为容器内部端口。安装结束后，我们使用以下命令验证安装是否成功：</span></div><div style=\\\"box-sizing: border-box; background-color: rgb(246, 248, 250); margin: 8px 0px 1.2em; box-shadow: rgb(236, 236, 236) 0px 0px 0px 1px; border-radius: 8px;\\\"><div style=\\\"box-sizing:border-box;user-select:none;display:flex;justify-content:space-between;align-items:center;height:36px;margin-left:0px;margin-right:0px;\\\"><span style=\\\"box-sizing: border-box; margin-left: -0.9375rem;\\\"><i style=\\\"box-sizing: border-box; user-select: none; -webkit-font-smoothing: antialiased; display: inline-block; text-rendering: auto; text-align: center; width: 1.25em; font-size: 70%;\\\"><span style=\\\"font-size: 70%; text-align: center; font-style: normal; color: rgb(201, 200, 200); font-family: &quot;Font Awesome 6 Free&quot;; font-variant: normal; font-weight: 900; line-height: 1;\\\"></span></i><span style=\\\"font-size: 0.85rem; color: var(--code-header-text-color); font-family: system-ui, -apple-system, &quot;Segoe UI&quot;, Roboto, &quot;Helvetica Neue&quot;, &quot;Noto Sans&quot;, &quot;Liberation Sans&quot;, Arial, sans-serif, &quot;Apple Color Emoji&quot;, &quot;Segoe UI Emoji&quot;, &quot;Segoe UI Symbol&quot;, &quot;Noto Color Emoji&quot;; font-weight: 600; line-height: 36px;\\\">Shell</span></span></div><div style=\\\"box-sizing: border-box; border-radius: 0px 0px 0.5rem 0.5rem; overflow: auto; padding-bottom: 12px; background-color: rgb(246, 248, 250);\\\"><div><br/></div><table style=\\\"font-size: inherit; box-sizing: border-box; caption-side: bottom; border-collapse: collapse; min-width: 100%;\\\"><colgroup><col style=\\\"width: 130px;\\\"></col></colgroup><tbody style=\\\"box-sizing:border-box;border-color:inherit;border-style:solid;border-width:0px;\\\"><tr style=\\\"box-sizing: border-box;\\\"><td style=\\\"box-sizing: border-box; width: 130px; padding: 8px; border: 1px solid;\\\"><div style=\\\"box-sizing: border-box; overflow-wrap: normal; font-size: 13.6px; word-break: normal; overflow: visible; margin: 0px;\\\"><span style=\\\"font-size: 13.6px; color: rgb(51, 51, 51); font-family: SFMono-Regular, Menlo, Monaco, Consolas, &quot;Liberation Mono&quot;, &quot;Courier New&quot;, monospace; font-weight: 400; line-height: 22.4px;\\\">curl http://localhost:25500/version</span></div></td></tr></tbody></table><div><br/></div></div></div><div style=\\\"box-sizing: border-box; margin-top: 0px; margin-bottom: 16px;\\\"><span style=\\\"font-size: 16.48px; color: rgb(33, 37, 41); font-family: system-ui, -apple-system, &quot;Segoe UI&quot;, Roboto, &quot;Helvetica Neue&quot;, &quot;Noto Sans&quot;, &quot;Liberation Sans&quot;, Arial, sans-serif, &quot;Apple Color Emoji&quot;, &quot;Segoe UI Emoji&quot;, &quot;Segoe UI Symbol&quot;, &quot;Noto Color Emoji&quot;; font-weight: 400; line-height: 1.75;\\\">如果出现</span> <span style=\\\"font-size: 9pt; color: rgb(51, 51, 51); font-family: Monaco, Menlo, Consolas, &quot;Courier New&quot;, monospace, sans-serif; font-weight: 400; line-height: 1.75;\\\">subconverter vx.x.x backend</span> <span style=\\\"font-size: 16.48px; color: rgb(33, 37, 41); font-family: system-ui, -apple-system, &quot;Segoe UI&quot;, Roboto, &quot;Helvetica Neue&quot;, &quot;Noto Sans&quot;, &quot;Liberation Sans&quot;, Arial, sans-serif, &quot;Apple Color Emoji&quot;, &quot;Segoe UI Emoji&quot;, &quot;Segoe UI Symbol&quot;, &quot;Noto Color Emoji&quot;; font-weight: 400; line-height: 1.75;\\\">则说明容器已经成功运行。</span></div><div style=\\\"box-sizing: border-box; margin-top: 0px; margin-bottom: 16px;\\\"><a href=\\\"https://blog.iswiftai.com/assets/img/images/2021/07/24/subconverter.png\\\" style=\\\"box-sizing: border-box; display: inline-flex; user-select: none; margin-top: 8px; margin-bottom: 8px; cursor: zoom-in; position: relative; left: 50%; transform: translateX(-50%); font-size: 16.48px; color: rgba(0, 0, 0, 0); font-family: system-ui, -apple-system, &quot;Segoe UI&quot;, Roboto, &quot;Helvetica Neue&quot;, &quot;Noto Sans&quot;, &quot;Liberation Sans&quot;, Arial, sans-serif, &quot;Apple Color Emoji&quot;, &quot;Segoe UI Emoji&quot;, &quot;Segoe UI Symbol&quot;, &quot;Noto Color Emoji&quot;; font-weight: 400; line-height: 1.75; text-decoration: underline;\\\"><img src=\\\":/0aa329ece485414c90496c19501cab85\\\" type=\\\"image/png\\\" data-filename=\\\"subconverter.png\\\" style=\\\"max-width:100%; height:253.688px; transition:all 0.35s ease-in-out 0s; animation:0.35s ease-in 0s 1 normal none running fade-in; border-radius:7px; box-sizing:border-box; vertical-align:middle;\\\" width=\\\"600\\\"/></a></div><h3 style=\\\"box-sizing: border-box; margin-top: 0px; margin-bottom: 20px; font-size: 28px;\\\"><span style=\\\"box-sizing: border-box; margin-right: 8px; font-size: 28px; color: rgb(33, 37, 41); font-family: Lato, &quot;Microsoft Yahei&quot;, sans-serif; font-weight: 500; line-height: 1.2;\\\">配置域名</span><i style=\\\"box-sizing: border-box; user-select: none; -webkit-font-smoothing: antialiased; display: inline-block; text-rendering: auto;\\\"><a href=\\\"https://blog.iswiftai.com/posts/docker-subscription-converter/#%E9%85%8D%E7%BD%AE%E5%9F%9F%E5%90%8D\\\" style=\\\"font-size: 80%; font-style: normal; color: rgba(33, 37, 41, 0.75); font-family: &quot;Font Awesome 6 Free&quot;; font-variant: normal; font-weight: 900; line-height: 1; text-decoration: underline;\\\">#</a></i></h3><div style=\\\"box-sizing: border-box; margin-top: 0px; margin-bottom: 16px;\\\"><span style=\\\"font-size: 16.48px; color: rgb(33, 37, 41); font-family: system-ui, -apple-system, &quot;Segoe UI&quot;, Roboto, &quot;Helvetica Neue&quot;, &quot;Noto Sans&quot;, &quot;Liberation Sans&quot;, Arial, sans-serif, &quot;Apple Color Emoji&quot;, &quot;Segoe UI Emoji&quot;, &quot;Segoe UI Symbol&quot;, &quot;Noto Color Emoji&quot;; font-weight: 400; line-height: 1.75;\\\">注意到，后端项目其实是一个完整的程序，其监听 25500 端口。我们也可以直接访问该程序，从而实现订阅的转换。其最简单的访问接口为：</span></div><div style=\\\"box-sizing: border-box; background-color: rgb(246, 248, 250); margin: 8px 0px 1.2em; box-shadow: rgb(236, 236, 236) 0px 0px 0px 1px; border-radius: 8px;\\\"><div style=\\\"box-sizing:border-box;user-select:none;display:flex;justify-content:space-between;align-items:center;height:36px;margin-left:0px;margin-right:0px;\\\"><span style=\\\"box-sizing: border-box; margin-left: -0.9375rem;\\\"><i style=\\\"box-sizing: border-box; user-select: none; -webkit-font-smoothing: antialiased; display: inline-block; text-rendering: auto; text-align: center; width: 1.25em; font-size: 70%;\\\"><span style=\\\"font-size: 70%; text-align: center; font-style: normal; color: rgb(201, 200, 200); font-family: &quot;Font Awesome 6 Free&quot;; font-variant: normal; font-weight: 900; line-height: 1;\\\"></span></i><span style=\\\"font-size: 0.85rem; color: var(--code-header-text-color); font-family: system-ui, -apple-system, &quot;Segoe UI&quot;, Roboto, &quot;Helvetica Neue&quot;, &quot;Noto Sans&quot;, &quot;Liberation Sans&quot;, Arial, sans-serif, &quot;Apple Color Emoji&quot;, &quot;Segoe UI Emoji&quot;, &quot;Segoe UI Symbol&quot;, &quot;Noto Color Emoji&quot;; font-weight: 600; line-height: 36px;\\\">Plaintext</span></span></div><div style=\\\"box-sizing: border-box; border-radius: 0px 0px 0.5rem 0.5rem; overflow: auto; padding-bottom: 12px; background-color: rgb(246, 248, 250);\\\"><div><br/></div><table style=\\\"font-size: inherit; box-sizing: border-box; caption-side: bottom; border-collapse: collapse; min-width: 100%;\\\"><colgroup><col style=\\\"width: 130px;\\\"></col></colgroup><tbody style=\\\"box-sizing:border-box;border-color:inherit;border-style:solid;border-width:0px;\\\"><tr style=\\\"box-sizing: border-box;\\\"><td style=\\\"box-sizing: border-box; width: 130px; padding: 8px; border: 1px solid;\\\"><div style=\\\"box-sizing: border-box; overflow-wrap: normal; font-size: 13.6px; word-break: normal; overflow: visible; margin: 0px;\\\"><span style=\\\"font-size: 13.6px; color: rgb(51, 51, 51); font-family: SFMono-Regular, Menlo, Monaco, Consolas, &quot;Liberation Mono&quot;, &quot;Courier New&quot;, monospace; font-weight: 400; line-height: 22.4px;\\\">http://127.0.0.1:25500/sub?target=%TARGET%&amp;url=%URL%&amp;config=%CONFIG%</span></div></td></tr></tbody></table><div><br/></div></div></div><div style=\\\"box-sizing: border-box; margin-top: 0px; margin-bottom: 16px;\\\"><span style=\\\"font-size: 16.48px; color: rgb(33, 37, 41); font-family: system-ui, -apple-system, &quot;Segoe UI&quot;, Roboto, &quot;Helvetica Neue&quot;, &quot;Noto Sans&quot;, &quot;Liberation Sans&quot;, Arial, sans-serif, &quot;Apple Color Emoji&quot;, &quot;Segoe UI Emoji&quot;, &quot;Segoe UI Symbol&quot;, &quot;Noto Color Emoji&quot;; font-weight: 400; line-height: 1.75;\\\">如果需要更为自定义的转换规则，则需要在该接口后面添加更多的参数，详细的参数列表请详见该项目的</span><a href=\\\"https://github.com/tindy2013/subconverter/blob/master/README.md\\\" style=\\\"box-sizing: border-box; border-bottom: 0.666667px solid rgb(222, 226, 230); font-size: 16.48px; color: rgb(13, 110, 253); font-family: system-ui, -apple-system, &quot;Segoe UI&quot;, Roboto, &quot;Helvetica Neue&quot;, &quot;Noto Sans&quot;, &quot;Liberation Sans&quot;, Arial, sans-serif, &quot;Apple Color Emoji&quot;, &quot;Segoe UI Emoji&quot;, &quot;Segoe UI Symbol&quot;, &quot;Noto Color Emoji&quot;; font-weight: 400; line-height: 1.75; text-decoration: underline;\\\">说明文档</a><span style=\\\"font-size: 16.48px; color: rgb(33, 37, 41); font-family: system-ui, -apple-system, &quot;Segoe UI&quot;, Roboto, &quot;Helvetica Neue&quot;, &quot;Noto Sans&quot;, &quot;Liberation Sans&quot;, Arial, sans-serif, &quot;Apple Color Emoji&quot;, &quot;Segoe UI Emoji&quot;, &quot;Segoe UI Symbol&quot;, &quot;Noto Color Emoji&quot;; font-weight: 400; line-height: 1.75;\\\">。由此看来手动设定参数其实是一个很麻烦的事，因此我们需要前端项目。使用前端项目，就可以通过可视化的网页界面来设定转换的规则。不过值得注意的是，前端项目只是一个订阅链接生成器，它会通过我们在界面上选定的相关配置来生成上面的接口链接。然后我们在 Clash 客户端中更新订阅时，实际请求的目标仍然是后端。</span></div><div style=\\\"box-sizing: border-box; margin-top: 0px; margin-bottom: 16px;\\\"><span style=\\\"font-size: 16.48px; color: rgb(33, 37, 41); font-family: system-ui, -apple-system, &quot;Segoe UI&quot;, Roboto, &quot;Helvetica Neue&quot;, &quot;Noto Sans&quot;, &quot;Liberation Sans&quot;, Arial, sans-serif, &quot;Apple Color Emoji&quot;, &quot;Segoe UI Emoji&quot;, &quot;Segoe UI Symbol&quot;, &quot;Noto Color Emoji&quot;; font-weight: 400; line-height: 1.75;\\\">那么前端所需要配置的一个关键就是</span><span style=\\\"font-size: 16.48px; box-sizing: border-box; color: rgb(33, 37, 41); font-family: system-ui, -apple-system, &quot;Segoe UI&quot;, Roboto, &quot;Helvetica Neue&quot;, &quot;Noto Sans&quot;, &quot;Liberation Sans&quot;, Arial, sans-serif, &quot;Apple Color Emoji&quot;, &quot;Segoe UI Emoji&quot;, &quot;Segoe UI Symbol&quot;, &quot;Noto Color Emoji&quot;; font-weight: bolder; line-height: 1.75;\\\">后端</span><span style=\\\"font-size: 16.48px; color: rgb(33, 37, 41); font-family: system-ui, -apple-system, &quot;Segoe UI&quot;, Roboto, &quot;Helvetica Neue&quot;, &quot;Noto Sans&quot;, &quot;Liberation Sans&quot;, Arial, sans-serif, &quot;Apple Color Emoji&quot;, &quot;Segoe UI Emoji&quot;, &quot;Segoe UI Symbol&quot;, &quot;Noto Color Emoji&quot;; font-weight: 400; line-height: 1.75;\\\">项目的地址（下一节会具体介绍配置步骤）。当然我们不能将</span> <span style=\\\"font-size: 9pt; color: rgb(51, 51, 51); font-family: Monaco, Menlo, Consolas, &quot;Courier New&quot;, monospace, sans-serif; font-weight: 400; line-height: 1.75;\\\">127.0.0.1:25500</span> <span style=\\\"font-size: 16.48px; color: rgb(33, 37, 41); font-family: system-ui, -apple-system, &quot;Segoe UI&quot;, Roboto, &quot;Helvetica Neue&quot;, &quot;Noto Sans&quot;, &quot;Liberation Sans&quot;, Arial, sans-serif, &quot;Apple Color Emoji&quot;, &quot;Segoe UI Emoji&quot;, &quot;Segoe UI Symbol&quot;, &quot;Noto Color Emoji&quot;; font-weight: 400; line-height: 1.75;\\\">输入到前端的配置文件，因为正如前面所述，前端项目会原封不动的将该地址作为转换后的链接地址，那么在 Clash 客户端中更新订阅时就会向</span> <span style=\\\"font-size: 9pt; color: rgb(51, 51, 51); font-family: Monaco, Menlo, Consolas, &quot;Courier New&quot;, monospace, sans-serif; font-weight: 400; line-height: 1.75;\\\">127.0.0.1:25500</span> <span style=\\\"font-size: 16.48px; color: rgb(33, 37, 41); font-family: system-ui, -apple-system, &quot;Segoe UI&quot;, Roboto, &quot;Helvetica Neue&quot;, &quot;Noto Sans&quot;, &quot;Liberation Sans&quot;, Arial, sans-serif, &quot;Apple Color Emoji&quot;, &quot;Segoe UI Emoji&quot;, &quot;Segoe UI Symbol&quot;, &quot;Noto Color Emoji&quot;; font-weight: 400; line-height: 1.75;\\\">发起请求（即用户本地）。但我们的项目是配置在服务器上的，因此应该输入服务器的</span><span style=\\\"font-size: 16.48px; box-sizing: border-box; color: rgb(33, 37, 41); font-family: system-ui, -apple-system, &quot;Segoe UI&quot;, Roboto, &quot;Helvetica Neue&quot;, &quot;Noto Sans&quot;, &quot;Liberation Sans&quot;, Arial, sans-serif, &quot;Apple Color Emoji&quot;, &quot;Segoe UI Emoji&quot;, &quot;Segoe UI Symbol&quot;, &quot;Noto Color Emoji&quot;; font-weight: bolder; line-height: 1.75;\\\">公网IP</span><span style=\\\"font-size: 16.48px; color: rgb(33, 37, 41); font-family: system-ui, -apple-system, &quot;Segoe UI&quot;, Roboto, &quot;Helvetica Neue&quot;, &quot;Noto Sans&quot;, &quot;Liberation Sans&quot;, Arial, sans-serif, &quot;Apple Color Emoji&quot;, &quot;Segoe UI Emoji&quot;, &quot;Segoe UI Symbol&quot;, &quot;Noto Color Emoji&quot;; font-weight: 400; line-height: 1.75;\\\">地址。</span></div><div style=\\\"box-sizing: border-box; margin-top: 0px; margin-bottom: 16px;\\\"><span style=\\\"font-size: 16.48px; color: rgb(33, 37, 41); font-family: system-ui, -apple-system, &quot;Segoe UI&quot;, Roboto, &quot;Helvetica Neue&quot;, &quot;Noto Sans&quot;, &quot;Liberation Sans&quot;, Arial, sans-serif, &quot;Apple Color Emoji&quot;, &quot;Segoe UI Emoji&quot;, &quot;Segoe UI Symbol&quot;, &quot;Noto Color Emoji&quot;; font-weight: 400; line-height: 1.75;\\\">但使用服务器 IP 有一个不好之处，其他人能够直接看到服务器的 IP 地址，且使用 HTTP 协议不够安全，我们最好还是为后端配置相应的域名和 SSL 证书。这里就不详细的介绍域名以及 SSL 证书的配置了，详细内容可参见</span><a href=\\\"https://codeswift.top/posts/wordpress-blog/#%E5%9F%9F%E5%90%8D%E7%9A%84%E8%B4%AD%E4%B9%B0%E4%BB%A5%E5%8F%8Assl%E9%85%8D%E7%BD%AE\\\" style=\\\"box-sizing: border-box; border-bottom: 0.666667px solid rgb(222, 226, 230); font-size: 16.48px; color: rgb(13, 110, 253); font-family: system-ui, -apple-system, &quot;Segoe UI&quot;, Roboto, &quot;Helvetica Neue&quot;, &quot;Noto Sans&quot;, &quot;Liberation Sans&quot;, Arial, sans-serif, &quot;Apple Color Emoji&quot;, &quot;Segoe UI Emoji&quot;, &quot;Segoe UI Symbol&quot;, &quot;Noto Color Emoji&quot;; font-weight: 400; line-height: 1.75; text-decoration: underline;\\\">这篇文章</a><span style=\\\"font-size: 16.48px; color: rgb(33, 37, 41); font-family: system-ui, -apple-system, &quot;Segoe UI&quot;, Roboto, &quot;Helvetica Neue&quot;, &quot;Noto Sans&quot;, &quot;Liberation Sans&quot;, Arial, sans-serif, &quot;Apple Color Emoji&quot;, &quot;Segoe UI Emoji&quot;, &quot;Segoe UI Symbol&quot;, &quot;Noto Color Emoji&quot;; font-weight: 400; line-height: 1.75;\\\">。不过我们可以不用购买新的域名，而是通过解析不同的二级域名的方式来区分前后端，例如</span> <span style=\\\"font-size: 9pt; color: rgb(51, 51, 51); font-family: Monaco, Menlo, Consolas, &quot;Courier New&quot;, monospace, sans-serif; font-weight: 400; line-height: 1.75;\\\">frontend.XXX.com</span> <span style=\\\"font-size: 16.48px; color: rgb(33, 37, 41); font-family: system-ui, -apple-system, &quot;Segoe UI&quot;, Roboto, &quot;Helvetica Neue&quot;, &quot;Noto Sans&quot;, &quot;Liberation Sans&quot;, Arial, sans-serif, &quot;Apple Color Emoji&quot;, &quot;Segoe UI Emoji&quot;, &quot;Segoe UI Symbol&quot;, &quot;Noto Color Emoji&quot;; font-weight: 400; line-height: 1.75;\\\">和</span> <span style=\\\"font-size: 9pt; color: rgb(51, 51, 51); font-family: Monaco, Menlo, Consolas, &quot;Courier New&quot;, monospace, sans-serif; font-weight: 400; line-height: 1.75;\\\">backend.XXX.com</span><span style=\\\"font-size: 16.48px; color: rgb(33, 37, 41); font-family: system-ui, -apple-system, &quot;Segoe UI&quot;, Roboto, &quot;Helvetica Neue&quot;, &quot;Noto Sans&quot;, &quot;Liberation Sans&quot;, Arial, sans-serif, &quot;Apple Color Emoji&quot;, &quot;Segoe UI Emoji&quot;, &quot;Segoe UI Symbol&quot;, &quot;Noto Color Emoji&quot;; font-weight: 400; line-height: 1.75;\\\">。</span></div><div style=\\\"box-sizing: border-box; margin-top: 0px; margin-bottom: 16px;\\\"><span style=\\\"font-size: 16.48px; color: rgb(33, 37, 41); font-family: system-ui, -apple-system, &quot;Segoe UI&quot;, Roboto, &quot;Helvetica Neue&quot;, &quot;Noto Sans&quot;, &quot;Liberation Sans&quot;, Arial, sans-serif, &quot;Apple Color Emoji&quot;, &quot;Segoe UI Emoji&quot;, &quot;Segoe UI Symbol&quot;, &quot;Noto Color Emoji&quot;; font-weight: 400; line-height: 1.75;\\\">SSL 配置文件与以往有些不同，例如对于后端的域名，Apache 监听的仍然是 443 端口，但需要将该域名的相关请求转发到本机的 25500 端口。本篇文章以</span> <span style=\\\"font-size: 9pt; color: rgb(51, 51, 51); font-family: Monaco, Menlo, Consolas, &quot;Courier New&quot;, monospace, sans-serif; font-weight: 400; line-height: 1.75;\\\">back.niallapi.xyz</span> <span style=\\\"font-size: 16.48px; color: rgb(33, 37, 41); font-family: system-ui, -apple-system, &quot;Segoe UI&quot;, Roboto, &quot;Helvetica Neue&quot;, &quot;Noto Sans&quot;, &quot;Liberation Sans&quot;, Arial, sans-serif, &quot;Apple Color Emoji&quot;, &quot;Segoe UI Emoji&quot;, &quot;Segoe UI Symbol&quot;, &quot;Noto Color Emoji&quot;; font-weight: 400; line-height: 1.75;\\\">为后端地址，具体的 SSL Config 文件如下：</span></div><div style=\\\"box-sizing: border-box; background-color: rgb(246, 248, 250); margin: 8px 0px 1.2em; box-shadow: rgb(236, 236, 236) 0px 0px 0px 1px; border-radius: 8px;\\\"><div style=\\\"box-sizing:border-box;user-select:none;display:flex;justify-content:space-between;align-items:center;height:36px;margin-left:0px;margin-right:0px;\\\"><span style=\\\"box-sizing: border-box; margin-left: -0.9375rem;\\\"><i style=\\\"box-sizing: border-box; user-select: none; -webkit-font-smoothing: antialiased; display: inline-block; text-rendering: auto; text-align: center; width: 1.25em; font-size: 70%;\\\"><span style=\\\"font-size: 70%; text-align: center; font-style: normal; color: rgb(201, 200, 200); font-family: &quot;Font Awesome 6 Free&quot;; font-variant: normal; font-weight: 900; line-height: 1;\\\"></span></i><span style=\\\"font-size: 0.85rem; color: var(--code-header-text-color); font-family: system-ui, -apple-system, &quot;Segoe UI&quot;, Roboto, &quot;Helvetica Neue&quot;, &quot;Noto Sans&quot;, &quot;Liberation Sans&quot;, Arial, sans-serif, &quot;Apple Color Emoji&quot;, &quot;Segoe UI Emoji&quot;, &quot;Segoe UI Symbol&quot;, &quot;Noto Color Emoji&quot;; font-weight: 600; line-height: 36px;\\\">Apache</span></span></div><div style=\\\"box-sizing: border-box; border-radius: 0px 0px 0.5rem 0.5rem; overflow: auto; padding-bottom: 12px; background-color: rgb(246, 248, 250);\\\"><div><br/></div><table style=\\\"font-size: inherit; box-sizing: border-box; caption-side: bottom; border-collapse: collapse; min-width: 100%;\\\"><colgroup><col style=\\\"width: 130px;\\\"></col></colgroup><tbody style=\\\"box-sizing:border-box;border-color:inherit;border-style:solid;border-width:0px;\\\"><tr style=\\\"box-sizing: border-box;\\\"><td style=\\\"box-sizing: border-box; width: 130px; padding: 8px; border: 1px solid;\\\"><div style=\\\"box-sizing: border-box; overflow-wrap: normal; font-size: 13.6px; word-break: normal; overflow: visible; margin: 0px;\\\"><div><span style=\\\"box-sizing: border-box; font-size: 13.6px; color: rgb(51, 51, 51); font-family: SFMono-Regular, Menlo, Monaco, Consolas, &quot;Liberation Mono&quot;, &quot;Courier New&quot;, monospace; font-weight: 400; line-height: 22.4px;\\\">&lt;</span><span style=\\\"box-sizing: border-box; font-size: 13.6px; color: rgb(5, 80, 174); font-family: SFMono-Regular, Menlo, Monaco, Consolas, &quot;Liberation Mono&quot;, &quot;Courier New&quot;, monospace; font-weight: 400; line-height: 22.4px;\\\">IfModule</span> <span style=\\\"box-sizing: border-box; font-size: 13.6px; color: rgb(17, 99, 41); font-family: SFMono-Regular, Menlo, Monaco, Consolas, &quot;Liberation Mono&quot;, &quot;Courier New&quot;, monospace; font-weight: 400; line-height: 22.4px;\\\">mod_ssl.c</span><span style=\\\"box-sizing: border-box; font-size: 13.6px; color: rgb(51, 51, 51); font-family: SFMono-Regular, Menlo, Monaco, Consolas, &quot;Liberation Mono&quot;, &quot;Courier New&quot;, monospace; font-weight: 400; line-height: 22.4px;\\\">&gt;</span></div><div><span style=\\\"box-sizing: border-box; font-size: 13.6px; color: rgb(51, 51, 51); font-family: SFMono-Regular, Menlo, Monaco, Consolas, &quot;Liberation Mono&quot;, &quot;Courier New&quot;, monospace; font-weight: 400; line-height: 22.4px;\\\">&lt;</span><span style=\\\"box-sizing: border-box; font-size: 13.6px; color: rgb(5, 80, 174); font-family: SFMono-Regular, Menlo, Monaco, Consolas, &quot;Liberation Mono&quot;, &quot;Courier New&quot;, monospace; font-weight: 400; line-height: 22.4px;\\\">VirtualHost</span> <span style=\\\"box-sizing: border-box; font-size: 13.6px; color: rgb(17, 99, 41); font-family: SFMono-Regular, Menlo, Monaco, Consolas, &quot;Liberation Mono&quot;, &quot;Courier New&quot;, monospace; font-weight: 400; line-height: 22.4px;\\\">_default_:443</span><span style=\\\"box-sizing: border-box; font-size: 13.6px; color: rgb(51, 51, 51); font-family: SFMono-Regular, Menlo, Monaco, Consolas, &quot;Liberation Mono&quot;, &quot;Courier New&quot;, monospace; font-weight: 400; line-height: 22.4px;\\\">&gt;</span></div><div><span style=\\\"box-sizing: border-box; font-size: 13.6px; color: rgb(149, 56, 0); font-family: SFMono-Regular, Menlo, Monaco, Consolas, &quot;Liberation Mono&quot;, &quot;Courier New&quot;, monospace; font-weight: 400; line-height: 22.4px;\\\">ServerAdmin</span> <span style=\\\"font-size: 13.6px; color: rgb(51, 51, 51); font-family: SFMono-Regular, Menlo, Monaco, Consolas, &quot;Liberation Mono&quot;, &quot;Courier New&quot;, monospace; font-weight: 400; line-height: 22.4px;\\\">webmaster@localhost</span></div><div><span style=\\\"box-sizing: border-box; font-size: 13.6px; color: rgb(149, 56, 0); font-family: SFMono-Regular, Menlo, Monaco, Consolas, &quot;Liberation Mono&quot;, &quot;Courier New&quot;, monospace; font-weight: 400; line-height: 22.4px;\\\">ServerName</span> <span style=\\\"font-size: 13.6px; color: rgb(51, 51, 51); font-family: SFMono-Regular, Menlo, Monaco, Consolas, &quot;Liberation Mono&quot;, &quot;Courier New&quot;, monospace; font-weight: 400; line-height: 22.4px;\\\">back.niallapi.xyz</span></div><div><span style=\\\"box-sizing: border-box; font-size: 13.6px; color: rgb(149, 56, 0); font-family: SFMono-Regular, Menlo, Monaco, Consolas, &quot;Liberation Mono&quot;, &quot;Courier New&quot;, monospace; font-weight: 400; line-height: 22.4px;\\\">DocumentRoot</span> <span style=\\\"font-size: 13.6px; color: rgb(51, 51, 51); font-family: SFMono-Regular, Menlo, Monaco, Consolas, &quot;Liberation Mono&quot;, &quot;Courier New&quot;, monospace; font-weight: 400; line-height: 22.4px;\\\">/var/www/html</span></div><div><span style=\\\"box-sizing: border-box; font-size: 13.6px; color: rgb(149, 56, 0); font-family: SFMono-Regular, Menlo, Monaco, Consolas, &quot;Liberation Mono&quot;, &quot;Courier New&quot;, monospace; font-weight: 400; line-height: 22.4px;\\\">ErrorLog</span> <span style=\\\"font-size: 13.6px; color: rgb(51, 51, 51); font-family: SFMono-Regular, Menlo, Monaco, Consolas, &quot;Liberation Mono&quot;, &quot;Courier New&quot;, monospace; font-weight: 400; line-height: 22.4px;\\\">${APACHE_LOG_DIR}/error.log</span></div><div><span style=\\\"box-sizing: border-box; font-size: 13.6px; color: rgb(149, 56, 0); font-family: SFMono-Regular, Menlo, Monaco, Consolas, &quot;Liberation Mono&quot;, &quot;Courier New&quot;, monospace; font-weight: 400; line-height: 22.4px;\\\">CustomLog</span> <span style=\\\"font-size: 13.6px; color: rgb(51, 51, 51); font-family: SFMono-Regular, Menlo, Monaco, Consolas, &quot;Liberation Mono&quot;, &quot;Courier New&quot;, monospace; font-weight: 400; line-height: 22.4px;\\\">${APACHE_LOG_DIR}/access.log combined</span></div><div><span style=\\\"box-sizing: border-box; font-size: 13.6px; color: rgb(149, 56, 0); font-family: SFMono-Regular, Menlo, Monaco, Consolas, &quot;Liberation Mono&quot;, &quot;Courier New&quot;, monospace; font-weight: 400; line-height: 22.4px;\\\">SSLEngine</span> <span style=\\\"box-sizing: border-box; font-size: 13.6px; color: rgb(10, 48, 105); font-family: SFMono-Regular, Menlo, Monaco, Consolas, &quot;Liberation Mono&quot;, &quot;Courier New&quot;, monospace; font-weight: 400; line-height: 22.4px;\\\">on</span></div><div><span style=\\\"box-sizing: border-box; font-size: 13.6px; color: rgb(149, 56, 0); font-family: SFMono-Regular, Menlo, Monaco, Consolas, &quot;Liberation Mono&quot;, &quot;Courier New&quot;, monospace; font-weight: 400; line-height: 22.4px;\\\">SSLCertificateFile</span><span style=\\\"font-size: 13.6px; color: rgb(51, 51, 51); font-family: SFMono-Regular, Menlo, Monaco, Consolas, &quot;Liberation Mono&quot;, &quot;Courier New&quot;, monospace; font-weight: 400; line-height: 22.4px;\\\">    /etc/apache2/ssl/back_niallapi_xyz/XXX.crt</span></div><div><span style=\\\"box-sizing: border-box; font-size: 13.6px; color: rgb(149, 56, 0); font-family: SFMono-Regular, Menlo, Monaco, Consolas, &quot;Liberation Mono&quot;, &quot;Courier New&quot;, monospace; font-weight: 400; line-height: 22.4px;\\\">SSLCertificateKeyFile</span> <span style=\\\"font-size: 13.6px; color: rgb(51, 51, 51); font-family: SFMono-Regular, Menlo, Monaco, Consolas, &quot;Liberation Mono&quot;, &quot;Courier New&quot;, monospace; font-weight: 400; line-height: 22.4px;\\\">/etc/apache2/ssl/back_niallapi_xyz/XXX.key</span></div><div><span style=\\\"box-sizing: border-box; font-size: 13.6px; color: rgb(149, 56, 0); font-family: SFMono-Regular, Menlo, Monaco, Consolas, &quot;Liberation Mono&quot;, &quot;Courier New&quot;, monospace; font-weight: 400; line-height: 22.4px;\\\">SSLCertificateChainFile</span> <span style=\\\"font-size: 13.6px; color: rgb(51, 51, 51); font-family: SFMono-Regular, Menlo, Monaco, Consolas, &quot;Liberation Mono&quot;, &quot;Courier New&quot;, monospace; font-weight: 400; line-height: 22.4px;\\\">/etc/apache2/ssl/back_niallapi_xyz/1_root_bundle.crt</span></div><div><span style=\\\"box-sizing: border-box; font-size: 13.6px; color: rgb(149, 56, 0); font-family: SFMono-Regular, Menlo, Monaco, Consolas, &quot;Liberation Mono&quot;, &quot;Courier New&quot;, monospace; font-weight: 400; line-height: 22.4px;\\\">ProxyPreserveHost</span> <span style=\\\"box-sizing: border-box; font-size: 13.6px; color: rgb(10, 48, 105); font-family: SFMono-Regular, Menlo, Monaco, Consolas, &quot;Liberation Mono&quot;, &quot;Courier New&quot;, monospace; font-weight: 400; line-height: 22.4px;\\\">On</span></div><div><span style=\\\"box-sizing: border-box; font-size: 13.6px; color: rgb(149, 56, 0); font-family: SFMono-Regular, Menlo, Monaco, Consolas, &quot;Liberation Mono&quot;, &quot;Courier New&quot;, monospace; font-weight: 400; line-height: 22.4px;\\\">ProxyPass</span> <span style=\\\"font-size: 13.6px; color: rgb(51, 51, 51); font-family: SFMono-Regular, Menlo, Monaco, Consolas, &quot;Liberation Mono&quot;, &quot;Courier New&quot;, monospace; font-weight: 400; line-height: 22.4px;\\\">&quot;/&quot; &quot;http://127.0.0.1:25500/&quot;</span></div><div><span style=\\\"box-sizing: border-box; font-size: 13.6px; color: rgb(149, 56, 0); font-family: SFMono-Regular, Menlo, Monaco, Consolas, &quot;Liberation Mono&quot;, &quot;Courier New&quot;, monospace; font-weight: 400; line-height: 22.4px;\\\">ProxyPassReverse</span> <span style=\\\"font-size: 13.6px; color: rgb(51, 51, 51); font-family: SFMono-Regular, Menlo, Monaco, Consolas, &quot;Liberation Mono&quot;, &quot;Courier New&quot;, monospace; font-weight: 400; line-height: 22.4px;\\\">/ http://127.0.0.1:25500/</span></div><div><span style=\\\"box-sizing: border-box; font-size: 13.6px; color: rgb(149, 56, 0); font-family: SFMono-Regular, Menlo, Monaco, Consolas, &quot;Liberation Mono&quot;, &quot;Courier New&quot;, monospace; font-weight: 400; line-height: 22.4px;\\\">RequestHeader</span> <span style=\\\"box-sizing: border-box; font-size: 13.6px; color: rgb(10, 48, 105); font-family: SFMono-Regular, Menlo, Monaco, Consolas, &quot;Liberation Mono&quot;, &quot;Courier New&quot;, monospace; font-weight: 400; line-height: 22.4px;\\\">set</span> <span style=\\\"font-size: 13.6px; color: rgb(51, 51, 51); font-family: SFMono-Regular, Menlo, Monaco, Consolas, &quot;Liberation Mono&quot;, &quot;Courier New&quot;, monospace; font-weight: 400; line-height: 22.4px;\\\">X-Forwarded-Proto &quot;https&quot;</span></div><div><span style=\\\"font-size: 13.6px; color: rgb(51, 51, 51); font-family: SFMono-Regular, Menlo, Monaco, Consolas, &quot;Liberation Mono&quot;, &quot;Courier New&quot;, monospace; font-weight: 400; line-height: 22.4px;\\\">&lt;FilesMatch &quot;\\\\.(cgi|shtml|phtml|php)$&quot;&gt;</span></div><div><span style=\\\"box-sizing: border-box; font-size: 13.6px; color: rgb(149, 56, 0); font-family: SFMono-Regular, Menlo, Monaco, Consolas, &quot;Liberation Mono&quot;, &quot;Courier New&quot;, monospace; font-weight: 400; line-height: 22.4px;\\\">SSLOptions</span> <span style=\\\"font-size: 13.6px; color: rgb(51, 51, 51); font-family: SFMono-Regular, Menlo, Monaco, Consolas, &quot;Liberation Mono&quot;, &quot;Courier New&quot;, monospace; font-weight: 400; line-height: 22.4px;\\\">+StdEnvVars</span></div><div><span style=\\\"box-sizing: border-box; font-size: 13.6px; color: rgb(51, 51, 51); font-family: SFMono-Regular, Menlo, Monaco, Consolas, &quot;Liberation Mono&quot;, &quot;Courier New&quot;, monospace; font-weight: 400; line-height: 22.4px;\\\">&lt;/</span><span style=\\\"box-sizing: border-box; font-size: 13.6px; color: rgb(5, 80, 174); font-family: SFMono-Regular, Menlo, Monaco, Consolas, &quot;Liberation Mono&quot;, &quot;Courier New&quot;, monospace; font-weight: 400; line-height: 22.4px;\\\">FilesMatch</span><span style=\\\"box-sizing: border-box; font-size: 13.6px; color: rgb(51, 51, 51); font-family: SFMono-Regular, Menlo, Monaco, Consolas, &quot;Liberation Mono&quot;, &quot;Courier New&quot;, monospace; font-weight: 400; line-height: 22.4px;\\\">&gt;</span></div><div><span style=\\\"box-sizing: border-box; font-size: 13.6px; color: rgb(51, 51, 51); font-family: SFMono-Regular, Menlo, Monaco, Consolas, &quot;Liberation Mono&quot;, &quot;Courier New&quot;, monospace; font-weight: 400; line-height: 22.4px;\\\">&lt;</span><span style=\\\"box-sizing: border-box; font-size: 13.6px; color: rgb(5, 80, 174); font-family: SFMono-Regular, Menlo, Monaco, Consolas, &quot;Liberation Mono&quot;, &quot;Courier New&quot;, monospace; font-weight: 400; line-height: 22.4px;\\\">Directory</span> <span style=\\\"box-sizing: border-box; font-size: 13.6px; color: rgb(17, 99, 41); font-family: SFMono-Regular, Menlo, Monaco, Consolas, &quot;Liberation Mono&quot;, &quot;Courier New&quot;, monospace; font-weight: 400; line-height: 22.4px;\\\">/usr/lib/cgi-bin</span><span style=\\\"box-sizing: border-box; font-size: 13.6px; color: rgb(51, 51, 51); font-family: SFMono-Regular, Menlo, Monaco, Consolas, &quot;Liberation Mono&quot;, &quot;Courier New&quot;, monospace; font-weight: 400; line-height: 22.4px;\\\">&gt;</span></div><div><span style=\\\"box-sizing: border-box; font-size: 13.6px; color: rgb(149, 56, 0); font-family: SFMono-Regular, Menlo, Monaco, Consolas, &quot;Liberation Mono&quot;, &quot;Courier New&quot;, monospace; font-weight: 400; line-height: 22.4px;\\\">SSLOptions</span> <span style=\\\"font-size: 13.6px; color: rgb(51, 51, 51); font-family: SFMono-Regular, Menlo, Monaco, Consolas, &quot;Liberation Mono&quot;, &quot;Courier New&quot;, monospace; font-weight: 400; line-height: 22.4px;\\\">+StdEnvVars</span></div><div><span style=\\\"box-sizing: border-box; font-size: 13.6px; color: rgb(51, 51, 51); font-family: SFMono-Regular, Menlo, Monaco, Consolas, &quot;Liberation Mono&quot;, &quot;Courier New&quot;, monospace; font-weight: 400; line-height: 22.4px;\\\">&lt;/</span><span style=\\\"box-sizing: border-box; font-size: 13.6px; color: rgb(5, 80, 174); font-family: SFMono-Regular, Menlo, Monaco, Consolas, &quot;Liberation Mono&quot;, &quot;Courier New&quot;, monospace; font-weight: 400; line-height: 22.4px;\\\">Directory</span><span style=\\\"box-sizing: border-box; font-size: 13.6px; color: rgb(51, 51, 51); font-family: SFMono-Regular, Menlo, Monaco, Consolas, &quot;Liberation Mono&quot;, &quot;Courier New&quot;, monospace; font-weight: 400; line-height: 22.4px;\\\">&gt;</span></div><div><span style=\\\"box-sizing: border-box; font-size: 13.6px; color: rgb(51, 51, 51); font-family: SFMono-Regular, Menlo, Monaco, Consolas, &quot;Liberation Mono&quot;, &quot;Courier New&quot;, monospace; font-weight: 400; line-height: 22.4px;\\\">&lt;/</span><span style=\\\"box-sizing: border-box; font-size: 13.6px; color: rgb(5, 80, 174); font-family: SFMono-Regular, Menlo, Monaco, Consolas, &quot;Liberation Mono&quot;, &quot;Courier New&quot;, monospace; font-weight: 400; line-height: 22.4px;\\\">VirtualHost</span><span style=\\\"box-sizing: border-box; font-size: 13.6px; color: rgb(51, 51, 51); font-family: SFMono-Regular, Menlo, Monaco, Consolas, &quot;Liberation Mono&quot;, &quot;Courier New&quot;, monospace; font-weight: 400; line-height: 22.4px;\\\">&gt;</span></div><div><span style=\\\"box-sizing: border-box; font-size: 13.6px; color: rgb(51, 51, 51); font-family: SFMono-Regular, Menlo, Monaco, Consolas, &quot;Liberation Mono&quot;, &quot;Courier New&quot;, monospace; font-weight: 400; line-height: 22.4px;\\\">&lt;/</span><span style=\\\"box-sizing: border-box; font-size: 13.6px; color: rgb(5, 80, 174); font-family: SFMono-Regular, Menlo, Monaco, Consolas, &quot;Liberation Mono&quot;, &quot;Courier New&quot;, monospace; font-weight: 400; line-height: 22.4px;\\\">IfModule</span><span style=\\\"box-sizing: border-box; font-size: 13.6px; color: rgb(51, 51, 51); font-family: SFMono-Regular, Menlo, Monaco, Consolas, &quot;Liberation Mono&quot;, &quot;Courier New&quot;, monospace; font-weight: 400; line-height: 22.4px;\\\">&gt;</span></div></div></td></tr></tbody></table><div><br/></div></div></div><div style=\\\"box-sizing: border-box; margin-top: 0px; margin-bottom: 16px;\\\"><span style=\\\"font-size: 16.48px; color: rgb(33, 37, 41); font-family: system-ui, -apple-system, &quot;Segoe UI&quot;, Roboto, &quot;Helvetica Neue&quot;, &quot;Noto Sans&quot;, &quot;Liberation Sans&quot;, Arial, sans-serif, &quot;Apple Color Emoji&quot;, &quot;Segoe UI Emoji&quot;, &quot;Segoe UI Symbol&quot;, &quot;Noto Color Emoji&quot;; font-weight: 400; line-height: 1.75;\\\">当然如果在本机运行的话，你也可以直接使用 IP地址+端口号 的形式来访问，从而不必配置域名以及 SSL 配置文件。</span></div><h3 style=\\\"box-sizing: border-box; margin-top: 0px; margin-bottom: 20px; font-size: 28px;\\\"><span style=\\\"box-sizing: border-box; margin-right: 8px; font-size: 28px; color: rgb(33, 37, 41); font-family: Lato, &quot;Microsoft Yahei&quot;, sans-serif; font-weight: 500; line-height: 1.2;\\\">其它配置</span><i style=\\\"box-sizing: border-box; user-select: none; -webkit-font-smoothing: antialiased; display: inline-block; text-rendering: auto;\\\"><a href=\\\"https://blog.iswiftai.com/posts/docker-subscription-converter/#%E5%85%B6%E5%AE%83%E9%85%8D%E7%BD%AE\\\" style=\\\"font-size: 80%; font-style: normal; color: rgba(33, 37, 41, 0.75); font-family: &quot;Font Awesome 6 Free&quot;; font-variant: normal; font-weight: 900; line-height: 1; text-decoration: underline;\\\">#</a></i></h3><div style=\\\"box-sizing: border-box; margin-top: 0px; margin-bottom: 16px;\\\"><span style=\\\"font-size: 16.48px; color: rgb(33, 37, 41); font-family: system-ui, -apple-system, &quot;Segoe UI&quot;, Roboto, &quot;Helvetica Neue&quot;, &quot;Noto Sans&quot;, &quot;Liberation Sans&quot;, Arial, sans-serif, &quot;Apple Color Emoji&quot;, &quot;Segoe UI Emoji&quot;, &quot;Segoe UI Symbol&quot;, &quot;Noto Color Emoji&quot;; font-weight: 400; line-height: 1.75;\\\">如果想要修改后端配置，可以进入容器内修改：</span></div><div style=\\\"box-sizing: border-box; background-color: rgb(246, 248, 250); margin: 8px 0px 1.2em; box-shadow: rgb(236, 236, 236) 0px 0px 0px 1px; border-radius: 8px;\\\"><div style=\\\"box-sizing:border-box;user-select:none;display:flex;justify-content:space-between;align-items:center;height:36px;margin-left:0px;margin-right:0px;\\\"><span style=\\\"box-sizing: border-box; margin-left: -0.9375rem;\\\"><i style=\\\"box-sizing: border-box; user-select: none; -webkit-font-smoothing: antialiased; display: inline-block; text-rendering: auto; text-align: center; width: 1.25em; font-size: 70%;\\\"><span style=\\\"font-size: 70%; text-align: center; font-style: normal; color: rgb(201, 200, 200); font-family: &quot;Font Awesome 6 Free&quot;; font-variant: normal; font-weight: 900; line-height: 1;\\\"></span></i><span style=\\\"font-size: 0.85rem; color: var(--code-header-text-color); font-family: system-ui, -apple-system, &quot;Segoe UI&quot;, Roboto, &quot;Helvetica Neue&quot;, &quot;Noto Sans&quot;, &quot;Liberation Sans&quot;, Arial, sans-serif, &quot;Apple Color Emoji&quot;, &quot;Segoe UI Emoji&quot;, &quot;Segoe UI Symbol&quot;, &quot;Noto Color Emoji&quot;; font-weight: 600; line-height: 36px;\\\">Shell</span></span></div><div style=\\\"box-sizing: border-box; border-radius: 0px 0px 0.5rem 0.5rem; overflow: auto; padding-bottom: 12px; background-color: rgb(246, 248, 250);\\\"><div><br/></div><table style=\\\"font-size: inherit; box-sizing: border-box; caption-side: bottom; border-collapse: collapse; min-width: 100%;\\\"><colgroup><col style=\\\"width: 130px;\\\"></col></colgroup><tbody style=\\\"box-sizing:border-box;border-color:inherit;border-style:solid;border-width:0px;\\\"><tr style=\\\"box-sizing: border-box;\\\"><td style=\\\"box-sizing: border-box; width: 130px; padding: 8px; border: 1px solid;\\\"><div style=\\\"box-sizing: border-box; overflow-wrap: normal; font-size: 13.6px; word-break: normal; overflow: visible; margin: 0px;\\\"><span style=\\\"box-sizing: border-box; font-size: 13.6px; color: rgb(149, 56, 0); font-family: SFMono-Regular, Menlo, Monaco, Consolas, &quot;Liberation Mono&quot;, &quot;Courier New&quot;, monospace; font-weight: 400; line-height: 22.4px;\\\">sudo</span> <span style=\\\"font-size: 13.6px; color: rgb(51, 51, 51); font-family: SFMono-Regular, Menlo, Monaco, Consolas, &quot;Liberation Mono&quot;, &quot;Courier New&quot;, monospace; font-weight: 400; line-height: 22.4px;\\\">docker</span> <span style=\\\"box-sizing: border-box; font-size: 13.6px; color: rgb(149, 56, 0); font-family: SFMono-Regular, Menlo, Monaco, Consolas, &quot;Liberation Mono&quot;, &quot;Courier New&quot;, monospace; font-weight: 400; line-height: 22.4px;\\\">exec</span> <span style=\\\"box-sizing: border-box; font-size: 13.6px; color: rgb(17, 99, 41); font-family: SFMono-Regular, Menlo, Monaco, Consolas, &quot;Liberation Mono&quot;, &quot;Courier New&quot;, monospace; font-weight: 400; line-height: 22.4px;\\\">-it</span> <span style=\\\"font-size: 13.6px; color: rgb(51, 51, 51); font-family: SFMono-Regular, Menlo, Monaco, Consolas, &quot;Liberation Mono&quot;, &quot;Courier New&quot;, monospace; font-weight: 400; line-height: 22.4px;\\\">sub /bin/sh</span></div></td></tr></tbody></table><div><br/></div></div></div><div style=\\\"box-sizing: border-box; margin-top: 0px; margin-bottom: 16px;\\\"><span style=\\\"font-size: 16.48px; color: rgb(33, 37, 41); font-family: system-ui, -apple-system, &quot;Segoe UI&quot;, Roboto, &quot;Helvetica Neue&quot;, &quot;Noto Sans&quot;, &quot;Liberation Sans&quot;, Arial, sans-serif, &quot;Apple Color Emoji&quot;, &quot;Segoe UI Emoji&quot;, &quot;Segoe UI Symbol&quot;, &quot;Noto Color Emoji&quot;; font-weight: 400; line-height: 1.75;\\\">由于默认文件使用的是</span> <span style=\\\"font-size: 9pt; color: rgb(51, 51, 51); font-family: Monaco, Menlo, Consolas, &quot;Courier New&quot;, monospace, sans-serif; font-weight: 400; line-height: 1.75;\\\">pref.toml</span> <span style=\\\"font-size: 16.48px; color: rgb(33, 37, 41); font-family: system-ui, -apple-system, &quot;Segoe UI&quot;, Roboto, &quot;Helvetica Neue&quot;, &quot;Noto Sans&quot;, &quot;Liberation Sans&quot;, Arial, sans-serif, &quot;Apple Color Emoji&quot;, &quot;Segoe UI Emoji&quot;, &quot;Segoe UI Symbol&quot;, &quot;Noto Color Emoji&quot;; font-weight: 400; line-height: 1.75;\\\">，编辑文件：</span></div><div style=\\\"box-sizing: border-box; background-color: rgb(246, 248, 250); margin: 8px 0px 1.2em; box-shadow: rgb(236, 236, 236) 0px 0px 0px 1px; border-radius: 8px;\\\"><div style=\\\"box-sizing:border-box;user-select:none;display:flex;justify-content:space-between;align-items:center;height:36px;margin-left:0px;margin-right:0px;\\\"><span style=\\\"box-sizing: border-box; margin-left: -0.9375rem;\\\"><i style=\\\"box-sizing: border-box; user-select: none; -webkit-font-smoothing: antialiased; display: inline-block; text-rendering: auto; text-align: center; width: 1.25em; font-size: 70%;\\\"><span style=\\\"font-size: 70%; text-align: center; font-style: normal; color: rgb(201, 200, 200); font-family: &quot;Font Awesome 6 Free&quot;; font-variant: normal; font-weight: 900; line-height: 1;\\\"></span></i><span style=\\\"font-size: 0.85rem; color: var(--code-header-text-color); font-family: system-ui, -apple-system, &quot;Segoe UI&quot;, Roboto, &quot;Helvetica Neue&quot;, &quot;Noto Sans&quot;, &quot;Liberation Sans&quot;, Arial, sans-serif, &quot;Apple Color Emoji&quot;, &quot;Segoe UI Emoji&quot;, &quot;Segoe UI Symbol&quot;, &quot;Noto Color Emoji&quot;; font-weight: 600; line-height: 36px;\\\">Shell</span></span></div><div style=\\\"box-sizing: border-box; border-radius: 0px 0px 0.5rem 0.5rem; overflow: auto; padding-bottom: 12px; background-color: rgb(246, 248, 250);\\\"><div><br/></div><table style=\\\"font-size: inherit; box-sizing: border-box; caption-side: bottom; border-collapse: collapse; min-width: 100%;\\\"><colgroup><col style=\\\"width: 130px;\\\"></col></colgroup><tbody style=\\\"box-sizing:border-box;border-color:inherit;border-style:solid;border-width:0px;\\\"><tr style=\\\"box-sizing: border-box;\\\"><td style=\\\"box-sizing: border-box; width: 130px; padding: 8px; border: 1px solid;\\\"><div style=\\\"box-sizing: border-box; overflow-wrap: normal; font-size: 13.6px; word-break: normal; overflow: visible; margin: 0px;\\\"><span style=\\\"font-size: 13.6px; color: rgb(51, 51, 51); font-family: SFMono-Regular, Menlo, Monaco, Consolas, &quot;Liberation Mono&quot;, &quot;Courier New&quot;, monospace; font-weight: 400; line-height: 22.4px;\\\">vi pref.toml</span></div></td></tr></tbody></table><div><br/></div></div></div><div style=\\\"box-sizing: border-box; margin-top: 0px; margin-bottom: 16px;\\\"><span style=\\\"font-size: 16.48px; color: rgb(33, 37, 41); font-family: system-ui, -apple-system, &quot;Segoe UI&quot;, Roboto, &quot;Helvetica Neue&quot;, &quot;Noto Sans&quot;, &quot;Liberation Sans&quot;, Arial, sans-serif, &quot;Apple Color Emoji&quot;, &quot;Segoe UI Emoji&quot;, &quot;Segoe UI Symbol&quot;, &quot;Noto Color Emoji&quot;; font-weight: 400; line-height: 1.75;\\\">例如需要修改</span> <span style=\\\"font-size: 9pt; color: rgb(51, 51, 51); font-family: Monaco, Menlo, Consolas, &quot;Courier New&quot;, monospace, sans-serif; font-weight: 400; line-height: 1.75;\\\">managed_config_prefix</span> <span style=\\\"font-size: 16.48px; color: rgb(33, 37, 41); font-family: system-ui, -apple-system, &quot;Segoe UI&quot;, Roboto, &quot;Helvetica Neue&quot;, &quot;Noto Sans&quot;, &quot;Liberation Sans&quot;, Arial, sans-serif, &quot;Apple Color Emoji&quot;, &quot;Segoe UI Emoji&quot;, &quot;Segoe UI Symbol&quot;, &quot;Noto Color Emoji&quot;; font-weight: 400; line-height: 1.75;\\\">字段，输入</span> <span style=\\\"font-size: 9pt; color: rgb(51, 51, 51); font-family: Monaco, Menlo, Consolas, &quot;Courier New&quot;, monospace, sans-serif; font-weight: 400; line-height: 1.75;\\\">/</span> <span style=\\\"font-size: 16.48px; color: rgb(33, 37, 41); font-family: system-ui, -apple-system, &quot;Segoe UI&quot;, Roboto, &quot;Helvetica Neue&quot;, &quot;Noto Sans&quot;, &quot;Liberation Sans&quot;, Arial, sans-serif, &quot;Apple Color Emoji&quot;, &quot;Segoe UI Emoji&quot;, &quot;Segoe UI Symbol&quot;, &quot;Noto Color Emoji&quot;; font-weight: 400; line-height: 1.75;\\\">搜索</span> <span style=\\\"font-size: 9pt; color: rgb(51, 51, 51); font-family: Monaco, Menlo, Consolas, &quot;Courier New&quot;, monospace, sans-serif; font-weight: 400; line-height: 1.75;\\\">127.0.0.1</span> <span style=\\\"font-size: 16.48px; color: rgb(33, 37, 41); font-family: system-ui, -apple-system, &quot;Segoe UI&quot;, Roboto, &quot;Helvetica Neue&quot;, &quot;Noto Sans&quot;, &quot;Liberation Sans&quot;, Arial, sans-serif, &quot;Apple Color Emoji&quot;, &quot;Segoe UI Emoji&quot;, &quot;Segoe UI Symbol&quot;, &quot;Noto Color Emoji&quot;; font-weight: 400; line-height: 1.75;\\\">替换成自己的后端地址即可。</span></div><h2 style=\\\"border-bottom: 0.666667px solid rgb(243, 243, 243); padding-bottom: 0.3em; box-sizing: border-box; margin-top: 0px; margin-bottom: 20px; font-size: 32px;\\\"><span style=\\\"box-sizing: border-box; margin-right: 8px; font-size: 32px; color: rgb(33, 37, 41); font-family: Lato, &quot;Microsoft Yahei&quot;, sans-serif; font-weight: 500; line-height: 1.2;\\\">前端项目安装与配置</span><i style=\\\"box-sizing: border-box; user-select: none; -webkit-font-smoothing: antialiased; display: inline-block; text-rendering: auto;\\\"><a href=\\\"https://blog.iswiftai.com/posts/docker-subscription-converter/#%E5%89%8D%E7%AB%AF%E9%A1%B9%E7%9B%AE%E5%AE%89%E8%A3%85%E4%B8%8E%E9%85%8D%E7%BD%AE\\\" style=\\\"font-size: 80%; font-style: normal; color: rgba(33, 37, 41, 0.75); font-family: &quot;Font Awesome 6 Free&quot;; font-variant: normal; font-weight: 900; line-height: 1; text-decoration: underline;\\\">#</a></i></h2><h3 style=\\\"box-sizing: border-box; margin-top: 0px; margin-bottom: 20px; font-size: 28px;\\\"><span style=\\\"box-sizing: border-box; margin-right: 8px; font-size: 28px; color: rgb(33, 37, 41); font-family: Lato, &quot;Microsoft Yahei&quot;, sans-serif; font-weight: 500; line-height: 1.2;\\\">安装</span><i style=\\\"box-sizing: border-box; user-select: none; -webkit-font-smoothing: antialiased; display: inline-block; text-rendering: auto;\\\"><a href=\\\"https://blog.iswiftai.com/posts/docker-subscription-converter/#%E5%AE%89%E8%A3%85-1\\\" style=\\\"font-size: 80%; font-style: normal; color: rgba(33, 37, 41, 0.75); font-family: &quot;Font Awesome 6 Free&quot;; font-variant: normal; font-weight: 900; line-height: 1; text-decoration: underline;\\\">#</a></i></h3><div style=\\\"box-sizing: border-box; margin-top: 0px; margin-bottom: 16px;\\\"><span style=\\\"font-size: 16.48px; color: rgb(33, 37, 41); font-family: system-ui, -apple-system, &quot;Segoe UI&quot;, Roboto, &quot;Helvetica Neue&quot;, &quot;Noto Sans&quot;, &quot;Liberation Sans&quot;, Arial, sans-serif, &quot;Apple Color Emoji&quot;, &quot;Segoe UI Emoji&quot;, &quot;Segoe UI Symbol&quot;, &quot;Noto Color Emoji&quot;; font-weight: 400; line-height: 1.75;\\\">我们需要下载前端项目，然后修改相应的配置文件（后端接口），构建并运行项目。首先下载项目：</span></div><div style=\\\"box-sizing: border-box; background-color: rgb(246, 248, 250); margin: 8px 0px 1.2em; box-shadow: rgb(236, 236, 236) 0px 0px 0px 1px; border-radius: 8px;\\\"><div style=\\\"box-sizing:border-box;user-select:none;display:flex;justify-content:space-between;align-items:center;height:36px;margin-left:0px;margin-right:0px;\\\"><span style=\\\"box-sizing: border-box; margin-left: -0.9375rem;\\\"><i style=\\\"box-sizing: border-box; user-select: none; -webkit-font-smoothing: antialiased; display: inline-block; text-rendering: auto; text-align: center; width: 1.25em; font-size: 70%;\\\"><span style=\\\"font-size: 70%; text-align: center; font-style: normal; color: rgb(201, 200, 200); font-family: &quot;Font Awesome 6 Free&quot;; font-variant: normal; font-weight: 900; line-height: 1;\\\"></span></i><span style=\\\"font-size: 0.85rem; color: var(--code-header-text-color); font-family: system-ui, -apple-system, &quot;Segoe UI&quot;, Roboto, &quot;Helvetica Neue&quot;, &quot;Noto Sans&quot;, &quot;Liberation Sans&quot;, Arial, sans-serif, &quot;Apple Color Emoji&quot;, &quot;Segoe UI Emoji&quot;, &quot;Segoe UI Symbol&quot;, &quot;Noto Color Emoji&quot;; font-weight: 600; line-height: 36px;\\\">Shell</span></span></div><div style=\\\"box-sizing: border-box; border-radius: 0px 0px 0.5rem 0.5rem; overflow: auto; padding-bottom: 12px; background-color: rgb(246, 248, 250);\\\"><div><br/></div><table style=\\\"font-size: inherit; box-sizing: border-box; caption-side: bottom; border-collapse: collapse; min-width: 100%;\\\"><colgroup><col style=\\\"width: 130px;\\\"></col></colgroup><tbody style=\\\"box-sizing:border-box;border-color:inherit;border-style:solid;border-width:0px;\\\"><tr style=\\\"box-sizing: border-box;\\\"><td style=\\\"box-sizing: border-box; width: 130px; padding: 8px; border: 1px solid;\\\"><div style=\\\"box-sizing: border-box; overflow-wrap: normal; font-size: 13.6px; word-break: normal; overflow: visible; margin: 0px;\\\"><span style=\\\"font-size: 13.6px; color: rgb(51, 51, 51); font-family: SFMono-Regular, Menlo, Monaco, Consolas, &quot;Liberation Mono&quot;, &quot;Courier New&quot;, monospace; font-weight: 400; line-height: 22.4px;\\\">git clone https://github.com/CareyWang/sub-web.git</span></div></td></tr></tbody></table><div><br/></div></div></div><div style=\\\"box-sizing: border-box; margin-top: 0px; margin-bottom: 16px;\\\"><span style=\\\"font-size: 16.48px; color: rgb(33, 37, 41); font-family: system-ui, -apple-system, &quot;Segoe UI&quot;, Roboto, &quot;Helvetica Neue&quot;, &quot;Noto Sans&quot;, &quot;Liberation Sans&quot;, Arial, sans-serif, &quot;Apple Color Emoji&quot;, &quot;Segoe UI Emoji&quot;, &quot;Segoe UI Symbol&quot;, &quot;Noto Color Emoji&quot;; font-weight: 400; line-height: 1.75;\\\">然后进入该项目文件夹，修改</span> <span style=\\\"font-size: 9pt; color: rgb(51, 51, 51); font-family: Monaco, Menlo, Consolas, &quot;Courier New&quot;, monospace, sans-serif; font-weight: 400; line-height: 1.75;\\\">.env</span> <span style=\\\"font-size: 16.48px; color: rgb(33, 37, 41); font-family: system-ui, -apple-system, &quot;Segoe UI&quot;, Roboto, &quot;Helvetica Neue&quot;, &quot;Noto Sans&quot;, &quot;Liberation Sans&quot;, Arial, sans-serif, &quot;Apple Color Emoji&quot;, &quot;Segoe UI Emoji&quot;, &quot;Segoe UI Symbol&quot;, &quot;Noto Color Emoji&quot;; font-weight: 400; line-height: 1.75;\\\">文件的内容，即如下图所示：</span></div><div style=\\\"box-sizing: border-box; margin-top: 0px; margin-bottom: 16px;\\\"><a href=\\\"https://blog.iswiftai.com/assets/img/images/2021/07/24/sub-web.png\\\" style=\\\"box-sizing: border-box; display: inline-flex; user-select: none; margin-top: 8px; margin-bottom: 8px; cursor: zoom-in; position: relative; left: 50%; transform: translateX(-50%); font-size: 16.48px; color: rgba(0, 0, 0, 0); font-family: system-ui, -apple-system, &quot;Segoe UI&quot;, Roboto, &quot;Helvetica Neue&quot;, &quot;Noto Sans&quot;, &quot;Liberation Sans&quot;, Arial, sans-serif, &quot;Apple Color Emoji&quot;, &quot;Segoe UI Emoji&quot;, &quot;Segoe UI Symbol&quot;, &quot;Noto Color Emoji&quot;; font-weight: 400; line-height: 1.75; text-decoration: underline;\\\"><img src=\\\":/1148b9bef20d445a929c2632ecf79b70\\\" type=\\\"image/png\\\" data-filename=\\\"sub-web.png\\\" style=\\\"max-width:100%; height:448.031px; transition:all 0.35s ease-in-out 0s; animation:0.35s ease-in 0s 1 normal none running fade-in; border-radius:7px; box-sizing:border-box; vertical-align:middle;\\\" width=\\\"700\\\"/></a></div><div style=\\\"box-sizing: border-box; margin-top: 0px; margin-bottom: 16px;\\\"><span style=\\\"font-size: 16.48px; color: rgb(33, 37, 41); font-family: system-ui, -apple-system, &quot;Segoe UI&quot;, Roboto, &quot;Helvetica Neue&quot;, &quot;Noto Sans&quot;, &quot;Liberation Sans&quot;, Arial, sans-serif, &quot;Apple Color Emoji&quot;, &quot;Segoe UI Emoji&quot;, &quot;Segoe UI Symbol&quot;, &quot;Noto Color Emoji&quot;; font-weight: 400; line-height: 1.75;\\\">修改为你所配置的</span><span style=\\\"font-size: 16.48px; box-sizing: border-box; color: rgb(33, 37, 41); font-family: system-ui, -apple-system, &quot;Segoe UI&quot;, Roboto, &quot;Helvetica Neue&quot;, &quot;Noto Sans&quot;, &quot;Liberation Sans&quot;, Arial, sans-serif, &quot;Apple Color Emoji&quot;, &quot;Segoe UI Emoji&quot;, &quot;Segoe UI Symbol&quot;, &quot;Noto Color Emoji&quot;; font-weight: bolder; line-height: 1.75;\\\">后端项目地址</span><span style=\\\"font-size: 16.48px; color: rgb(33, 37, 41); font-family: system-ui, -apple-system, &quot;Segoe UI&quot;, Roboto, &quot;Helvetica Neue&quot;, &quot;Noto Sans&quot;, &quot;Liberation Sans&quot;, Arial, sans-serif, &quot;Apple Color Emoji&quot;, &quot;Segoe UI Emoji&quot;, &quot;Segoe UI Symbol&quot;, &quot;Noto Color Emoji&quot;; font-weight: 400; line-height: 1.75;\\\">。如果采用 IP 地址的方式，则后端项目地址应为</span> <span style=\\\"font-size: 9pt; color: rgb(51, 51, 51); font-family: Monaco, Menlo, Consolas, &quot;Courier New&quot;, monospace, sans-serif; font-weight: 400; line-height: 1.75;\\\">http://XXX.XXX.XXX.XXX:25500</span> <span style=\\\"font-size: 16.48px; color: rgb(33, 37, 41); font-family: system-ui, -apple-system, &quot;Segoe UI&quot;, Roboto, &quot;Helvetica Neue&quot;, &quot;Noto Sans&quot;, &quot;Liberation Sans&quot;, Arial, sans-serif, &quot;Apple Color Emoji&quot;, &quot;Segoe UI Emoji&quot;, &quot;Segoe UI Symbol&quot;, &quot;Noto Color Emoji&quot;; font-weight: 400; line-height: 1.75;\\\">(即 IP 地址 + 端口号的形式）。</span></div><div style=\\\"box-sizing: border-box; margin-top: 0px; margin-bottom: 16px;\\\"><span style=\\\"font-size: 16.48px; color: rgb(33, 37, 41); font-family: system-ui, -apple-system, &quot;Segoe UI&quot;, Roboto, &quot;Helvetica Neue&quot;, &quot;Noto Sans&quot;, &quot;Liberation Sans&quot;, Arial, sans-serif, &quot;Apple Color Emoji&quot;, &quot;Segoe UI Emoji&quot;, &quot;Segoe UI Symbol&quot;, &quot;Noto Color Emoji&quot;; font-weight: 400; line-height: 1.75;\\\">然后在</span><span style=\\\"font-size: 16.48px; box-sizing: border-box; color: rgb(33, 37, 41); font-family: system-ui, -apple-system, &quot;Segoe UI&quot;, Roboto, &quot;Helvetica Neue&quot;, &quot;Noto Sans&quot;, &quot;Liberation Sans&quot;, Arial, sans-serif, &quot;Apple Color Emoji&quot;, &quot;Segoe UI Emoji&quot;, &quot;Segoe UI Symbol&quot;, &quot;Noto Color Emoji&quot;; font-weight: bolder; line-height: 1.75;\\\">项目主目录</span><span style=\\\"font-size: 16.48px; color: rgb(33, 37, 41); font-family: system-ui, -apple-system, &quot;Segoe UI&quot;, Roboto, &quot;Helvetica Neue&quot;, &quot;Noto Sans&quot;, &quot;Liberation Sans&quot;, Arial, sans-serif, &quot;Apple Color Emoji&quot;, &quot;Segoe UI Emoji&quot;, &quot;Segoe UI Symbol&quot;, &quot;Noto Color Emoji&quot;; font-weight: 400; line-height: 1.75;\\\">下，运行以下命令构建并运行该项目：</span></div><div style=\\\"box-sizing: border-box; background-color: rgb(246, 248, 250); margin: 8px 0px 1.2em; box-shadow: rgb(236, 236, 236) 0px 0px 0px 1px; border-radius: 8px;\\\"><div style=\\\"box-sizing:border-box;user-select:none;display:flex;justify-content:space-between;align-items:center;height:36px;margin-left:0px;margin-right:0px;\\\"><span style=\\\"box-sizing: border-box; margin-left: -0.9375rem;\\\"><i style=\\\"box-sizing: border-box; user-select: none; -webkit-font-smoothing: antialiased; display: inline-block; text-rendering: auto; text-align: center; width: 1.25em; font-size: 70%;\\\"><span style=\\\"font-size: 70%; text-align: center; font-style: normal; color: rgb(201, 200, 200); font-family: &quot;Font Awesome 6 Free&quot;; font-variant: normal; font-weight: 900; line-height: 1;\\\"></span></i><span style=\\\"font-size: 0.85rem; color: var(--code-header-text-color); font-family: system-ui, -apple-system, &quot;Segoe UI&quot;, Roboto, &quot;Helvetica Neue&quot;, &quot;Noto Sans&quot;, &quot;Liberation Sans&quot;, Arial, sans-serif, &quot;Apple Color Emoji&quot;, &quot;Segoe UI Emoji&quot;, &quot;Segoe UI Symbol&quot;, &quot;Noto Color Emoji&quot;; font-weight: 600; line-height: 36px;\\\">Shell</span></span></div><div style=\\\"box-sizing: border-box; border-radius: 0px 0px 0.5rem 0.5rem; overflow: auto; padding-bottom: 12px; background-color: rgb(246, 248, 250);\\\"><div><br/></div><table style=\\\"font-size: inherit; box-sizing: border-box; caption-side: bottom; border-collapse: collapse; min-width: 100%;\\\"><colgroup><col style=\\\"width: 130px;\\\"></col></colgroup><tbody style=\\\"box-sizing:border-box;border-color:inherit;border-style:solid;border-width:0px;\\\"><tr style=\\\"box-sizing: border-box;\\\"><td style=\\\"box-sizing: border-box; width: 130px; padding: 8px; border: 1px solid;\\\"><div style=\\\"box-sizing: border-box; overflow-wrap: normal; font-size: 13.6px; word-break: normal; overflow: visible; margin: 0px;\\\"><div><span style=\\\"font-size: 13.6px; color: rgb(51, 51, 51); font-family: SFMono-Regular, Menlo, Monaco, Consolas, &quot;Liberation Mono&quot;, &quot;Courier New&quot;, monospace; font-weight: 400; line-height: 22.4px;\\\">docker build</span> <span style=\\\"box-sizing: border-box; font-size: 13.6px; color: rgb(17, 99, 41); font-family: SFMono-Regular, Menlo, Monaco, Consolas, &quot;Liberation Mono&quot;, &quot;Courier New&quot;, monospace; font-weight: 400; line-height: 22.4px;\\\">-t</span> <span style=\\\"font-size: 13.6px; color: rgb(51, 51, 51); font-family: SFMono-Regular, Menlo, Monaco, Consolas, &quot;Liberation Mono&quot;, &quot;Courier New&quot;, monospace; font-weight: 400; line-height: 22.4px;\\\">subweb-local:latest</span> <span style=\\\"box-sizing: border-box; font-size: 13.6px; color: rgb(149, 56, 0); font-family: SFMono-Regular, Menlo, Monaco, Consolas, &quot;Liberation Mono&quot;, &quot;Courier New&quot;, monospace; font-weight: 400; line-height: 22.4px;\\\">.</span></div><div><span style=\\\"font-size: 13.6px; color: rgb(51, 51, 51); font-family: SFMono-Regular, Menlo, Monaco, Consolas, &quot;Liberation Mono&quot;, &quot;Courier New&quot;, monospace; font-weight: 400; line-height: 22.4px;\\\">docker run</span> <span style=\\\"box-sizing: border-box; font-size: 13.6px; color: rgb(17, 99, 41); font-family: SFMono-Regular, Menlo, Monaco, Consolas, &quot;Liberation Mono&quot;, &quot;Courier New&quot;, monospace; font-weight: 400; line-height: 22.4px;\\\">-d</span> <span style=\\\"box-sizing: border-box; font-size: 13.6px; color: rgb(17, 99, 41); font-family: SFMono-Regular, Menlo, Monaco, Consolas, &quot;Liberation Mono&quot;, &quot;Courier New&quot;, monospace; font-weight: 400; line-height: 22.4px;\\\">-p</span> <span style=\\\"font-size: 13.6px; color: rgb(51, 51, 51); font-family: SFMono-Regular, Menlo, Monaco, Consolas, &quot;Liberation Mono&quot;, &quot;Courier New&quot;, monospace; font-weight: 400; line-height: 22.4px;\\\">58080:80</span> <span style=\\\"box-sizing: border-box; font-size: 13.6px; color: rgb(17, 99, 41); font-family: SFMono-Regular, Menlo, Monaco, Consolas, &quot;Liberation Mono&quot;, &quot;Courier New&quot;, monospace; font-weight: 400; line-height: 22.4px;\\\">--restart</span> <span style=\\\"font-size: 13.6px; color: rgb(51, 51, 51); font-family: SFMono-Regular, Menlo, Monaco, Consolas, &quot;Liberation Mono&quot;, &quot;Courier New&quot;, monospace; font-weight: 400; line-height: 22.4px;\\\">always</span> <span style=\\\"box-sizing: border-box; font-size: 13.6px; color: rgb(17, 99, 41); font-family: SFMono-Regular, Menlo, Monaco, Consolas, &quot;Liberation Mono&quot;, &quot;Courier New&quot;, monospace; font-weight: 400; line-height: 22.4px;\\\">--name</span> <span style=\\\"font-size: 13.6px; color: rgb(51, 51, 51); font-family: SFMono-Regular, Menlo, Monaco, Consolas, &quot;Liberation Mono&quot;, &quot;Courier New&quot;, monospace; font-weight: 400; line-height: 22.4px;\\\">subweb subweb-local:latest</span></div></div></td></tr></tbody></table><div><br/></div></div></div><div style=\\\"box-sizing: border-box; margin-top: 0px; margin-bottom: 16px;\\\"><span style=\\\"font-size: 16.48px; color: rgb(33, 37, 41); font-family: system-ui, -apple-system, &quot;Segoe UI&quot;, Roboto, &quot;Helvetica Neue&quot;, &quot;Noto Sans&quot;, &quot;Liberation Sans&quot;, Arial, sans-serif, &quot;Apple Color Emoji&quot;, &quot;Segoe UI Emoji&quot;, &quot;Segoe UI Symbol&quot;, &quot;Noto Color Emoji&quot;; font-weight: 400; line-height: 1.75;\\\">此时前端项目也就构建完成并成功运行了。上述</span> <span style=\\\"font-size: 9pt; color: rgb(51, 51, 51); font-family: Monaco, Menlo, Consolas, &quot;Courier New&quot;, monospace, sans-serif; font-weight: 400; line-height: 1.75;\\\">docker run</span> <span style=\\\"font-size: 16.48px; color: rgb(33, 37, 41); font-family: system-ui, -apple-system, &quot;Segoe UI&quot;, Roboto, &quot;Helvetica Neue&quot;, &quot;Noto Sans&quot;, &quot;Liberation Sans&quot;, Arial, sans-serif, &quot;Apple Color Emoji&quot;, &quot;Segoe UI Emoji&quot;, &quot;Segoe UI Symbol&quot;, &quot;Noto Color Emoji&quot;; font-weight: 400; line-height: 1.75;\\\">命令将容器的 80 端口映射到了主机的 58080 端口。因此可以直接通过 IP+端口号 的形式来访问前端了，端口号为 58080。</span></div><blockquote style=\\\"box-sizing: border-box; margin: 0px 0px 1rem; border-radius: 8px; position: relative; padding: 1rem 1rem 1rem 3rem; border-left: 0px; background-color: rgb(225, 245, 254);\\\"><div><span style=\\\"border-radius: 0.5rem; text-align: center; width: 3rem; position: absolute; left: 0.25rem; margin-top: 0.4rem; text-rendering: auto; -webkit-font-smoothing: antialiased; font-size: 16.48px; color: var(--prompt-info-icon-color); font-family: system-ui, -apple-system, &quot;Segoe UI&quot;, Roboto, &quot;Helvetica Neue&quot;, &quot;Noto Sans&quot;, &quot;Liberation Sans&quot;, Arial, sans-serif, &quot;Apple Color Emoji&quot;, &quot;Segoe UI Emoji&quot;, &quot;Segoe UI Symbol&quot;, &quot;Noto Color Emoji&quot;; font-variant: var(--fa-font-solid); font-weight: 400; line-height: 1.75;\\\"></span></div><div style=\\\"box-sizing: border-box; margin-top: 0px; margin-bottom: 0px;\\\"><span style=\\\"font-size: 16.48px; color: rgba(46, 46, 46, 0.77); font-family: system-ui, -apple-system, &quot;Segoe UI&quot;, Roboto, &quot;Helvetica Neue&quot;, &quot;Noto Sans&quot;, &quot;Liberation Sans&quot;, Arial, sans-serif, &quot;Apple Color Emoji&quot;, &quot;Segoe UI Emoji&quot;, &quot;Segoe UI Symbol&quot;, &quot;Noto Color Emoji&quot;; font-weight: 400; line-height: 1.75;\\\">注意，对于使用 IP地址+端口号 形式，如果无法访问前端项目，请检查在服务器提供商控制台检查相应的端口是否开启，前端的端口 58080。如果后端也采用 IP地址+端口号 的形式，也需要开启 25500 端口。</span></div></blockquote><h3 style=\\\"box-sizing: border-box; margin-top: 0px; margin-bottom: 20px; font-size: 28px;\\\"><span style=\\\"box-sizing: border-box; margin-right: 8px; font-size: 28px; color: rgb(33, 37, 41); font-family: Lato, &quot;Microsoft Yahei&quot;, sans-serif; font-weight: 500; line-height: 1.2;\\\">配置域名</span><i style=\\\"box-sizing: border-box; user-select: none; -webkit-font-smoothing: antialiased; display: inline-block; text-rendering: auto;\\\"><a href=\\\"https://blog.iswiftai.com/posts/docker-subscription-converter/#%E9%85%8D%E7%BD%AE%E5%9F%9F%E5%90%8D-1\\\" style=\\\"font-size: 80%; font-style: normal; color: rgba(33, 37, 41, 0.75); font-family: &quot;Font Awesome 6 Free&quot;; font-variant: normal; font-weight: 900; line-height: 1; text-decoration: underline;\\\">#</a></i></h3><div style=\\\"box-sizing: border-box; margin-top: 0px; margin-bottom: 16px;\\\"><span style=\\\"font-size: 16.48px; color: rgb(33, 37, 41); font-family: system-ui, -apple-system, &quot;Segoe UI&quot;, Roboto, &quot;Helvetica Neue&quot;, &quot;Noto Sans&quot;, &quot;Liberation Sans&quot;, Arial, sans-serif, &quot;Apple Color Emoji&quot;, &quot;Segoe UI Emoji&quot;, &quot;Segoe UI Symbol&quot;, &quot;Noto Color Emoji&quot;; font-weight: 400; line-height: 1.75;\\\">与后端项目一样，我们也可以为前端配置相应的域名，唯一所有区别的是的转发的端口为 58080。</span></div><h2 style=\\\"border-bottom: 0.666667px solid rgb(243, 243, 243); padding-bottom: 0.3em; box-sizing: border-box; margin-top: 0px; margin-bottom: 20px; font-size: 32px;\\\"><span style=\\\"box-sizing: border-box; margin-right: 8px; font-size: 32px; color: rgb(33, 37, 41); font-family: Lato, &quot;Microsoft Yahei&quot;, sans-serif; font-weight: 500; line-height: 1.2;\\\">大功告成</span><i style=\\\"box-sizing: border-box; user-select: none; -webkit-font-smoothing: antialiased; display: inline-block; text-rendering: auto;\\\"><a href=\\\"https://blog.iswiftai.com/posts/docker-subscription-converter/#%E5%A4%A7%E5%8A%9F%E5%91%8A%E6%88%90\\\" style=\\\"font-size: 80%; font-style: normal; color: rgba(33, 37, 41, 0.75); font-family: &quot;Font Awesome 6 Free&quot;; font-variant: normal; font-weight: 900; line-height: 1; text-decoration: underline;\\\">#</a></i></h2><div style=\\\"box-sizing: border-box; margin-top: 0px; margin-bottom: 16px;\\\"><span style=\\\"font-size: 16.48px; color: rgb(33, 37, 41); font-family: system-ui, -apple-system, &quot;Segoe UI&quot;, Roboto, &quot;Helvetica Neue&quot;, &quot;Noto Sans&quot;, &quot;Liberation Sans&quot;, Arial, sans-serif, &quot;Apple Color Emoji&quot;, &quot;Segoe UI Emoji&quot;, &quot;Segoe UI Symbol&quot;, &quot;Noto Color Emoji&quot;; font-weight: 400; line-height: 1.75;\\\">此时访问前端地址，我们就可以使用自己搭建的订阅转换服务器了！</span></div><div style=\\\"box-sizing: border-box; margin-top: 0px; margin-bottom: 16px;\\\"><a href=\\\"https://blog.iswiftai.com/assets/img/images/2021/07/24/result.png\\\" style=\\\"box-sizing: border-box; display: inline-flex; user-select: none; margin-top: 8px; margin-bottom: 8px; cursor: zoom-in; position: relative; left: 50%; transform: translateX(-50%); font-size: 16.48px; color: rgba(0, 0, 0, 0); font-family: system-ui, -apple-system, &quot;Segoe UI&quot;, Roboto, &quot;Helvetica Neue&quot;, &quot;Noto Sans&quot;, &quot;Liberation Sans&quot;, Arial, sans-serif, &quot;Apple Color Emoji&quot;, &quot;Segoe UI Emoji&quot;, &quot;Segoe UI Symbol&quot;, &quot;Noto Color Emoji&quot;; font-weight: 400; line-height: 1.75; text-decoration: underline;\\\"><img src=\\\":/99b32cf5be4349599d83d71be67a7a69\\\" type=\\\"image/png\\\" data-filename=\\\"result.png\\\" style=\\\"max-width:100%;height:auto;transition:all 0.35s ease-in-out 0s;border-radius:7px;box-sizing:border-box;vertical-align:middle;background:rgba(0, 0, 0, 0) radial-gradient(circle, rgb(255, 255, 255) 0%, rgb(239, 239, 239) 100%) repeat scroll 0% 0% / auto padding-box border-box;\\\" width=\\\"60\\\"/></a></div></div><div style=\\\"box-sizing: border-box; margin-top: 96px; border-bottom: 0.666667px double rgb(243, 243, 243); font-size: 13.6px;\\\"><div style=\\\"box-sizing:border-box;font-size:13.6px;margin-bottom:16px;\\\"><i style=\\\"box-sizing: border-box; user-select: none; -webkit-font-smoothing: antialiased; display: inline-block; text-rendering: auto; text-align: center; width: 1.25em; margin-right: 4px;\\\"><span style=\\\"text-align: center; font-size: 13.6px; font-style: normal; color: rgba(33, 37, 41, 0.75); font-family: &quot;Font Awesome 6 Free&quot;; font-variant: normal; font-weight: 400; line-height: 1;\\\"></span></i> <a href=\\\"https://blog.iswiftai.com/categories/develop/\\\" style=\\\"box-sizing: border-box; border-bottom: 0.666667px solid rgb(222, 226, 230); font-size: 13.6px; color: rgb(13, 110, 253); font-family: system-ui, -apple-system, &quot;Segoe UI&quot;, Roboto, &quot;Helvetica Neue&quot;, &quot;Noto Sans&quot;, &quot;Liberation Sans&quot;, Arial, sans-serif, &quot;Apple Color Emoji&quot;, &quot;Segoe UI Emoji&quot;, &quot;Segoe UI Symbol&quot;, &quot;Noto Color Emoji&quot;; font-weight: 400; line-height: 1.75; text-decoration: underline;\\\">Develop</a><span style=\\\"font-size: 13.6px; color: rgba(33, 37, 41, 0.75); font-family: system-ui, -apple-system, &quot;Segoe UI&quot;, Roboto, &quot;Helvetica Neue&quot;, &quot;Noto Sans&quot;, &quot;Liberation Sans&quot;, Arial, sans-serif, &quot;Apple Color Emoji&quot;, &quot;Segoe UI Emoji&quot;, &quot;Segoe UI Symbol&quot;, &quot;Noto Color Emoji&quot;; font-weight: 400; line-height: 1.75;\\\">,</span> <a href=\\\"https://blog.iswiftai.com/categories/docker/\\\" style=\\\"box-sizing: border-box; border-bottom: 0.666667px solid rgb(222, 226, 230); font-size: 13.6px; color: rgb(13, 110, 253); font-family: system-ui, -apple-system, &quot;Segoe UI&quot;, Roboto, &quot;Helvetica Neue&quot;, &quot;Noto Sans&quot;, &quot;Liberation Sans&quot;, Arial, sans-serif, &quot;Apple Color Emoji&quot;, &quot;Segoe UI Emoji&quot;, &quot;Segoe UI Symbol&quot;, &quot;Noto Color Emoji&quot;; font-weight: 400; line-height: 1.75; text-decoration: underline;\\\">Docker</a></div><div style=\\\"box-sizing: border-box;\\\"><i style=\\\"box-sizing: border-box; -webkit-font-smoothing: antialiased; display: inline-block; text-rendering: auto; text-align: center; width: 1.25em; margin-right: 4px;\\\"><span style=\\\"text-align: center; font-size: 13.6px; font-style: normal; color: rgba(33, 37, 41, 0.75); font-family: &quot;Font Awesome 6 Free&quot;; font-variant: normal; font-weight: 900; line-height: 1;\\\"></span></i> <a href=\\\"https://blog.iswiftai.com/tags/docker/\\\" style=\\\"box-sizing: border-box; display: inline-block; min-width: 32px; text-align: center; border-radius: 8px; border: 0.666667px solid rgb(233, 236, 239); padding: 0px 0.4rem; margin-right: 3.2px; font-size: 13.6px; color: rgb(117, 117, 117); font-family: system-ui, -apple-system, &quot;Segoe UI&quot;, Roboto, &quot;Helvetica Neue&quot;, &quot;Noto Sans&quot;, &quot;Liberation Sans&quot;, Arial, sans-serif, &quot;Apple Color Emoji&quot;, &quot;Segoe UI Emoji&quot;, &quot;Segoe UI Symbol&quot;, &quot;Noto Color Emoji&quot;; font-weight: 400; line-height: 20.8px; text-decoration: underline;\\\">docker</a> <a href=\\\"https://blog.iswiftai.com/tags/subscription-converter/\\\" style=\\\"box-sizing: border-box; display: inline-block; min-width: 32px; text-align: center; border-radius: 8px; border: 0.666667px solid rgb(233, 236, 239); padding: 0px 0.4rem; margin-right: 3.2px; font-size: 13.6px; color: rgb(117, 117, 117); font-family: system-ui, -apple-system, &quot;Segoe UI&quot;, Roboto, &quot;Helvetica Neue&quot;, &quot;Noto Sans&quot;, &quot;Liberation Sans&quot;, Arial, sans-serif, &quot;Apple Color Emoji&quot;, &quot;Segoe UI Emoji&quot;, &quot;Segoe UI Symbol&quot;, &quot;Noto Color Emoji&quot;; font-weight: 400; line-height: 20.8px; text-decoration: underline;\\\">subscription converter</a> <a href=\\\"https://blog.iswiftai.com/tags/clash/\\\" style=\\\"box-sizing: border-box; display: inline-block; min-width: 32px; text-align: center; border-radius: 8px; border: 0.666667px solid rgb(233, 236, 239); padding: 0px 0.4rem; font-size: 13.6px; color: rgb(117, 117, 117); font-family: system-ui, -apple-system, &quot;Segoe UI&quot;, Roboto, &quot;Helvetica Neue&quot;, &quot;Noto Sans&quot;, &quot;Liberation Sans&quot;, Arial, sans-serif, &quot;Apple Color Emoji&quot;, &quot;Segoe UI Emoji&quot;, &quot;Segoe UI Symbol&quot;, &quot;Noto Color Emoji&quot;; font-weight: 400; line-height: 20.8px; text-decoration: underline;\\\">clash</a></div><div style=\\\"box-sizing:border-box;display:flex;justify-content:space-between;align-items:center;margin-top:48px;padding-bottom:8px;\\\"><div style=\\\"box-sizing: border-box;\\\"><span style=\\\"font-size: 13.6px; color: rgba(33, 37, 41, 0.75); font-family: system-ui, -apple-system, &quot;Segoe UI&quot;, Roboto, &quot;Helvetica Neue&quot;, &quot;Noto Sans&quot;, &quot;Liberation Sans&quot;, Arial, sans-serif, &quot;Apple Color Emoji&quot;, &quot;Segoe UI Emoji&quot;, &quot;Segoe UI Symbol&quot;, &quot;Noto Color Emoji&quot;; font-weight: 400; line-height: 19.2px;\\\">本文由作者按照</span> <a href=\\\"https://creativecommons.org/licenses/by/4.0/\\\" style=\\\"box-sizing: border-box; font-size: 13.6px; font-family: system-ui, -apple-system, &quot;Segoe UI&quot;, Roboto, &quot;Helvetica Neue&quot;, &quot;Noto Sans&quot;, &quot;Liberation Sans&quot;, Arial, sans-serif, &quot;Apple Color Emoji&quot;, &quot;Segoe UI Emoji&quot;, &quot;Segoe UI Symbol&quot;, &quot;Noto Color Emoji&quot;; font-weight: 600; line-height: 19.2px; text-decoration: underline;\\\">CC BY 4.0</a> <span style=\\\"font-size: 13.6px; color: rgba(33, 37, 41, 0.75); font-family: system-ui, -apple-system, &quot;Segoe UI&quot;, Roboto, &quot;Helvetica Neue&quot;, &quot;Noto Sans&quot;, &quot;Liberation Sans&quot;, Arial, sans-serif, &quot;Apple Color Emoji&quot;, &quot;Segoe UI Emoji&quot;, &quot;Segoe UI Symbol&quot;, &quot;Noto Color Emoji&quot;; font-weight: 400; line-height: 19.2px;\\\">进行授权</span></div><div style=\\\"box-sizing:border-box;vertical-align:middle;user-select:none;display:flex;align-items:center;\\\"><span style=\\\"box-sizing: border-box; font-size: inherit; margin-right: 4px; color: rgba(33, 37, 41, 0.75); font-family: system-ui, -apple-system, &quot;Segoe UI&quot;, Roboto, &quot;Helvetica Neue&quot;, &quot;Noto Sans&quot;, &quot;Liberation Sans&quot;, Arial, sans-serif, &quot;Apple Color Emoji&quot;, &quot;Segoe UI Emoji&quot;, &quot;Segoe UI Symbol&quot;, &quot;Noto Color Emoji&quot;; font-weight: 400; line-height: 1.75;\\\">分享<span style=\\\"font-size: inherit; color: rgba(33, 37, 41, 0.75); font-family: system-ui, -apple-system, &quot;Segoe UI&quot;, Roboto, &quot;Helvetica Neue&quot;, &quot;Noto Sans&quot;, &quot;Liberation Sans&quot;, Arial, sans-serif, &quot;Apple Color Emoji&quot;, &quot;Segoe UI Emoji&quot;, &quot;Segoe UI Symbol&quot;, &quot;Noto Color Emoji&quot;; font-weight: 400; line-height: 1.75;\\\">:</span></span> <i style=\\\"box-sizing: border-box; -webkit-font-smoothing: antialiased; display: inline-block; text-rendering: auto; text-align: center; width: 1.25em;\\\"><a href=\\\"https://telegram.me/share?text=%E8%AE%A2%E9%98%85%E8%BD%AC%E6%8D%A2%E6%9C%8D%E5%8A%A1%E7%9A%84%E6%90%AD%E5%BB%BA%20(Docker)%20-%20CodeSwift&amp;url=https%3A%2F%2Fblog.iswiftai.com%2Fposts%2Fdocker-subscription-converter%2F\\\" style=\\\"font-size: 19.2px; text-align: center; font-style: normal; color: rgb(39, 159, 217); font-family: &quot;Font Awesome 6 Brands&quot;; font-variant: normal; font-weight: 400; line-height: 1; text-decoration: underline;\\\"></a></i></div></div></div></div></div></div></div></div></div></div><div><br/></div></span>\\\n</div></body></html>\\u0000\"]],\"start1\":0,\"start2\":0,\"length1\":0,\"length2\":148754}]"
metadata_diff: {"new":{"id":"ed2f289a9dc64cdeb78a0a828904074d","parent_id":"061de1401cfc4cfaadf6e74e015970e9","latitude":"0.00000000","longitude":"0.00000000","altitude":"0.0000","author":"","source_url":"","is_todo":0,"todo_due":0,"todo_completed":0,"source":"joplin-desktop","source_application":"net.cozic.joplin-desktop","application_data":"","order":1764345890590,"markup_language":2,"is_shared":0,"share_id":"","conflict_original_id":"","master_key_id":"","user_data":"","deleted_time":0},"deleted":[]}
encryption_cipher_text: 
encryption_applied: 0
updated_time: 2025-11-28T16:20:27.395Z
created_time: 2025-11-28T16:20:27.395Z
type_: 13