{"id":31126,"date":"2025-04-21T08:11:07","date_gmt":"2025-04-21T00:11:07","guid":{"rendered":"https:\/\/www.wsisp.com\/helps\/31126.html"},"modified":"2025-04-21T08:11:07","modified_gmt":"2025-04-21T00:11:07","slug":"%e9%93%b6%e6%b2%b3%e9%ba%92%e9%ba%9f%e6%9c%8d%e5%8a%a1%e5%99%a8%e6%93%8d%e4%bd%9c%e7%b3%bb%e7%bb%9f%e5%9c%a8docker%e5%ae%b9%e5%99%a8%e5%86%85%e5%ae%89%e8%a3%85%e5%8f%8a%e8%ae%be%e7%bd%ae%e8%af%ad","status":"publish","type":"post","link":"https:\/\/www.wsisp.com\/helps\/31126.html","title":{"rendered":"\u94f6\u6cb3\u9e92\u9e9f\u670d\u52a1\u5668\u64cd\u4f5c\u7cfb\u7edf\u5728docker\u5bb9\u5668\u5185\u5b89\u88c5\u53ca\u8bbe\u7f6e\u8bed\u8a00\u73af\u5883\u53d8\u91cf\uff08\u4fee\u6539\u955c\u50cf\u6c38\u4e45\u751f\u6548\uff09"},"content":{"rendered":"<h3>1\u3001\u67e5\u770b\u5e76\u5bfc\u5165\u5bb9\u5668\u955c\u50cf<\/h3>\n<h4>1.1\u3001\u67e5\u770b\u53ca\u5bfc\u5165\u5bb9\u5668\u955c\u50cf\u5305<\/h4>\n<p> [root&#064;plat1 docker]# ls<br \/>\naa.zip  Kylin-Server-V10-SP3-2403-Release-Docker-platform-20240426-X86_64.tar.xz <\/p>\n<h4>1.2\u3001\u5bfc\u5165\u5bb9\u5668\u955c\u50cf<\/h4>\n<p>docker load -i Kylin-Server-V10-SP3-2403-Release-Docker-platform-20240426-X86_64.tar.xz<\/p>\n<p>[root&#064;plat1 docker]# docker load  -i Kylin-Server-V10-SP3-2403-Release-Docker-platform-20240426-X86_64.tar.xz<br \/>\nLoaded image: cr.kylinos.cn\/v10sp3-2403\/kylin-server-v10-sp3-2403-general-alpha20-x86_64-platform:202405 <\/p>\n<h4>1.3\u3001\u67e5\u770b\u5bfc\u5165\u7684\u5bb9\u5668\u955c\u50cf<\/h4>\n<p>docker images<\/p>\n<p>[root&#064;plat1 aa]# docker images<br \/>\nREPOSITORY \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0  TAG \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 IMAGE ID \u00a0 \u00a0 \u00a0 \u00a0 \u00a0  CREATED \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 SIZE<br \/>\ncr.kylinos.cn\/v10sp3-2403\/kylin-server-v10-sp3-2403-general-alpha20-x86_64-platform \u00a0 202405 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0  e8adb7da708a \u00a0 \u00a0 \u00a0  7 months ago \u00a0 \u00a0 \u00a0  246MB <\/p>\n<h3>2\u3001\u7f16\u5199dockerfile\u6587\u4ef6\u5e76\u5c01\u88c5\u955c\u50cf<\/h3>\n<h4>2.1\u3001\u914d\u7f6edockerfile\u6587\u4ef6\u5e76\u5199<\/h4>\n<h5>2.1.1\u3001dockerfile\u6587\u4ef6\u91cc\u53c2\u6570\u89e3\u91ca<\/h5>\n<p>FROM            #\u5bfc\u5165\u7cfb\u7edf\u7684docker\u5bb9\u5668\u955c\u50cf\u540d<br \/>\nMAINTAINER      #\u4f5c\u8005\u540d\u79f0\u7b49<br \/>\nRUN             #\u8fd0\u884c\u521b\u5efa\u7b49\u547d\u4ee4<br \/>\nRUN             #\u8fd0\u884c\u521b\u5efa\u7b49\u547d\u4ee4<br \/>\nCOPY            #\u62f7\u8d1d\u5f53\u524d\u76ee\u5f55\u4e0b\u7684\u6587\u4ef6\u5230\u5bb9\u5668\u76ee\u5f55&#xff0c;\u76ee\u5f55\u6ca1\u6709\u9700\u8981\u521b\u5efa<br \/>\nCOPY            #\u62f7\u8d1d\u5f53\u524d\u76ee\u5f55\u4e0b\u7684\u6587\u4ef6\u5230\u5bb9\u5668\u76ee\u5f55&#xff0c;\u76ee\u5f55\u6ca1\u6709\u9700\u8981\u521b\u5efa<br \/>\nENV             #\u8bbe\u7f6e\u73af\u5883\u53d8\u91cf&#xff0c;\u4e14\u6c38\u4e45\u751f\u6548 <\/p>\n<h5>2.1.2\u3001\u4e0b\u9762\u662f\u5177\u4f53\u4fee\u6539\u7684dockerfile\u6587\u4ef6<\/h5>\n<p>vim Dockerfile<\/p>\n<p>[root&#064;plat1 aa]# vim Dockerfile<br \/>\nFROM    cr.kylinos.cn\/v10sp3-2403\/kylin-server-v10-sp3-2403-general-alpha20-x86_64-platform:202405<br \/>\nMAINTAINER  malu<br \/>\nRUN mkdir -p \/usr\/lib\/locale\/zh_CN.utf8<br \/>\nRUN mkdir -p \/usr\/share\/locale\/zh_CN<br \/>\nCOPY    zh_CN\/ \/usr\/share\/locale\/zh_CN\/<br \/>\nCOPY    zh_CN.utf8\/ \/usr\/lib\/locale\/zh_CN.utf8\/<br \/>\nENV LANG&#061;zh_CN.UTF-8 <\/p>\n<h4>2.2\u3001\u67e5\u770b\u5bb9\u5668\u955c\u50cf\u5e76\u5bf9\u5f53\u524d\u955c\u50cf\u8fdb\u884c\u4fee\u6539<\/h4>\n<h5>2.2.1\u3001\u67e5\u770b\u524d\u5bb9\u5668\u955c\u50cf<\/h5>\n<p>docker images<\/p>\n<p>[root&#064;plat1 aa]# docker images<br \/>\nREPOSITORY \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0  TAG \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 IMAGE ID \u00a0 \u00a0 \u00a0 \u00a0 \u00a0  CREATED \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 SIZE<br \/>\ncr.kylinos.cn\/v10sp3-2403\/kylin-server-v10-sp3-2403-general-alpha20-x86_64-platform \u00a0 202405 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0  e8adb7da708a \u00a0 \u00a0 \u00a0  7 months ago \u00a0 \u00a0 \u00a0  246MB <\/p>\n<h5>2.2.2\u3001\u5bf9\u5f53\u524d\u5bb9\u5668\u955c\u50cf\u8fdb\u884c\u4fee\u6539<\/h5>\n<p>docker build -t cr.kylinos.cn\/v10sp3-2403\/kylin-server-v10-sp3-2403-general-alpha20-x86_64-platform:202405 .<\/p>\n<p>[root&#064;plat1 aa]# docker build  -t  cr.kylinos.cn\/v10sp3-2403\/kylin-server-v10-sp3-2403-general-alpha20-x86_64-platform:202405  .<br \/>\nSending build context to Docker daemon \u00a0 11.8MB<br \/>\nStep 1\/7 : FROM cr.kylinos.cn\/v10sp3-2403\/kylin-server-v10-sp3-2403-general-alpha20-x86_64-platform:202405<br \/>\n &#8212;&gt; e8adb7da708a<br \/>\nStep 2\/7 : MAINTAINER   malu<br \/>\n &#8212;&gt; Running in 13bbaadb5fcc<br \/>\nRemoving intermediate container 13bbaadb5fcc<br \/>\n &#8212;&gt; b005ddab0be0<br \/>\nStep 3\/7 : RUN  mkdir -p \/usr\/lib\/locale\/zh_CN.utf8<br \/>\n &#8212;&gt; Running in b7fee2db3fd6<br \/>\nRemoving intermediate container b7fee2db3fd6<br \/>\n &#8212;&gt; 410bb59aa4c9<br \/>\nStep 4\/7 : RUN  mkdir -p \/usr\/share\/locale\/zh_CN<br \/>\n &#8212;&gt; Running in 501714361b68<br \/>\nRemoving intermediate container 501714361b68<br \/>\n &#8212;&gt; 735a5cca6ba4<br \/>\nStep 5\/7 : COPY zh_CN\/ \/usr\/share\/locale\/zh_CN\/<br \/>\n &#8212;&gt; 0301fb0def1b<br \/>\nStep 6\/7 : COPY zh_CN.utf8\/ \/usr\/lib\/locale\/zh_CN.utf8\/<br \/>\n &#8212;&gt; 9cf8be5e9af4<br \/>\nStep 7\/7 : ENV LANG&#061;zh_CN.UTF-8<br \/>\n &#8212;&gt; Running in f94ca5767b7c<br \/>\nRemoving intermediate container f94ca5767b7c<br \/>\n &#8212;&gt; a3a40e17be58<br \/>\nSuccessfully built a3a40e17be58<br \/>\nSuccessfully tagged cr.kylinos.cn\/v10sp3-2403\/kylin-server-v10-sp3-2403-general-alpha20-x86_64-platform:202405 <\/p>\n<h4>2.3\u3001\u67e5\u770b\u5f53\u524d\u5bb9\u5668\u5e76\u7ed9\u5bb9\u5668\u6253\u6807\u7b7e<\/h4>\n<h5>2.3.1\u3001\u67e5\u770b\u4fee\u6539\u540e\u7684\u5bb9\u5668\u955c\u50cf<\/h5>\n<p>docker images<\/p>\n<p>[root&#064;plat1 aa]# docker images<br \/>\nREPOSITORY \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0  TAG \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 IMAGE ID \u00a0 \u00a0 \u00a0 \u00a0 \u00a0  CREATED \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 SIZE<br \/>\ncr.kylinos.cn\/v10sp3-2403\/kylin-server-v10-sp3-2403-general-alpha20-x86_64-platform \u00a0 202405 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0  a3a40e17be58 \u00a0 \u00a0 \u00a0  4 seconds ago \u00a0 \u00a0 \u00a0 257MB <\/p>\n<h5>2.3.2\u3001\u5bf9\u5f53\u524d\u5bb9\u5668\u955c\u50cf\u8fdb\u884c\u6253\u6807\u7b7e<\/h5>\n<p>docker tag cr.kylinos.cn\/v10sp3-2403\/kylin-server-v10-sp3-2403-general-alpha20-x86_64-platform:202405 cr.kylinos.cn\/v10sp3-2403\/kylin-server-v10-sp3-2403-general-alpha20-x86_64-platform:20241220<\/p>\n<p>[root&#064;plat1 aa]# docker tag cr.kylinos.cn\/v10sp3-2403\/kylin-server-v10-sp3-2403-general-alpha20-x86_64-platform:202405 cr.kylinos.cn\/v10sp3-2403\/kylin-server-v10-sp3-2403-general-alpha20-x86_64-platform:20241220 <\/p>\n<h5>2.3.3\u3001\u67e5\u770b\u6253\u8fc7\u6807\u7b7e\u7684\u5bb9\u5668\u955c\u50cf\u60c5\u51b5<\/h5>\n<p>docker images<\/p>\n<p>[root&#064;plat1 aa]# docker images<br \/>\nREPOSITORY \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0  TAG \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 IMAGE ID \u00a0 \u00a0 \u00a0 \u00a0 \u00a0  CREATED \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0  SIZE<br \/>\ncr.kylinos.cn\/v10sp3-2403\/kylin-server-v10-sp3-2403-general-alpha20-x86_64-platform \u00a0 202405 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0  a3a40e17be58 \u00a0 \u00a0 \u00a0  About a minute ago \u00a0 257MB<br \/>\ncr.kylinos.cn\/v10sp3-2403\/kylin-server-v10-sp3-2403-general-alpha20-x86_64-platform \u00a0 20241220 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0  a3a40e17be58 \u00a0 \u00a0 \u00a0  About a minute ago \u00a0 257MB <\/p>\n<h4>2.4\u3001\u8fd0\u884c\u5bb9\u5668\u53ca\u9a8c\u8bc1<\/h4>\n<h5>2.4.1\u3001\u8fd0\u884c\u65b0\u5bb9\u5668\u955c\u50cf<\/h5>\n<p>docker run -dit cr.kylinos.cn\/v10sp3-2403\/kylin-server-v10-sp3-2403-general-alpha20-x86_64-platform:20241220<\/p>\n<p>\u8fd0\u884c\u65b0\u5bb9\u5668cr.kylinos.cn\/v10sp3-2403\/kylin-server-v10-sp3-2403-general-alpha20-x86_64-platform:20241220<\/p>\n<p>[root&#064;plat1 aa]# docker run -dit cr.kylinos.cn\/v10sp3-2403\/kylin-server-v10-sp3-2403-general-alpha20-x86_64-platform:20241220<br \/>\n5d031935e053ec7712419128abf1bbacf519860bd6851de5c2d14b96bc77577b <\/p>\n<h5>2.4.2\u3001\u67e5\u770b\u65b0\u5bb9\u5668\u955c\u50cf\u8fd0\u884c\u60c5\u51b5<\/h5>\n<p>docker ps<\/p>\n<p>\u67e5\u770bcr.kylinos.cn\/v10sp3-2403\/kylin-server-v10-sp3-2403-general-alpha20-x86_64-platform:20241220 \u5bb9\u5668\u8fd0\u884c\u60c5\u51b5<\/p>\n<p>[root&#064;plat1 aa]# docker ps<br \/>\nCONTAINER ID \u00a0 \u00a0 \u00a0  IMAGE \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0  COMMAND \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 CREATED \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 STATUS \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0  PORTS \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 NAMES<br \/>\n5d031935e053 \u00a0 \u00a0 \u00a0  cr.kylinos.cn\/v10sp3-2403\/kylin-server-v10-sp3-2403-general-alpha20-x86_64-platform:20241220 \u00a0 &#034;\/bin\/bash&#034; \u00a0 \u00a0 \u00a0 \u00a0 8 seconds ago \u00a0 \u00a0 \u00a0 Up 7 seconds \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0  competent_chatelet <\/p>\n<h5>2.4.3\u3001\u8fdb\u5165competent_chatelet\u5bb9\u5668\u5185<\/h5>\n<p>docker exec -it competent_chatelet \/bin\/bash<\/p>\n<p>\u8fdb\u5165cr.kylinos.cn\/v10sp3-2403\/kylin-server-v10-sp3-2403-general-alpha20-x86_64-platform:20241220 \u5bf9\u5e94\u8fd0\u884c\u7684\u5bb9\u5668\u91cc\u3002<\/p>\n<p>[root&#064;plat1 aa]# docker exec  -it competent_chatelet  \/bin\/bash <\/p>\n<h5>2.4.4\u3001\u67e5\u770b\u5b57\u4f53\u73af\u5883\u53d8\u91cf<\/h5>\n<p>locale\u8f93\u5165LANG&#061;zh_CN.UTF-8&#xff0c;\u8bf4\u660e\u4e2d\u6587\u73af\u5883\u53d8\u91cf\u5df2\u7ecf\u8bbe\u7f6e\u6210\u529f<\/p>\n<p>[root&#064;5d031935e053 \/]# locale<br \/>\nLANG&#061;zh_CN.UTF-8<br \/>\nLC_CTYPE&#061;&#034;zh_CN.UTF-8&#034;<br \/>\nLC_NUMERIC&#061;&#034;zh_CN.UTF-8&#034;<br \/>\nLC_TIME&#061;&#034;zh_CN.UTF-8&#034;<br \/>\nLC_COLLATE&#061;&#034;zh_CN.UTF-8&#034;<br \/>\nLC_MONETARY&#061;&#034;zh_CN.UTF-8&#034;<br \/>\nLC_MESSAGES&#061;&#034;zh_CN.UTF-8&#034;<br \/>\nLC_PAPER&#061;&#034;zh_CN.UTF-8&#034;<br \/>\nLC_NAME&#061;&#034;zh_CN.UTF-8&#034;<br \/>\nLC_ADDRESS&#061;&#034;zh_CN.UTF-8&#034;<br \/>\nLC_TELEPHONE&#061;&#034;zh_CN.UTF-8&#034;<br \/>\nLC_MEASUREMENT&#061;&#034;zh_CN.UTF-8&#034;<br \/>\nLC_IDENTIFICATION&#061;&#034;zh_CN.UTF-8&#034;<br \/>\nLC_ALL&#061; <\/p>\n<h5>2.4.4\u3001\u9a8c\u8bc1\u8f93\u5165\u4e2d\u6587\u662f\u5426\u6b63\u5e38&#xff0c;\u5982\u4e0b\u663e\u793a\u6b63\u5e38<\/h5>\n<p>[root&#064;5d031935e053 \/]# vi 1.txt<br \/>\n[root&#064;5d031935e053 \/]# cat 1.txt<br \/>\n\u7684\u623f\u95f4\u91cc\u7684\u6770\u592b <\/p>\n<h4>2.5\u9000\u51fa\u5f53\u524d\u8fd0\u884c\u7684\u5bb9\u5668<\/h4>\n<p>[root&#064;5d031935e053 \/]# exit<br \/>\nexit <\/p>\n<h4>2.6\u3001\u5bfc\u51fa\u5f53\u524d\u505a\u597d\u7684\u5bb9\u5668\u955c\u50cf<\/h4>\n<h5>2.6.1\u3001\u67e5\u770b\u5bb9\u5668\u955c\u50cf<\/h5>\n<p>docker images<\/p>\n<p>[root&#064;plat1 aa]# docker images<br \/>\nREPOSITORY \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0  TAG \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 IMAGE ID \u00a0 \u00a0 \u00a0 \u00a0 \u00a0  CREATED \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 SIZE<br \/>\ncr.kylinos.cn\/v10sp3-2403\/kylin-server-v10-sp3-2403-general-alpha20-x86_64-platform \u00a0 202405 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0  a3a40e17be58 \u00a0 \u00a0 \u00a0  13 minutes ago \u00a0 \u00a0  257MB<br \/>\ncr.kylinos.cn\/v10sp3-2403\/kylin-server-v10-sp3-2403-general-alpha20-x86_64-platform \u00a0 20241220 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0  a3a40e17be58 \u00a0 \u00a0 \u00a0  13 minutes ago \u00a0 \u00a0  257MB <\/p>\n<h5>2.6.2\u3001\u5bfc\u51fa\u5bb9\u5668\u955c\u50cf<\/h5>\n<p>docker save cr.kylinos.cn\/v10sp3-2403\/kylin-server-v10-sp3-2403-general-alpha20-x86_64-platform:20241220 -o Kylin-Server-V10-SP3-2403-Release-Docker-platform-20240426-X86_64-20241220.tar.xz<\/p>\n<p>[root&#064;plat1 aa]# docker save  cr.kylinos.cn\/v10sp3-2403\/kylin-server-v10-sp3-2403-general-alpha20-x86_64-platform:20241220 -o Kylin-Server-V10-SP3-2403-Release-Docker-platform-20240426-X86_64-20241220.tar.xz <\/p>\n<h5>2.6.3\u3001\u67e5\u770b\u5bfc\u51fa\u955c\u50cf\u60c5\u51b5<\/h5>\n<p>[root&#064;plat1 aa]# ls<br \/>\nDockerfile  Kylin-Server-V10-SP3-2403-Release-Docker-platform-20240426-X86_64-20241220.tar.xz  zh_CN  zh_CN.utf8<br \/>\n[root&#064;plat1 aa]#  <\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb1.3k\u6b21\uff0c\u70b9\u8d5e29\u6b21\uff0c\u6536\u85cf17\u6b21\u3002\u8fdb\u5165cr.kylinos.cn\/v10sp3-2403\/kylin-server-v10-sp3-2403-general-alpha20-x86_64-platform:20241220 \u5bf9\u5e94\u8fd0\u884c\u7684\u5bb9\u5668\u91cc\u3002\u8fd0\u884c\u65b0\u5bb9\u5668cr.kylinos.cn\/v10sp3-2403\/kylin-server-v10-sp3-2403-general-alpha20-x86_64-platform:20241220\u3002COPY            #\u62f7\u8d1d\u5f53\u524d\u76ee\u5f55\u4e0b\u7684\u6587\u4ef6\u5230\u5bb9\u5668\u76ee\u5f55\uff0c\u76ee\u5f55\u6ca1\u6709\u9700\u8981\u521b\u5efa\u3002_\u94f6\u6cb3\u9e92\u9e9fdocker\u955c\u50cf<\/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,322,58,121,43,44],"topic":[],"class_list":["post-31126","post","type-post","status-publish","format-standard","hentry","category-server","tag-docker","tag-kylin","tag-linux","tag-121","tag-43","tag-44"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>\u94f6\u6cb3\u9e92\u9e9f\u670d\u52a1\u5668\u64cd\u4f5c\u7cfb\u7edf\u5728docker\u5bb9\u5668\u5185\u5b89\u88c5\u53ca\u8bbe\u7f6e\u8bed\u8a00\u73af\u5883\u53d8\u91cf\uff08\u4fee\u6539\u955c\u50cf\u6c38\u4e45\u751f\u6548\uff09 - \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\/31126.html\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u94f6\u6cb3\u9e92\u9e9f\u670d\u52a1\u5668\u64cd\u4f5c\u7cfb\u7edf\u5728docker\u5bb9\u5668\u5185\u5b89\u88c5\u53ca\u8bbe\u7f6e\u8bed\u8a00\u73af\u5883\u53d8\u91cf\uff08\u4fee\u6539\u955c\u50cf\u6c38\u4e45\u751f\u6548\uff09 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"og:description\" content=\"\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb1.3k\u6b21\uff0c\u70b9\u8d5e29\u6b21\uff0c\u6536\u85cf17\u6b21\u3002\u8fdb\u5165cr.kylinos.cn\/v10sp3-2403\/kylin-server-v10-sp3-2403-general-alpha20-x86_64-platform:20241220 \u5bf9\u5e94\u8fd0\u884c\u7684\u5bb9\u5668\u91cc\u3002\u8fd0\u884c\u65b0\u5bb9\u5668cr.kylinos.cn\/v10sp3-2403\/kylin-server-v10-sp3-2403-general-alpha20-x86_64-platform:20241220\u3002COPY      #\u62f7\u8d1d\u5f53\u524d\u76ee\u5f55\u4e0b\u7684\u6587\u4ef6\u5230\u5bb9\u5668\u76ee\u5f55\uff0c\u76ee\u5f55\u6ca1\u6709\u9700\u8981\u521b\u5efa\u3002_\u94f6\u6cb3\u9e92\u9e9fdocker\u955c\u50cf\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wsisp.com\/helps\/31126.html\" \/>\n<meta property=\"og:site_name\" content=\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"article:published_time\" content=\"2025-04-21T00:11:07+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=\"4 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/31126.html\",\"url\":\"https:\/\/www.wsisp.com\/helps\/31126.html\",\"name\":\"\u94f6\u6cb3\u9e92\u9e9f\u670d\u52a1\u5668\u64cd\u4f5c\u7cfb\u7edf\u5728docker\u5bb9\u5668\u5185\u5b89\u88c5\u53ca\u8bbe\u7f6e\u8bed\u8a00\u73af\u5883\u53d8\u91cf\uff08\u4fee\u6539\u955c\u50cf\u6c38\u4e45\u751f\u6548\uff09 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"isPartOf\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\"},\"datePublished\":\"2025-04-21T00:11:07+00:00\",\"dateModified\":\"2025-04-21T00:11:07+00:00\",\"author\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/31126.html#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wsisp.com\/helps\/31126.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/31126.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.wsisp.com\/helps\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u94f6\u6cb3\u9e92\u9e9f\u670d\u52a1\u5668\u64cd\u4f5c\u7cfb\u7edf\u5728docker\u5bb9\u5668\u5185\u5b89\u88c5\u53ca\u8bbe\u7f6e\u8bed\u8a00\u73af\u5883\u53d8\u91cf\uff08\u4fee\u6539\u955c\u50cf\u6c38\u4e45\u751f\u6548\uff09\"}]},{\"@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":"\u94f6\u6cb3\u9e92\u9e9f\u670d\u52a1\u5668\u64cd\u4f5c\u7cfb\u7edf\u5728docker\u5bb9\u5668\u5185\u5b89\u88c5\u53ca\u8bbe\u7f6e\u8bed\u8a00\u73af\u5883\u53d8\u91cf\uff08\u4fee\u6539\u955c\u50cf\u6c38\u4e45\u751f\u6548\uff09 - \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\/31126.html","og_locale":"zh_CN","og_type":"article","og_title":"\u94f6\u6cb3\u9e92\u9e9f\u670d\u52a1\u5668\u64cd\u4f5c\u7cfb\u7edf\u5728docker\u5bb9\u5668\u5185\u5b89\u88c5\u53ca\u8bbe\u7f6e\u8bed\u8a00\u73af\u5883\u53d8\u91cf\uff08\u4fee\u6539\u955c\u50cf\u6c38\u4e45\u751f\u6548\uff09 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","og_description":"\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb1.3k\u6b21\uff0c\u70b9\u8d5e29\u6b21\uff0c\u6536\u85cf17\u6b21\u3002\u8fdb\u5165cr.kylinos.cn\/v10sp3-2403\/kylin-server-v10-sp3-2403-general-alpha20-x86_64-platform:20241220 \u5bf9\u5e94\u8fd0\u884c\u7684\u5bb9\u5668\u91cc\u3002\u8fd0\u884c\u65b0\u5bb9\u5668cr.kylinos.cn\/v10sp3-2403\/kylin-server-v10-sp3-2403-general-alpha20-x86_64-platform:20241220\u3002COPY      #\u62f7\u8d1d\u5f53\u524d\u76ee\u5f55\u4e0b\u7684\u6587\u4ef6\u5230\u5bb9\u5668\u76ee\u5f55\uff0c\u76ee\u5f55\u6ca1\u6709\u9700\u8981\u521b\u5efa\u3002_\u94f6\u6cb3\u9e92\u9e9fdocker\u955c\u50cf","og_url":"https:\/\/www.wsisp.com\/helps\/31126.html","og_site_name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","article_published_time":"2025-04-21T00:11:07+00:00","author":"admin","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"admin","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"4 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.wsisp.com\/helps\/31126.html","url":"https:\/\/www.wsisp.com\/helps\/31126.html","name":"\u94f6\u6cb3\u9e92\u9e9f\u670d\u52a1\u5668\u64cd\u4f5c\u7cfb\u7edf\u5728docker\u5bb9\u5668\u5185\u5b89\u88c5\u53ca\u8bbe\u7f6e\u8bed\u8a00\u73af\u5883\u53d8\u91cf\uff08\u4fee\u6539\u955c\u50cf\u6c38\u4e45\u751f\u6548\uff09 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","isPartOf":{"@id":"https:\/\/www.wsisp.com\/helps\/#website"},"datePublished":"2025-04-21T00:11:07+00:00","dateModified":"2025-04-21T00:11:07+00:00","author":{"@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41"},"breadcrumb":{"@id":"https:\/\/www.wsisp.com\/helps\/31126.html#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wsisp.com\/helps\/31126.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.wsisp.com\/helps\/31126.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.wsisp.com\/helps"},{"@type":"ListItem","position":2,"name":"\u94f6\u6cb3\u9e92\u9e9f\u670d\u52a1\u5668\u64cd\u4f5c\u7cfb\u7edf\u5728docker\u5bb9\u5668\u5185\u5b89\u88c5\u53ca\u8bbe\u7f6e\u8bed\u8a00\u73af\u5883\u53d8\u91cf\uff08\u4fee\u6539\u955c\u50cf\u6c38\u4e45\u751f\u6548\uff09"}]},{"@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\/31126","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=31126"}],"version-history":[{"count":0,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/31126\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media?parent=31126"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/categories?post=31126"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/tags?post=31126"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/topic?post=31126"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}