My Dockerfile creates a directory, chown\'s it, and then lists the directory afterwards. The directory is still owned by root. Why is that?
Here is the Dockerfile:
In my experience, chown does not work when mounting to root (VOLUME /test). Use a non-root location (VOLUME /var/test).
chown
VOLUME /test
VOLUME /var/test