docker-entrypoint.sh: line 113: conf/neo4j.conf: Permission denied

Deploying docker Neo4J image using openshift and I’m getting this error:

docker-entrypoint.sh: line 113: conf/neo4j.conf: Permission denied.

Any idea how to solve this issue on open shift?

  • Consistent hostname for Docker containers/VM across platforms?
  • Accessing system variables through HHVM
  • Queries about LoadBalancing in Kubernetes cluster
  • Strange behavior of celery workers in ecs docker container
  • Docker build project from Docker Hub
  • Does “docker-compose down” invoke “docker stop” on each container?
  • Docker: adding a file from a parent directory
  • Error response from daemon: EOF on remove image
  • Docker compose permission denied on cento 7 when creating mysql database Linux issue
  • How to get contents generated by a docker container on the local fileystem (minimal failing example)
  • Google Managed VMs data volume
  • How can I create a user using htdigest without prompting for password
  • One Solution collect form web for “docker-entrypoint.sh: line 113: conf/neo4j.conf: Permission denied”

    OpenShift will by default run your image as an assigned user ID, not what your Dockerfile says to run as. You need to ensure you filesystem permissions are set so as to allow a user running with group root is able to access them, and modify as well if necessary. It will be group root as the user ID it runs as will not be in the passwd file on the container so it will fallback to using group ID of 0, corresponding to root group.

    Docker will be the best open platform for developers and sysadmins to build, ship, and run distributed applications.