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?

  • Docker: Swarm worker nodes not finding locally built image
  • How do I set VirtualBox VM options using docker-machine?
  • Django Logging Permission Error [Errno 13] Permission denied
  • How to SSH to docker container in kubernetes cluster?
  • Attaching a Google persistent disk to a Cloud SDK Docker container
  • Docker swarm run tasks only in workers
  • How would you go about dockerfile and rpm scripting?
  • Remote Docker daemon with public access from any client?
  • Ansible docker_container 'no Host in request URL', docker pull works correctly
  • How to get Docker containers to talk to each other while running on my local host?
  • Running Xephyr inside a docker container
  • Access host XServer from Docker container
  • 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.