Error mounting a config file into the container

前端 未结 2 677
小鲜肉
小鲜肉 2021-01-05 00:47

Edit: I\'m on windows.

I am experimenting with docker-compose. I know that I should use a Dockerfile to copy a file into the container, but I want to solve

2条回答
  •  太阳男子
    2021-01-05 00:58

    To add a users group to a directory in Windows follow these steps:

    1. Right-click the directory
    2. Click properties
    3. click the security tab
    4. click the "Edit" button.
    5. click the add button
    6. Type "users" in the text box
    7. click "Check Names" (should auto fill/update for you)
    8. click okay
    9. Highlight your newly added group.
    10. Under "Permissions for [User/Groupname]" select Full control
    11. click apply
    12. Click "OK"
    13. Click "OK"

    See also this Docker issue: https://github.com/docker/for-win/issues/3385

提交回复
热议问题