Can I change owner of directory that is mounted on volume in IBM containers?
I'm trying to launch postgres in IBM containers. I have just created volume by: $ cf ic volume create pgdata Then mount it: $ cf ic run --volume pgdata:/var/pgsql -p 22 registry.ng.bluemix.net/ruimo/pgsql944-cli After logging into container through ssh, I found the mounted directory is owned by root: drwxr-xr-x 3 root root 4096 Jul 8 08:20 pgsql Since postgres does not permit to run by root, I want to change the owner of this directory. But I cannot change the owner of this directory: # chown postgres:postgres pgsql chown: changing ownership of 'pgsql': Permission denied Is it possible to