NTFS permissions not committed? RRS feed

  • Question

  • Hi,

    I'm testing a ASP.NET 4.6 based application running inside a Windows Server Container and this app requires write access to some directories.

    When I modify permissions on these directories with either icacls or PowerShell directly in the container and then committing my changes to a new image, these changes are gone.

    Steps to reproduce:

    1. docker run -it windowsservercore powershell

    2. mkdir c:\test, modify some permissions on this and exit

    3. docker commit #ID testimage

    4. docker run -it testimage powershell

    5. dir c: and see the test directory is present but the permissions you added in step 2 is gone.

    I'm I doing something wrong or is this not implemented yet?

    Monday, December 14, 2015 8:33 AM