Closed moataznabil closed 6 years ago
Hi @moataznabil, thanks for your question. Seems that /entrypoint1.sh doesn't have some permissions. Make next steps:
And see what are the permissions for entrypoint1.sh file
@serputko still the same issue when I run docker-compose up -d
ERROR: for 1ca2f34b1ced_1ca2f34b1ced_1ca2f34b1ced_1ca2f34b1ced_1ca2f34b1ced_1ca2f34b1ced_1ca2f34b1ced_1ca2f34b1ced_1ca2f34b1ced_1ca2f34b1ced_1ca2f34b1ced_1ca2f34b1ced_1ca2f34b1ced_1ca2f34b1ced_1ca2f34b1ced_1ca2f34b1ced_influxdb Cannot start service influxdb: OCI runtRecreating wptserver ... done Recreating jenkins ... done
ERROR: for influxdb Cannot start service influxdb: OCI runtime create failed: container_linux.go:296: starting container process caused "exec: \"/entrypoint1.sh\": permission denied": unknown ERROR: Encountered errors while bringing up the project.
the influxdb.Dockerfile is:
FROM influxdb:latest
COPY entrypoint1.sh /entrypoint1.sh
@moataznabil hmmm, after you removed line from dockerfile and made docker-compose build entrypoint1.sh should not be executed. lets try to remove even copying line (COPY entrypoint1.sh /entrypoint1.sh)
@serputko yeah , I removed also the (COPY entrypoint1.sh /entrypoint1.sh) and still I have the same error
@moataznabil Did you do docker-compose build?
@serputko yes , actually I tried it with windows machine and it's working fine , So I guess there is an issue with macOS
Hi @moataznabil I've pushed changes that should fix MacOS compatibility, could you check that please?
Thanks
I got this error when I run docker-compose up -d , all the containers are running but there is an error with Influxdb .
I also run docker-compose up --build to build the images but the same issue
Error: Recreating 1ca2f34b1ced_1ca2f34b1ced_1ca2f34b1ced_1ca2f34b1ced_1ca2f34b1ced_1ca2f34b1ced_influxdb ... error
ERROR: for 1ca2f34b1ced_1ca2f34b1ced_1ca2f34b1ced_1ca2f34b1ced_1ca2f34b1ced_1ca2f34b1ced_influxdb Cannot start service influxdb: OCI runtime create failed: container_linux.go:296: starting container process caused "exec: \"/entrypoint1.sh\": permission denied": unknown
ERROR: for influxdb Cannot start service influxdb: OCI runtime create failed: container_linux.go:296: starting container process caused "exec: \"/entrypoint1.sh\": permission denied": unknown ERROR: Encountered errors while bringing up the project.
I'm using mac OS with High sierra version and latest docker version