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?

  • How do I use livereload.js when my server is hosted?
  • alpine linux docker image, console encoding trouble
  • File name too long on docker
  • Adding services in different consul clients running on same host
  • not able to run docker container as it exits right after it start
  • Docker “/bin/bash” could not be invoked when mounting an NFS file with -v on openstack
  • how to remove an ENV setting from a docker image
  • Gitlab, docker and sendmail ports
  • Additional steps in Dockerfile
  • How to restart shiny server in Docker container?
  • Backing up and restoring mysql database with Laravel/Docker
  • How to launch AVD while keep running docker
  • 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.