Open vbasem opened 2 years ago
Hello @vbasem,
This was fixed in https://github.com/arangodb/arangodb-docker/commit/d46dfa818833436aa89907a045c803de84c7868a and soon will appear at https://hub.docker.com/_/arangodb?tab=description.
To make the directories root writeable on a image is not a good idea. Usually root it's prohibited (by psp) to run a image as root. As well, it's a bad practice to write to image filesystem as well!
The folder permissions for
/var/lib/arangodb3 /var/lib/arangodb3*
are not being properly set to775
as mentioned in the Dockerfile:The
echo
is rendering the command ineffective. This causes environments that disallow root user to fail when starting the ID container which needs to write to those folders which only have read permission by default.I fixed it locally by rebuilding the image by simply removing the
echo
in the 2 commands above.Was the
echo
on purpose?Basem Vaseghi basem.vaseghi@daimler.com, Daimler TSS GmbH, legal info/Impressum