mvertes / docker-alpine-mongo

MongoDB Dockerfile based on light alpine container
MIT License
189 stars 82 forks source link

make run.sh executable #13

Open wittawasw opened 7 years ago

wittawasw commented 7 years ago

I was using docker-compose with this Dockerfile and found permission denied on /root/run.sh when executed with ENTRYPOINT

ERROR: for mongodb Cannot start service mongodb: invalid header field value "oci runtime error: container_linux.go:247: starting container process caused \"exec: \\\"/root/run.sh\\\": permission denied\"\n"

Add chmod +x to fix it.