Open sadovnikov opened 8 years ago
Possibly, has the same cause as #426
I think it's reasonable to make it a requirement to run docker with user namespaces enabled. Then root account in a container will always map to the user who's running the container. As long as the containers run under root, writing something in mapped volumes will result in files owned by root. Only container processes run under root and root account can make changes to these files then.
Also described here #332
Start
minimesos
cluster and install MySql usingContainer starts, but
mysql
fails to create databases - unable to write to disk. To work-around this, remove${MINIMESOS_HOST_DIR}
fromhostPath
./data/mysql
directory will get created in docker-machine, andmysql
is able to write