{"id":39694,"date":"2025-05-25T07:31:12","date_gmt":"2025-05-24T23:31:12","guid":{"rendered":"https:\/\/www.wsisp.com\/helps\/39694.html"},"modified":"2025-05-25T07:31:12","modified_gmt":"2025-05-24T23:31:12","slug":"windows%e7%89%88docker%e9%83%a8%e7%bd%b2%e7%9a%84gitlab%e5%a4%87%e4%bb%bd%e5%90%8e%e8%bf%81%e7%a7%bb%e5%88%b0%e5%8f%a6%e4%b8%80%e4%b8%aa%e6%9c%8d%e5%8a%a1%e5%99%a8","status":"publish","type":"post","link":"https:\/\/www.wsisp.com\/helps\/39694.html","title":{"rendered":"windows\u7248docker\u90e8\u7f72\u7684gitlab,\u5907\u4efd\u540e\u8fc1\u79fb\u5230\u53e6\u4e00\u4e2a\u670d\u52a1\u5668"},"content":{"rendered":"<h2>\u5b66\u4e60\u76ee\u6807&#xff1a;<\/h2>\n<p>windows\u7248docker\u90e8\u7f72\u7684gitlab,\u5907\u4efd\u540e\u8fc1\u79fb\u5230\u53e6\u4e00\u4e2a\u670d\u52a1\u5668<\/p>\n<hr \/>\n<h2>\u5b66\u4e60\u5185\u5bb9&#xff1a;<\/h2>\n<h4>Docker \u90e8\u7f72\u7684 GitLab \u5907\u4efd<\/h4>\n<p>\u5982\u679c\u4f60\u4f7f\u7528 Docker \u90e8\u7f72\u7684 GitLab&#xff0c;\u9700\u8981\u8fdb\u5165\u5230 GitLab \u5bb9\u5668\u5185\u90e8\u6267\u884c\u5907\u4efd\u547d\u4ee4\u3002<\/p>\n<h5>1. \u8fdb\u5165 GitLab \u5bb9\u5668<\/h5>\n<p>\u4f7f\u7528\u4ee5\u4e0b\u547d\u4ee4\u8fdb\u5165\u6b63\u5728\u8fd0\u884c\u7684 GitLab \u5bb9\u5668&#xff1a;<\/p>\n<p><span class=\"token function\">docker<\/span> <span class=\"token builtin class-name\">exec<\/span> <span class=\"token parameter variable\">-it<\/span> <span class=\"token operator\">&lt;<\/span>container_name_or_id<span class=\"token operator\">&gt;<\/span> <span class=\"token function\">bash<\/span><\/p>\n<p>&lt;container_name_or_id&gt; \u662f\u4f60 GitLab \u5bb9\u5668\u7684\u540d\u79f0\u6216\u8005 ID&#xff0c;\u4f60\u53ef\u4ee5\u901a\u8fc7 docker ps \u547d\u4ee4\u67e5\u770b\u3002<\/p>\n<h5>2. \u6267\u884c\u5907\u4efd\u547d\u4ee4<\/h5>\n<p>\u8fdb\u5165\u5bb9\u5668\u540e&#xff0c;\u6267\u884c\u4e0e\u539f\u751f\u90e8\u7f72\u76f8\u540c\u7684\u5907\u4efd\u547d\u4ee4&#xff1a;<\/p>\n<p>gitlab-backup create<\/p>\n<p>\u540c\u6837&#xff0c;\u5907\u4efd\u6587\u4ef6\u4f1a\u751f\u6210\u5728\u5bb9\u5668\u5185\u7684 \/var\/opt\/gitlab\/backups \u76ee\u5f55&#xff1b;\u6587\u4ef6\u540d\u7c7b\u4f3c 1691234567_2024_07_20_16.1.0_gitlab_backup.tar<\/p>\n<h5>3. \u5c06\u5907\u4efd\u6587\u4ef6\u4ece\u5bb9\u5668\u590d\u5236\u5230\u5bbf\u4e3b\u673a<\/h5>\n<p>\u4e3a\u4e86\u65b9\u4fbf\u7ba1\u7406\u548c\u5b58\u50a8&#xff0c;\u4f60\u53ef\u4ee5\u5c06\u751f\u6210\u7684\u5907\u4efd\u6587\u4ef6\u4ece\u5bb9\u5668\u590d\u5236\u5230\u5bbf\u4e3b\u673a&#xff0c;\u4f7f\u7528\u4ee5\u4e0b\u547d\u4ee4&#xff1a;<\/p>\n<p><span class=\"token function\">docker<\/span> <span class=\"token function\">cp<\/span> <span class=\"token operator\">&lt;<\/span>container_name_or_id<span class=\"token operator\">&gt;<\/span>:\/var\/opt\/gitlab\/backups\/<span class=\"token operator\">&lt;<\/span>backup_file_name<span class=\"token operator\">&gt;<\/span> \/path\/on\/host<\/p>\n<p>&lt;backup_file_name&gt; \u662f\u4f60\u5728\u5bb9\u5668\u5185\u751f\u6210\u7684\u5907\u4efd\u6587\u4ef6\u540d&#xff0c; \/path\/on\/host \u662f\u5bbf\u4e3b\u673a\u4e0a\u8981\u5b58\u653e\u5907\u4efd\u6587\u4ef6\u7684\u8def\u5f84\u3002<\/p>\n<h3>\u4ee5\u4e0b\u662f\u5728 Windows \u7248 Docker \u4e0a&#xff0c;\u5c06 GitLab \u5907\u4efd\u6570\u636e\u52a0\u8f7d\u5230\u65b0\u7684 GitLab \u5bb9\u5668\u7684\u8be6\u7ec6\u6559\u7a0b&#xff1a;<\/h3>\n<h4>\u524d\u63d0\u6761\u4ef6<\/h4>\n<ul>\n<li>\u5df2\u7ecf\u5728\u65e7\u7684 GitLab Docker \u5bb9\u5668\u4e2d\u5b8c\u6210\u4e86\u6570\u636e\u5907\u4efd&#xff0c;\u5e76\u4e14\u5907\u4efd\u6587\u4ef6\u53ef\u7528\u3002<\/li>\n<li>\u5b89\u88c5\u4e86 Windows \u7248 Docker\u3002<\/li>\n<\/ul>\n<h4>\u6b65\u9aa4<\/h4>\n<h5>1. \u62c9\u53d6 GitLab Docker \u955c\u50cf<\/h5>\n<p>\u9996\u5148&#xff0c;\u4f60\u9700\u8981\u4ece Docker Hub \u62c9\u53d6\u6700\u65b0\u7684 GitLab \u955c\u50cf\u3002\u6253\u5f00 PowerShell \u6216\u547d\u4ee4\u63d0\u793a\u7b26&#xff0c;\u8fd0\u884c\u4ee5\u4e0b\u547d\u4ee4&#xff1a;<\/p>\n<p>docker pull gitlab\/gitlab-ce:latest<\/p>\n<h5>2. \u521b\u5efa\u65b0\u7684 GitLab \u5bb9\u5668<\/h5>\n<p>\u5728\u521b\u5efa\u5bb9\u5668\u4e4b\u524d&#xff0c;\u4f60\u9700\u8981\u51c6\u5907\u597d\u6570\u636e\u5b58\u50a8\u76ee\u5f55\u3002\u5728 Windows \u4e0a&#xff0c;\u4f60\u53ef\u4ee5\u9009\u62e9\u4e00\u4e2a\u5408\u9002\u7684\u672c\u5730\u76ee\u5f55&#xff0c;\u4f8b\u5982 C:\\\\gitlab-data\u3002\u5c06\u65e7\u670d\u52a1\u5668gitlab\u6302\u8f7d\u7684\u6587\u4ef6\u590d\u5236\u5230\u5bf9\u5e94\u672c\u5730\u76ee\u5f55\u3002\u7136\u540e&#xff0c;\u8fd0\u884c\u4ee5\u4e0b\u547d\u4ee4\u521b\u5efa\u5e76\u542f\u52a8\u4e00\u4e2a\u65b0\u7684 GitLab \u5bb9\u5668&#xff1a;<\/p>\n<p>docker run <span class=\"token operator\">&#8211;<\/span>d \\\\<br \/>\n  <span class=\"token operator\">&#8212;<\/span>hostname gitlab<span class=\"token punctuation\">.<\/span>example<span class=\"token punctuation\">.<\/span>com \\\\<br \/>\n  <span class=\"token operator\">&#8211;<\/span>p 80:80 <span class=\"token operator\">&#8211;<\/span>p 443:443 <span class=\"token operator\">&#8211;<\/span>p 22:22 \\\\<br \/>\n  <span class=\"token operator\">&#8212;<\/span>name gitlab \\\\<br \/>\n  <span class=\"token operator\">&#8212;<\/span>restart always \\\\<br \/>\n  <span class=\"token operator\">&#8211;<\/span>v C:\\\\gitlab-<span class=\"token keyword\">data<\/span>\\\\config:<span class=\"token operator\">\/<\/span>etc\/gitlab \\\\<br \/>\n  <span class=\"token operator\">&#8211;<\/span>v C:\\\\gitlab-<span class=\"token keyword\">data<\/span>\\\\logs:<span class=\"token operator\">\/<\/span><span class=\"token keyword\">var<\/span><span class=\"token operator\">\/<\/span>log\/gitlab \\\\<br \/>\n  <span class=\"token operator\">&#8211;<\/span>v C:\\\\gitlab-<span class=\"token keyword\">data<\/span>\\\\<span class=\"token keyword\">data<\/span>:<span class=\"token operator\">\/<\/span><span class=\"token keyword\">var<\/span><span class=\"token operator\">\/<\/span>opt\/gitlab \\\\<br \/>\n  gitlab\/gitlab-ce:latest<\/p>\n<ul>\n<li>&#8211;hostname&#xff1a;\u6307\u5b9a GitLab \u7684\u4e3b\u673a\u540d\u3002<\/li>\n<li>-p&#xff1a;\u6620\u5c04\u5bb9\u5668\u7684\u7aef\u53e3\u5230\u4e3b\u673a\u7684\u7aef\u53e3\u3002<\/li>\n<li>&#8211;name&#xff1a;\u6307\u5b9a\u5bb9\u5668\u7684\u540d\u79f0\u3002<\/li>\n<li>&#8211;restart always&#xff1a;\u8bbe\u7f6e\u5bb9\u5668\u5728 Docker \u542f\u52a8\u65f6\u81ea\u52a8\u542f\u52a8\u3002<\/li>\n<li>-v&#xff1a;\u6302\u8f7d\u672c\u5730\u76ee\u5f55\u5230\u5bb9\u5668\u5185\u7684\u6307\u5b9a\u76ee\u5f55\u3002<\/li>\n<\/ul>\n<h5>3. \u7b49\u5f85 GitLab \u5bb9\u5668\u521d\u59cb\u5316\u5b8c\u6210<\/h5>\n<p>\u65b0\u5bb9\u5668\u542f\u52a8\u540e&#xff0c;GitLab \u9700\u8981\u4e00\u4e9b\u65f6\u95f4\u6765\u521d\u59cb\u5316\u3002\u4f60\u53ef\u4ee5\u901a\u8fc7\u67e5\u770b\u5bb9\u5668\u65e5\u5fd7\u6765\u68c0\u67e5\u521d\u59cb\u5316\u72b6\u6001&#xff1a;<\/p>\n<p>docker logs <span class=\"token operator\">&#8211;<\/span>f gitlab<\/p>\n<p>\u5f53\u770b\u5230\u7c7b\u4f3c\u4ee5\u4e0b\u4fe1\u606f\u65f6&#xff0c;\u8868\u793a GitLab \u5df2\u7ecf\u521d\u59cb\u5316\u5b8c\u6210&#xff1a;<\/p>\n<p>&#061;&#061;&gt; \/var\/log\/gitlab\/gitlab-rails\/production.log &lt;&#061;&#061;<br \/>\nStarted GET &#034;\/&#034; for 172.17.0.1 at 2025-05-16 08:14:30 &#043;0000<\/p>\n<h5>4. \u590d\u5236\u5907\u4efd\u6587\u4ef6\u5230\u5bb9\u5668\u5185<\/h5>\n<p>\u5c06\u4e4b\u524d\u5907\u4efd\u7684 GitLab \u6570\u636e\u6587\u4ef6\u590d\u5236\u5230\u65b0\u5bb9\u5668\u5185\u7684 \/var\/opt\/gitlab\/backups \u76ee\u5f55\u3002\u5047\u8bbe\u5907\u4efd\u6587\u4ef6\u540d\u4e3a 1234567890_2025_05_16_15.0.0_gitlab_backup.tar&#xff0c;\u4f60\u53ef\u4ee5\u4f7f\u7528\u4ee5\u4e0b\u547d\u4ee4\u8fdb\u884c\u590d\u5236&#xff1a;<\/p>\n<p>docker <span class=\"token function\">cp<\/span> 1234567890_2025_05_16_15<span class=\"token punctuation\">.<\/span>0<span class=\"token punctuation\">.<\/span>0_gitlab_backup<span class=\"token punctuation\">.<\/span>tar gitlab:<span class=\"token operator\">\/<\/span><span class=\"token keyword\">var<\/span><span class=\"token operator\">\/<\/span>opt\/gitlab\/backups<\/p>\n<h5>5. \u6062\u590d\u5907\u4efd\u6570\u636e<\/h5>\n<p>\u8fdb\u5165 GitLab \u5bb9\u5668\u7684 shell&#xff1a;<\/p>\n<p>docker exec <span class=\"token operator\">&#8211;<\/span>it gitlab <span class=\"token operator\">\/<\/span>bin\/bash<\/p>\n<p>\u5728\u5bb9\u5668\u5185&#xff0c;\u4f7f\u7528\u4ee5\u4e0b\u547d\u4ee4\u6062\u590d\u5907\u4efd\u6570\u636e&#xff1a;<\/p>\n<p>gitlab-backup restore <span class=\"token assign-left variable\">BACKUP<\/span><span class=\"token operator\">&#061;<\/span>1234567890_2025_05_16_15.0.0<\/p>\n<p>\u6ce8\u610f&#xff1a;BACKUP \u53c2\u6570\u7684\u503c\u4e3a\u5907\u4efd\u6587\u4ef6\u7684\u524d\u7f00&#xff0c;\u5373\u53bb\u6389 .tar \u540e\u7684\u90e8\u5206\u3002<\/p>\n<p>\u5728\u6062\u590d\u8fc7\u7a0b\u4e2d&#xff0c;\u4f60\u53ef\u80fd\u9700\u8981\u8f93\u5165\u4e00\u4e9b\u786e\u8ba4\u4fe1\u606f&#xff0c;\u6309\u7167\u63d0\u793a\u64cd\u4f5c\u5373\u53ef\u3002\u6062\u590d\u5b8c\u6210\u540e&#xff0c;\u9000\u51fa\u5bb9\u5668\u7684 shell&#xff1a;<\/p>\n<p><span class=\"token builtin class-name\">exit<\/span><\/p>\n<h5>6. \u91cd\u542f GitLab \u5bb9\u5668<\/h5>\n<p>\u4e3a\u4e86\u4f7f\u6062\u590d\u7684\u6570\u636e\u751f\u6548&#xff0c;\u4f60\u9700\u8981\u91cd\u542f GitLab \u5bb9\u5668&#xff1a;<\/p>\n<p>docker restart gitlab<\/p>\n<h5>7. \u9a8c\u8bc1\u6062\u590d\u7ed3\u679c<\/h5>\n<p>\u7b49\u5f85\u5bb9\u5668\u91cd\u542f\u5b8c\u6210\u540e&#xff0c;\u6253\u5f00\u6d4f\u89c8\u5668&#xff0c;\u8bbf\u95ee http:\/\/localhost&#xff08;\u5982\u679c\u4f60\u4f7f\u7528\u7684\u662f\u9ed8\u8ba4\u7aef\u53e3&#xff09;&#xff0c;\u767b\u5f55 GitLab \u5e76\u68c0\u67e5\u9879\u76ee\u3001\u7528\u6237\u7b49\u6570\u636e\u662f\u5426\u5df2\u7ecf\u6062\u590d\u3002<\/p>\n<h4>\u6ce8\u610f\u4e8b\u9879<\/h4>\n<ul>\n<li>\u786e\u4fdd\u5907\u4efd\u6587\u4ef6\u7684\u7248\u672c\u4e0e\u65b0\u5bb9\u5668\u4e2d GitLab \u7684\u7248\u672c\u517c\u5bb9\u3002\u5982\u679c\u7248\u672c\u4e0d\u517c\u5bb9&#xff0c;\u53ef\u80fd\u4f1a\u5bfc\u81f4\u6062\u590d\u5931\u8d25\u3002<\/li>\n<li>\u5728\u6062\u590d\u8fc7\u7a0b\u4e2d&#xff0c;\u53ef\u80fd\u4f1a\u9047\u5230\u4e00\u4e9b\u6743\u9650\u95ee\u9898\u3002\u5982\u679c\u9047\u5230\u95ee\u9898&#xff0c;\u53ef\u4ee5\u5c1d\u8bd5\u4fee\u6539\u5907\u4efd\u6587\u4ef6\u7684\u6743\u9650\u6216\u4f7f\u7528 root \u7528\u6237\u6267\u884c\u6062\u590d\u547d\u4ee4\u3002<\/li>\n<\/ul>\n<hr \/>\n","protected":false},"excerpt":{"rendered":"<p>\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb837\u6b21\uff0c\u70b9\u8d5e19\u6b21\uff0c\u6536\u85cf19\u6b21\u3002windows\u7248docker\u90e8\u7f72\u7684gitlab \u5907\u4efd\u540e\u8fc1\u79fb\u5230\u53e6\u4e00\u4e2a\u670d\u52a1\u5668<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[27,273,149,3587,44],"topic":[],"class_list":["post-39694","post","type-post","status-publish","format-standard","hentry","category-server","tag-docker","tag-gitlab","tag-windows","tag-3587","tag-44"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>windows\u7248docker\u90e8\u7f72\u7684gitlab,\u5907\u4efd\u540e\u8fc1\u79fb\u5230\u53e6\u4e00\u4e2a\u670d\u52a1\u5668 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.wsisp.com\/helps\/39694.html\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"windows\u7248docker\u90e8\u7f72\u7684gitlab,\u5907\u4efd\u540e\u8fc1\u79fb\u5230\u53e6\u4e00\u4e2a\u670d\u52a1\u5668 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"og:description\" content=\"\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb837\u6b21\uff0c\u70b9\u8d5e19\u6b21\uff0c\u6536\u85cf19\u6b21\u3002windows\u7248docker\u90e8\u7f72\u7684gitlab \u5907\u4efd\u540e\u8fc1\u79fb\u5230\u53e6\u4e00\u4e2a\u670d\u52a1\u5668\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wsisp.com\/helps\/39694.html\" \/>\n<meta property=\"og:site_name\" content=\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"article:published_time\" content=\"2025-05-24T23:31:12+00:00\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/39694.html\",\"url\":\"https:\/\/www.wsisp.com\/helps\/39694.html\",\"name\":\"windows\u7248docker\u90e8\u7f72\u7684gitlab,\u5907\u4efd\u540e\u8fc1\u79fb\u5230\u53e6\u4e00\u4e2a\u670d\u52a1\u5668 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"isPartOf\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\"},\"datePublished\":\"2025-05-24T23:31:12+00:00\",\"dateModified\":\"2025-05-24T23:31:12+00:00\",\"author\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/39694.html#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wsisp.com\/helps\/39694.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/39694.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.wsisp.com\/helps\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"windows\u7248docker\u90e8\u7f72\u7684gitlab,\u5907\u4efd\u540e\u8fc1\u79fb\u5230\u53e6\u4e00\u4e2a\u670d\u52a1\u5668\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\",\"url\":\"https:\/\/www.wsisp.com\/helps\/\",\"name\":\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"description\":\"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"zh-Hans\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"contentUrl\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"caption\":\"admin\"},\"sameAs\":[\"http:\/\/wp.wsisp.com\"],\"url\":\"https:\/\/www.wsisp.com\/helps\/author\/admin\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"windows\u7248docker\u90e8\u7f72\u7684gitlab,\u5907\u4efd\u540e\u8fc1\u79fb\u5230\u53e6\u4e00\u4e2a\u670d\u52a1\u5668 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.wsisp.com\/helps\/39694.html","og_locale":"zh_CN","og_type":"article","og_title":"windows\u7248docker\u90e8\u7f72\u7684gitlab,\u5907\u4efd\u540e\u8fc1\u79fb\u5230\u53e6\u4e00\u4e2a\u670d\u52a1\u5668 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","og_description":"\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb837\u6b21\uff0c\u70b9\u8d5e19\u6b21\uff0c\u6536\u85cf19\u6b21\u3002windows\u7248docker\u90e8\u7f72\u7684gitlab \u5907\u4efd\u540e\u8fc1\u79fb\u5230\u53e6\u4e00\u4e2a\u670d\u52a1\u5668","og_url":"https:\/\/www.wsisp.com\/helps\/39694.html","og_site_name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","article_published_time":"2025-05-24T23:31:12+00:00","author":"admin","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"admin","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"2 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.wsisp.com\/helps\/39694.html","url":"https:\/\/www.wsisp.com\/helps\/39694.html","name":"windows\u7248docker\u90e8\u7f72\u7684gitlab,\u5907\u4efd\u540e\u8fc1\u79fb\u5230\u53e6\u4e00\u4e2a\u670d\u52a1\u5668 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","isPartOf":{"@id":"https:\/\/www.wsisp.com\/helps\/#website"},"datePublished":"2025-05-24T23:31:12+00:00","dateModified":"2025-05-24T23:31:12+00:00","author":{"@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41"},"breadcrumb":{"@id":"https:\/\/www.wsisp.com\/helps\/39694.html#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wsisp.com\/helps\/39694.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.wsisp.com\/helps\/39694.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.wsisp.com\/helps"},{"@type":"ListItem","position":2,"name":"windows\u7248docker\u90e8\u7f72\u7684gitlab,\u5907\u4efd\u540e\u8fc1\u79fb\u5230\u53e6\u4e00\u4e2a\u670d\u52a1\u5668"}]},{"@type":"WebSite","@id":"https:\/\/www.wsisp.com\/helps\/#website","url":"https:\/\/www.wsisp.com\/helps\/","name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","description":"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"zh-Hans"},{"@type":"Person","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41","name":"admin","image":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/","url":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","contentUrl":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","caption":"admin"},"sameAs":["http:\/\/wp.wsisp.com"],"url":"https:\/\/www.wsisp.com\/helps\/author\/admin"}]}},"_links":{"self":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/39694","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/comments?post=39694"}],"version-history":[{"count":0,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/39694\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media?parent=39694"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/categories?post=39694"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/tags?post=39694"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/topic?post=39694"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}