search

Home  >  Q&A  >  body text

docker - windows 下 dokcer build 后出现权限设置问题

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.

伊谢尔伦伊谢尔伦2804 days ago1277

reply all(1)I'll reply

  • PHP中文网

    PHP中文网2017-04-24 09:11:28

    Windows itself supports Docker containerization solutions by installing Linux virtual machines. These permissions refer to the directory permissions of the virtual host we created.

    //如果我们的虚拟名为default,进入之后用chmod命令对相应的目录进行权限操作
    docker-machine ssh defualt

    reply
    0
  • Cancelreply