在windows container怎樣把網路磁碟機掛成 Volume, 試了很久。 包括 net use 成一個碟碟機之後再試了就是掛不進去。
google 很久找到的 solution 都是 for linux 的. 在 windows 上要把網路上的磁碟機掛成 volume 似乎就只有類似像 iSCSI 這種方式而己。
山不轉路轉
後來突然轉念, 直接在 container 裡掛起來就好了啊
在container裡下
net use z: "\\172.16.0.10\folder" /user:eric mypassword
還可以再把網路磁碟機變成C槽的某個資料夾
mklink /d z:\ c:\files
沒有留言:
張貼留言