浜戣�绠楁牳蹇冩妧鏈疍ocker鏁欑▼锛氬湪 ACI Docker涓婄�鐞� Azure 鍗�

  发布时间:2026-11-13   作者:玩站小弟   我要评论
你的婚礼免费观看在线观看。

鑻ヨ�鍦ㄤ娇鐢� ACI Docker 涓婁笅鏂囨椂鍒涘缓鍙�湪瀹瑰櫒鎴� Compose 搴旂敤绋嬪簭涓�娇鐢ㄧ殑鍗凤紝鍙�互浣跨敤璇�ocker volume create鍛戒护锛屽苟鎸囧畾 Azur浜戣e 瀛樺偍甯愭埛鍚嶇О鍜屾枃浠跺叡浜�悕绉帮細

$ docker --context aci volume create test-volume --storage-account mystorageacco�绠unt

[+] Running 2/2

mystorageaccount Created 26.2s

test-volume Created 0.9s

mystorageaccount/test-volume

榛楁牳樿�鎯呭喌涓嬶紝濡傛灉瀛樺偍甯愭埛灏氫笉瀛樺湪锛屾�鍛戒护灏嗕娇鐢ㄦ爣鍑� LRS 浣滀负榛樿� SKU 浠ュ強涓� Docker ACI 涓婁笅鏂囧叧鑱旂殑璧勬簮缁勫拰浣嶇疆鍒涘缓涓€涓�柊鐨勫瓨鍌ㄥ笎鎴枫€�

濡蹇冩傛灉鎸囧畾鐜版湁瀛樺偍甯愭埛锛岃�鍛戒护灏嗗湪鐜版湁甯愭埛涓�垱寤烘柊鐨勬枃浠跺叡浜�細

$ docker --context aci volume create test-volume2 --storage-妧鏈account mystorageaccount

[+] Running 2/2

mystorageaccount Use existing 0.7s

test-volume2 Created 0.7s

myst疍oorageaccount/test-volume2

鎴栬€咃紝鎮ㄥ彲浠ヤ娇鐢� Azure 闂ㄦ埛鎴朼z 鍛戒护琛屽垱寤� Azure 瀛樺偍甯愭埛鎴栨枃浠跺叡浜�€�

鎮ㄨ繕鍙�互鍒楀嚭鍙�敤浜庡�鍣ㄦ垨ck Compose 搴旂敤绋嬪簭鐨勫嵎锛�

$ docker --context aci volume ls

ID DESCRIPTION

mystorageaccount/test-volume Fileshare terest-volume in mystorageaccount storage account

mystorageaccount/test-volume2 Fileshare test-volume2 in鏁欑 mystorageaccount storage account

瑕佸垹闄ゅ嵎鍜岀浉搴旂殑 Azure 鏂囦欢鍏变韩锛岃�浣跨敤浠ヤ笅volume rm鍛戒护锛�

$ docker --context aci volum▼锛e rm mystorageaccount/test-volume

mystorageaccount/test-volume

杩欏皢姘镐箙鍒犻櫎 Azure 鏂囦欢鍏变韩鍙婂叾鎵€鏈夋暟鎹�€�

鍦� A氬湪zure 涓�垹闄ゅ嵎鏃讹紝璇ュ懡浠や細妫€鏌ユ寚瀹氱殑鏂囦欢鍏变韩鏄�惁鏄�瓨鍌ㄥ笎鎴蜂腑鍞�竴鍙�敤鐨勬枃浠跺叡浜�€傚�鏋滃瓨鍌ㄥ笎鎴锋槸浣跨敤璇�ocker volume create鍛戒护鍒涘缓 A鐨勶紝鍒檇ocker volume rm褰撳畠娌℃湁浠讳綍鏂囦欢鍏变韩鏃朵篃浼氬垹闄よ�瀛樺偍甯愭埛銆傚�鏋滀娇鐢ㄦ湭閫氳繃docker volume create鍛戒护鍒涘缓鐨勫瓨鍌ㄥ笎鎴凤紙渚CI嬪�閫氳繃 Azure 闂ㄦ埛鎴栦娇鐢╝z鍛戒护琛岋級锛宒ocker volume rm 鍒欎笉浼氬垹闄よ�瀛樺偍甯愭埛锛屽嵆浣垮畠鐨勫墿浣欐枃浠跺叡浜�负闆躲€�

  • Tag:

相关文章

最新评论