windows 下 dokcer build 后出現(xiàn)權(quán)限設(shè)置問題這個(gè)權(quán)限是指哪個(gè)目錄,然后怎么設(shè)置?SECURITY WARNING: You are building a Docker image from Windows against a non-Windows Docker host. All files and directories added to build context will have '-rwxr-xr-x' permissions. It is recommended to double check and reset permissions for sensitive files and directories.
1 回答

拉丁的傳說
TA貢獻(xiàn)1789條經(jīng)驗(yàn) 獲得超8個(gè)贊
windows本身是通過安裝Linux虛擬機(jī)來支持Docker容器化解決方案的,這些的權(quán)限指的是我們創(chuàng)建的虛擬主機(jī)的目錄權(quán)限。
//如果我們的虛擬名為default,進(jìn)入之后用chmod命令對相應(yīng)的目錄進(jìn)行權(quán)限操作 docker-machine ssh defualt
- 1 回答
- 0 關(guān)注
- 2369 瀏覽
添加回答
舉報(bào)
0/150
提交
取消