I recently switched from Docker Desktop to colima and I've been unable to start a neo4j container eversince. When I run docker-compose, I get the following errors in docker logs, causing neo4j to crash:
> docker logs neo4j
Changed password for user 'neo4j'.
chown: /data/dbms/auth.ini: Permission denied
chown: /data/dbms: Permission denied
chown: /data/dbms: Permission denied
chown: /data: Permission denied
chown: /data: Permission denied
Previously, the same code worked fine with the Docker Desktop set-up. Any ideas how can I fix this?
I have tried the following:
- Verified that read/write permissions are there for the signed-in user on the corresponding files and directories mentioned in the logs above.
- Tried reinstalling colima, docker and docker-compose.
- Cross-checked permissions on the relevant folders for these tools (/.colima, /.docker etc.)
- Running all commands with "sudo" wherever applicable
- Tried deleting the /data/ directory mentioned in the logs so it can be re-generated properly
- Turning it off and on :P