如何更改Docker for Windows的所有者

环境

  • Windows 10 [10.0.15063]
  • Docker for Windows Community Edition 17.03.1-ce-win12(12058)stable
  • 主机安装并分区为NTFS格式

命令

主办

docker run -d --volume E:/tmp:/tmp/test --name debian debian:8 docker exec -it debian /bin/bash

容器

cd /tmp/test mkdir abc ls -l # This line will be shown that root is the owner of abc useradd hello chown hello:hello abc ls -l # This line will be shown that root is still the owner of abc

我怎样才能改变安装目录的所有者? 或者我不能在Windows内?

到目前为止,我还没有在Windows中find解决scheme。 但是我find了解决数据量这个问题的方法。