windows 下 dokcer build 後出現權限設置問題
這個權限是指哪個目錄,然後怎麼設置?
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.
PHP中文网2017-04-24 09:11:28
windows本身是透過安裝Linux虛擬機器來支援Docker容器化解決方案的,這些的權限指的是我們建立的虛擬主機的目錄權限。
//如果我们的虚拟名为default,进入之后用chmod命令对相应的目录进行权限操作
docker-machine ssh defualt