Docker涔媠warm閮ㄧ讲闆嗙兢

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Docker涔媠warm閮ㄧ讲闆嗙兢相关的知识,希望对你有一定的参考价值。

鏍囩锛?a href='http://www.mamicode.com/so/1/%e5%8a%a0%e5%85%a5%e9%9b%86%e7%be%a4' title='鍔犲叆闆嗙兢'>鍔犲叆闆嗙兢   鏂规硶   浠诲姟   service   绯荤粺   dockerd   涓嬭浇   emc   蹇呴』   

涓€銆佸熀鏈蹇?/h1>

锛堜竴锛夈€乨ocker-swarm鏄В鍐冲涓绘満澶氫釜瀹瑰櫒璋冨害閮ㄧ讲寰楅棶棰樸€?/strong>
Swarm鏄疍ocker 寮曟搸鍐呯疆锛堝師鐢燂級鐨勯泦缇ょ鐞嗗拰缂栨帓宸ュ叿銆侱ocker Swarm鏄?Docker 瀹樻柟涓夊墤瀹㈤」鐩箣涓€锛宻warm鏄熀浜巇ocker骞冲彴瀹炵幇鐨勯泦缇ゆ妧鏈紝浠栧彲浠ラ€氳繃鍑犳潯绠€鍗曠殑鎸囦护蹇€熺殑鍒涘缓涓€涓猟ocker闆嗙兢锛屾帴鐫€鍦ㄩ泦缇ょ殑鍏变韩缃戠粶涓婇儴缃插簲鐢紝鏈€缁堝疄鐜板垎甯冨紡鐨勬湇鍔°€?/p>

锛堜簩锛夈€丏ocker swarm涓湁涓夌瑙掕壊锛?/strong>

娉細
Swarm: 浣滅敤杩愯docker engin(寮曟搸)鐨勫涓富鏈虹粍鎴愮殑闆嗙兢銆?node: 姣忎竴涓猟ocker engin閮芥槸涓€涓猲ode锛堣妭鐐癸級锛屽垎涓?manager 鍜寃orker銆?/code>
  • manager node: 璐熻矗鎵ц瀹瑰櫒鐨勭紪鎺掑拰闆嗙兢鐨勭鐞嗗伐浣滐紝淇濇寔骞剁淮鎶warm澶勪簬鏈熸湜鐨勭姸鎬併€俿warm鍙互鏈夊涓猰anager node锛屼粬浠細鑷姩鍗忚皟骞堕€変妇鍑轰竴涓狶eader鎵ц缂栨帓浠诲姟銆備絾鐩稿弽锛屼笉鑳芥病鏈塵anagernode銆?/li>
  • worker node: 鎺ュ彈骞舵墽琛岀敱manager node 娲惧彂鐨勪换鍔★紝骞朵笖榛樿manager node涔熸槸涓€涓獁ork node锛屼笉杩囧彲浠ュ皢瀹冭缃负manager-onlynode.璁╁畠鍙礋璐g紪鎺掑拰绠$悊宸ヤ綔銆?/li>
  • service: 鐢ㄦ潵瀹氫箟worker涓婃墽琛岀殑鍛戒护銆?/li>

锛堜笁锛夈€丼warm鍛戒护琛岃鏄?

docker swarm锛氶泦缇ょ鐞?init          #鍒濆鍖栭泦缇?join          #灏嗚妭鐐瑰姞鍏ラ泦缇?join-token    #绠$悊鍔犲叆浠ょ墝
leave         #浠庨泦缇や腑鍒犻櫎鏌愪釜鑺傜偣锛屽己鍒跺垹闄ゅ姞鍙傛暟--force 
update        #鏇存柊闆嗙兢
unlock        #瑙i攣闆嗙兢
docker node锛氳妭鐐圭鐞嗭紝
demote      #灏嗛泦缇や腑涓€涓垨澶氫釜鑺傜偣闄嶇骇
inspect     #鏄剧ず涓€涓垨澶氫釜鑺傜偣鐨勮缁嗕俊鎭?ls          #鍒楀嚭闆嗙兢涓殑鑺傜偣
promote     #灏嗕竴涓垨澶氫釜鑺傜偣鎻愬崌涓虹鐞嗚妭鐐?rm          #浠庨泦缇や腑鍒犻櫎鍋滄鐨勮妭鐐癸紝--force寮哄埗鍒犻櫎鍙傛暟
ps          #鍒楀嚭涓€涓垨澶氫釜鑺傜偣涓婅繍琛岀殑浠诲姟
update      #鏇存柊鑺傜偣
docker service锛氭湇鍔$鐞嗭紝
create      #鍒涘缓涓€涓柊鐨勬湇鍔?inspect     #鍒楀嚭涓€涓垨澶氫釜鏈嶅姟鐨勮缁嗕俊鎭?ps          #鍒楀嚭涓€涓垨澶氫釜鏈嶅姟涓殑浠诲姟淇℃伅
ls          #鍒楀嚭鏈嶅姟
rm          #鍒犻櫎涓€涓垨澶氫釜鏈嶅姟
scale       #鎵╁睍涓€涓垨澶氫釜鏈嶅姟
update      #鏇存柊鏈嶅姟

浜屻€佸疄楠岀幆澧?/h1>
绯荤粺鐗堟湰 涓绘満鍚?/th> IP鍦板潃
centos7.3 node01 192.168.45.129
-------- node02 192.168.45.141
-------- node03 192.168.45.142
娉ㄦ剰浜嬮」锛?* 瀹為獙鐜鍏抽棴闃茬伀澧欍€佺鐢╯elinux銆?* 涓夊彴dockerhost鍖哄埆涓绘満鍚嶃€?* 鏃堕棿瑕佷笌鏈満鍚屾

1锛夊垵濮嬪寲swarm闆嗙兢


[root@node01 ~]# docker swarm init --advertise-addr 192.168.45.129

鎶€鏈浘鐗? src=
娉細浠ヤ笂鍥剧墖涓懡浠ら噴涔夛細

鈶犵殑鍛戒护锛氫互worker韬唤鍔犲叆swarm缇ら泦涓殑鍛戒护锛?鈶$殑鍛戒护锛氫互manager韬唤鍔犲叆swarm缇ら泦涓殑鏂规硶锛?鍑虹幇涓婂浘琛ㄧず鍒濆鍖栨垚鍔燂紒娉ㄦ剰锛?-token琛ㄧず鏈熼檺涓?4灏忔椂锛?/code>

2锛夈€侀厤缃畁ode02銆乶ode03鍔犲叆swarm缇ら泦

node02鐨勬搷浣滃涓嬶細
[root@node01 ~]# docker swarm join --token SWMTKN-1-3atrf55hv8fzomtrtn6ieou06tvr33tr244ir6lqcn9u78vk9y-68k6gnvppi5y6bwodbwvoh5ih 192.168.45.129:2377
node03鐨勬搷浣滃涓嬶細
[root@node02 ~]# docker swarm join --token SWMTKN-1-3atrf55hv8fzomtrtn6ieou06tvr33tr244ir6lqcn9u78vk9y-68k6gnvppi5y6bwodbwvoh5ih 192.168.45.129:2377
//浠ヤ笂node02銆乶ode03榛樿鏄互worker韬唤鍔犲叆鐨?/code>
[root@node01 ~]# docker node  ls  
//杩斿洖node1鍙互鐪嬭鍔犲叆闆嗙兢鐨勪富鏈?//鏌ョ湅鑺傜偣璇︾粏淇℃伅锛堝彧鑳芥槸manager韬唤鎵嶅彲鏌ョ湅锛?//鍙互鐪嬪嚭node01銆乶ode02銆乶ode03鐨勭姸鎬佷负Ready
ID                            HOSTNAME            STATUS              AVAILABILITY        MANAGER STATUS      ENGINE VERSION
vifca51rieq0zk5caclo8gdmq *   node01              Ready               Active              Leader              18.09.0
3mep2scnlan0we54dve38iy7f     node02              Ready               Active                                  18.09.0
1qe5e2z41tnz7f8uoinhilh1r     node03              Ready               Active                                  18.09.0
[root@node02 ~]# docker swarm  leave 
// docker swarm  leave 锛氳〃绀虹寮€闆嗙兢浣嗘槸闇€瑕乵anager node鐨勫悓鎰?[root@node03 ~]# docker swarm  leave 
[root@node01 ~]# docker node  ls  
//杩欐椂鎴戜滑鍥炲埌node01涓婃煡鐪嬪姞鍏ョ殑涓ゅ彴涓绘満宸茬粡Down鎺変簡锛屼絾鏄敞鎰忎袱鍙颁富鏈鸿櫧鐒禗own鎺変簡浣嗘槸浠荤劧娌℃湁閫€鍑洪泦缇?ID                            HOSTNAME            STATUS              AVAILABILITY        MANAGER STATUS      ENGINE VERSION
vifca51rieq0zk5caclo8gdmq *   node01              Ready               Active              Leader              18.09.0
3mep2scnlan0we54dve38iy7f     node02              Down                Active                                  18.09.0
1qe5e2z41tnz7f8uoinhilh1r     node03              Down                Active                                  18.09.0
[root@node01 ~]# docker node  rm  node02 
[root@node01 ~]# docker node  rm  node03
//node01灏唍ode02銆乶ode03绉婚櫎缇ら泦
[root@node01 ~]# docker node  ls
//鍙互鐪嬭鍙墿node01浜?ID                            HOSTNAME            STATUS              AVAILABILITY        MANAGER STATUS      ENGINE VERSION
vifca51rieq0zk5caclo8gdmq *   node01              Ready               Active              Leader              18.09.0

浠ヤ笂鍛戒护鍙互灏嗘煇涓€涓妭鐐瑰姞鍏ャ€佸垹闄ょ兢闆嗐€?/p>


[root@node01 ~]# docker swarm leave -f
//manager鑺傜偣閫€鍑簊wamr缇ら泦鐜锛岃繖灏辫〃绀簊warm缇ら泦瑙f暎

涓嶈繃鍔犲叆鏃舵槸浣跨敤worker韬唤鐨勶紝濡傛灉鎯宠璁╄妭鐐规槸浠anager韬唤鍔犲叆缇ら泦锛岄渶瑕佷娇鐢ㄤ互涓嬪懡浠わ細


[root@node01 ~]# docker swarm join-token manager 
//鏌ヨ浠anager韬唤鍔犲叆缇ら泦鐨勫懡浠?[root@node01 ~]# docker swarm join-token worker
//鏌ヨ浠orker韬唤鍔犲叆缇ら泦鐨勫懡浠?/code>

鎶€鏈浘鐗? src=

[root@node02 ~]#  docker swarm join --token SWMTKN-1-2x99iyt6bc4tsxplphzr681td3r6qikf4xsng5vd3pqxfuu7e4-aax0h9ptqd277uktll4buw6dw 192.168.45.129:2377
[root@node03 ~]#  docker swarm join --token SWMTKN-1-2x99iyt6bc4tsxplphzr681td3r6qikf4xsng5vd3pqxfuu7e4-aax0h9ptqd277uktll4buw6dw 192.168.45.129:2377
//浠anager韬唤鍔犲叆闆嗙兢
[root@node01 ~]# docker node  ls
ID                            HOSTNAME            STATUS              AVAILABILITY        MANAGER STATUS      ENGINE VERSION
l9mvaohxaoeltwade2kv43yhk *   node01              Ready               Active              Leader              18.09.0
9mo0z9ffef4qy7hsz6gmfw5iv     node02              Ready               Active              Reachable           18.09.0
x0ugwmo9rs2kee3986g1dbnbs     node03              Ready               Active              Reachable           18.09.0
//浠嶮ANAGER STATUS杩欏垪灏卞彲鐪嬪嚭锛屾敞鎰忔垜鍙互灏唍ode02鍜宯ode03鍗囦负manager涔熷彲浠ュ啀灏嗗畠浠檷鍥瀢orker

铏界劧鍔犲叆缇ら泦鏃讹紝鍙互鎸囧畾浣跨敤manager銆亀orker韬唤锛屼絾鏄篃鍙互閫氳繃浠ヤ笅鍛戒护锛岃繘琛岄檷绾с€佸崌绾э紝鎿嶄綔濡備笅锛?/p>


[root@node01 ~]# docker node demote node02
[root@node01 ~]# docker node demote node03
//灏唍ode02銆乶ode03闄嶇骇涓簑orker
[root@node01 ~]# docker node promote node02
[root@node01 ~]# docker node promote node03
//灏唍ode02銆乶ode03鍗囩骇涓簃anager
//鑷楠岃瘉

涓夈€侀儴缃蹭竴涓浘褰㈠寲webUI 鐣岄潰


[root@node01 ~]# docker run -d -p 8080:8080 -e HOST=172.16.0.10 -e PORT=8080 -v /var/run/docker.sock:/var/run/docker.sock --name visualizer dockersamples/visualizer

閫氳繃娴忚鍣ㄨ闂獙璇侊細
鎶€鏈浘鐗? src=

//濡傛灉璁块棶涓嶅埌缃戦〉锛岄渶寮€鍚矾鐢辫浆鍙?[root@node01 ~]#echo net.ipv4.ip_forward = 1 >> /etc/sysctl.conf
[root@node01 ~]# sysctl -p

鍥涖€乨ocker swarm缇ら泦鐨剆ervice鏈嶅姟閰嶇疆

node01鍙戝竷涓€涓换鍔★紝锛堝繀椤诲湪manager瑙掕壊鐨勪富鏈轰笂锛夎繍琛屽叚涓鍣紝鍛戒护濡備笅锛?/strong>

[root@node01 ~]# docker service create --replicas 6  --name web -p 80:80 nginx
//--replicas: 鎸囧畾鍓湰鏁伴噺鍓湰鎸囩殑涔熷氨鏄鍣ㄣ€?/code>

閫氳繃娴忚鍣ㄨ闂獙璇侊細
鎶€鏈浘鐗? src=

[root@node01 ~]# docker service  ls      //鏌ョ湅鍒涘缓鐨剆ervice
ID                  NAME                MODE                REPLICAS            IMAGE               PORTS
wjvpsyhy2igt        web                 replicated          6/6                 nginx:latest        *:80->80/tcp
[root@node01 ~]# docker service  ps web    //鏌ョ湅鍒涘缓鐨剆ervice閮借繍琛屽湪閭d簺瀹瑰櫒涓?ID                  NAME                IMAGE               NODE                DESIRED STATE       CURRENT STATE           ERROR               PORTS
twhwstaveapg        web.1               nginx:latest        node03              Running             Running 4 minutes ago                       
xj2ffr7ziyza        web.2               nginx:latest        node01              Running             Running 4 minutes ago                       
7rjj209wt3bk        web.3               nginx:latest        node02              Running             Running 5 minutes ago                       
syvhdvk4ci9i        web.4               nginx:latest        node03              Running             Running 4 minutes ago                       
fmkp3i6276ub        web.5               nginx:latest        node01              Running             Running 4 minutes ago                       
pn0s1e8qqvmw        web.6               nginx:latest        node02              Running             Running 5 minutes ago           

濡傛灉鐜板湪node02銆乶ode03鍙戠敓瀹曟満鏃讹紝service骞朵笉浼氬洜涓鸿妭鐐圭殑瀹曟満鑰屾鎺夛紝鑰屾槸鑷姩璺戝埌姝e父鐨勮妭鐐逛笂銆?/p>

妯℃嫙node02瀹曟満锛寃eb椤甸潰濡備笅锛?/strong>
鎶€鏈浘鐗? src=
鎶€鏈浘鐗? src=
娉細杩欓噷闇€瑕佹敞鎰忎簡濡傛灉鎴戜滑鈥滄墿瀹规垨鏀剁缉鈥濆氨鍙互鍙戠幇鍘熸潵閲嶆柊鍚姩node02浼氫粠鏂板垎閰嶅埌瀹瑰櫒锛岃繖鏄洜涓烘牴鎹甦ocker swarm鑷韩鐨勭畻娉曡繘琛屽垎閰嶇殑锛屽畠浼氭绱綘鐨勫摢涓妭鐐瑰浜庡仴搴风姸鎬佸鏋滄槸鍋ュ悍鐨勫氨浼氶噸鏂扮殑鍒嗛厤浠诲姟锛屽鏋滄槸澶勪簬瀹曟満灏卞涓婂浘鎵€璇淬€?/p>

浜斻€佸疄鐜皊ervice鐨勬墿瀹广€佹敹缂?/h1>

鎵╁锛氬氨鏄坊鍔犲嚑鍙皊ervice锛?br/>鏀剁缉锛氬氨鏄噺灏戝嚑鍙皊ervice锛?/p>

閽堝涓婅堪鐜瀹炵幇鏀剁缉銆佹墿瀹癸紱

锛?锛塻ervice鎵╁

[root@node01 ~]# docker service  scale  web=8
web scaled to 8
//浠庡師鏈殑鍏彴瀹瑰櫒澧炲姞鍒板叓鍙?/code>

娴忚鍣ㄩ獙璇侊細
鎶€鏈浘鐗? src=
锛?锛塻ervice鏀剁缉
[root@node01 ~]# docker service scale web=4
//浠庡師鏈殑鍏彴鍑忓皯鍒板洓鍙?br/>鎶€鏈浘鐗? src=
锛?strong>3锛夎缃煇涓猲ode涓嶈繍琛宻ervice

鍙互閫氳繃璁剧疆锛屼娇鏌愬彴鑺傜偣涓嶈繍琛宻ervice锛屽涓嬶細


[root@node01 ~]# docker node update --availability drain node01
//璁剧疆noder01浠ュ悗涓嶈繍琛屽鍣紝浣嗗凡缁忚繍琛岀殑瀹瑰櫒骞朵笉浼氬仠姝?// --availability锛氶€夐」鍚庨潰鍏辨湁涓変釜閫夐」鍙厤缃紝濡備笅锛?active锛氬伐浣滐紱pause锛氭殏鏃朵笉宸ヤ綔锛沝rain锛氭案涔呮€х殑涓嶅伐浣?/code>

鎶€鏈浘鐗? src=

[root@node01 ~]# docker node update --availability drain node02
//node02涔熶笉鍙傚姞宸ヤ綔锛屼絾宸茬粡杩愯鐨勫鍣ㄥ苟涓嶄細鍋滄

鎶€鏈浘鐗? src=
娉細鐢辨鍙互寰楀嚭锛氫笉鏄彧鏈塵anager鎵嶆湁涓嶅伐浣滅殑鏉冨姏锛?/strong>

鍏€佹惌寤簉egistry绉佹湁浠撳簱

閫氳繃鎼缓registry绉佹湁浠撳簱锛屽彲浠ヤ究浜庤鍏朵粬node涓嬭浇闀滃儚銆?/strong>
鎼缓绉佹湁浠撳簱璇峰弬鑰?a href="https://blog.51cto.com/14306186/2514802">Docker鎼缓绉佹湁浠撳簱涔媟egistry

[root@node01 ~]# docker run -itd --name registry -p 5000:5000 -v /registry:/var/lib/registry --restart=always registry:2
[root@node01 ~]# vim /usr/lib/systemd/system/docker.service 
//鏇存敼鍐呭涓?ExecStart=/usr/bin/dockerd --insecure-registry 192.168.45.129:5000
[root@node01 ~]# systemctl daemon-reload 
[root@node01 ~]# systemctl restart docker
[root@node01 ~]# docker ps -a -q | xargs docker start
//鐢变簬鍒氭墠鍒涘缓鐨勫鍣ㄥ苟娌℃湁璁剧疆鑷姩鍚姩锛屾墍浠ュ湪閲嶅惎docker鏈嶅姟鐨勬椂鍊欙紝闇€瑕佹墜鍔ㄥ惎鍔?/code>
[root@node02 ~]# vim /usr/lib/systemd/system/docker.service 
//鏇存敼鍐呭涓?ExecStart=/usr/bin/dockerd --insecure-registry 192.168.45.129:5000
[root@node02 ~]# systemctl  daemon-reload 
[root@node02 ~]# systemctl  restart  docker.service 
[root@node03 ~]# vim /usr/lib/systemd/system/docker.service 
//鏇存敼鍐呭涓?ExecStart=/usr/bin/dockerd --insecure-registry 192.168.45.129:5000
[root@node03 ~]# systemctl  daemon-reload 
[root@node03 ~]# systemctl  restart  docker.service 
//閲嶆柊鍚姩node02銆乶ode03鑺傜偣鐨刣ocker鏈嶅姟
[root@node01 ~]# docker pull httpd  
[root@node01 ~]# docker tag httpd:latest 192.168.1.1:5000/httpd:latest
[root@node01 ~]# docker push 192.168.1.1:5000/httpd:latest 
//灏唄ttpd闀滃儚涓婁紶鍒扮鏈変粨搴撲腑
[root@node02 ~]#  curl 192.168.45.129:5000/v2/_catalog    //鏌ョ湅绉佹湁浠撳簱涓殑闀滃儚
{"repositories":["httpd"]}
[root@node02 ~]#docker pull 192.168.45.129:5000/httpd
//涓嬭浇绉佹湁搴撲腑鐨刪ttpd闀滃儚

涓冦€乻ervice鏈嶅姟鐗堟湰鐨勫崌绾т笌鍥炴粴

锛?锛夊噯澶囩幆澧?/strong>

[root@node01 ~]# mkdir version{1,2,3,}
[root@node01 ~]# cd version1
[root@node01 version1]# echo "version1" >> index.html
[root@node01 version1]# echo -e "FROM httpd:latest
ADD index.html /usr/local/apache2/htdocs/index.html" > Dockerfile
[root@node01 version1]# docker build -t 192.168.45.129:5000/httpd:v1 .
//version1鐩綍涓嬫ā鎷熺敓鎴愮増鏈瑅1
[root@node01 version1]# cp Dockerfile ../version2
[root@node01 version1]# cd !$
cd ../version2
[root@node01 version2]# echo "version2" >> index.html
[root@node01 version2]# docker build -t 192.168.45.129:5000/httpd:v2 .
//vesion2鐩綍涓嬫ā鎷熺敓鎴愮増鏈瑅2
[root@node01 version2]# cp Dockerfile ../version3
[root@node01 version2]# cd !$
cd ../version3
[root@node01 version3]# echo "version3" >> index.html
[root@node01 version3]# docker build -t 192.168.45.129:5000/httpd:v3 .
//vesion3鐩綍涓嬫ā鎷熺敓鎴愮増鏈瑅3
//娉ㄦ剰鍦ㄤ富椤甸潰鍋氫竴浜涘尯鍒?[root@node01 ~]# docker push 192.168.45.129:5000/httpd:v1
[root@node01 ~]# docker push 192.168.45.129:5000/httpd:v2
[root@node01 ~]# docker push 192.168.45.129:5000/httpd:v3
//灏嗙敓鎴愮殑闀滃儚涓婁紶鍒扮鏈変粨搴?[root@node01 ~]# docker service create --replicas 3 --name httpd 192.168.45.129:5000/httpd:v1
//鍩轰簬192.168.45.129:5000/httpd:v1鍒涘缓涓変釜service鍓湰

娴忚鍣ㄨ闂祴璇曪細
鎶€鏈浘鐗? src=

娉細涓変釜service鍓湰鏄疆璇㈢殑鏂瑰紡鏉ユ湇鍔$殑
锛?锛夌増鏈崌绾?/strong>
鎶€鏈浘鐗? src=
榛樿鎯呭喌涓嬶紝swarm涓€娆″彧鏇存柊涓€涓壇鏈紝骞朵笖涓や釜鍓湰涔嬮棿骞舵病鏈夌瓑寰呮椂闂达紝鍙互閫氳繃浠ヤ笂鏂规硶杩涜璁剧疆銆?/p>

[root@node01 ~]# docker service update --replicas 6 --image 192.168.45.129:5000/httpd:v3 --update-parallelism 2 --update-delay 1m httpd
//--update-parallelism锛氳缃洿鏂扮殑鍓湰鏁伴噺锛?//--update-delay锛氭洿鏂扮殑闂撮殧鏃堕棿
// --replicas 6锛氬苟鍦ㄥ崌绾х殑杩囩▼涓彟澶栧啀鍒涘缓3涓壇鏈?/code>

浠庢洿鏂扮殑杩囩▼涓彲浠ョ湅鍑烘晥鏋滐紒

娴忚鍣ㄧ‘璁ょ増鏈洿鏂版垚鍔燂細
鎶€鏈浘鐗? src=
锛?锛夌増鏈洖婊?/strong>

[root@node01 ~]# docker service rollback httpd
//鍥炴粴涓轰笂涓€涓増鏈?/code>

鎶€鏈浘鐗? src=
娉ㄦ剰锛氬綋鎴戜滑鎵ц鍥炴粴鎿嶄綔鐨勬椂鍊欙紝榛樿鏄洖婊氬埌涓婁竴娆℃搷浣滅殑鐗堟湰锛屽苟涓斾笉鍙互杩炵画鍥炴粴銆?/strong>

以上是关于Docker涔媠warm閮ㄧ讲闆嗙兢的主要内容,如果未能解决你的问题,请参考以下文章

Docker Swanm闆嗙兢閰嶇疆

閫氳繃docker鎼缓ELK闆嗙兢

Docker閮ㄧ讲Egg.js搴旂敤

wsl2涓婄敤docker閮ㄧ讲杩愯鐜锛宮vn鏋勫缓闀滃儚鎵句笉鍒癲ockerhost

flink1.10 Linux 闆嗙兢瀹夎

Redis闆嗙兢閮芥湁鍝簺妯″紡