Entrypoint: /setup.sh error

Hi

On my Ubuntu 18.04 Server I’ve installed
---- Begin Environment-----
Client:
Version: 17.12.1-ce
API version: 1.35
Go version: go1.10.1
Git commit: 7390fc6
Built: Wed Apr 18 01:23:11 2018
OS/Arch: linux/amd64

Server:
Engine:
Version: 17.12.1-ce
API version: 1.35 (minimum version 1.12)
Go version: go1.10.1
Git commit: 7390fc6
Built: Wed Feb 28 17:46:05 2018
OS/Arch: linux/amd64
Experimental: false

----- end Environment-----

My docker-compose.yml File:

------------- Begin docker-compose.yml file -----------------------------
version: ‘3’

networks:
monitor-net:
driver: bridge

volumes:
grafana_data: {}

services:

grafana:
image: grafana/grafana:4.6.3
container_name: grafana
volumes:
- grafana_data:/var/lib/grafana
- ./grafana/datasources:/etc/grafana/datasources
- ./grafana/dashboards:/etc/grafana/dashboards
- ./grafana/setup.sh:/setup.sh
entrypoint: ./setup.sh
environment:
- GF_SECURITY_ADMIN_USER={ADMIN_USER:-admin} - GF_SECURITY_ADMIN_PASSWORD={ADMIN_PASSWORD:-admin}
- GF_USERS_ALLOW_SIGN_UP=false
restart: unless-stopped
expose:
- 3000
ports:
- 3000:3000
--------------------- End of my docker-compose.yml file -----------------------------------
when I ran the command docker-compose up
------ Output -----------------------
Recreating grafana …
Recreating grafana … error

ERROR: for grafana Cannot start service grafana: OCI runtime create failed: container_linux.go:348: starting container process caused “exec: “./setup.sh”: permission denied”: unknown

ERROR: for grafana Cannot start service grafana: OCI runtime create failed: container_linux.go:348: starting container process caused “exec: “./setup.sh”: permission denied”: unknown
ERROR: Encountered errors while bringing up the project.

I’ve tested this with old grafana-versions also -> same error.

Any help would be preciated!
kind regards

That’s your script: ./grafana/setup.sh. Be sure, that user in the container is able to read&execute your script. My guess: chmod 755 ./grafana/setup.sh