-
-
Notifications
You must be signed in to change notification settings - Fork 95
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error running datagate #6
Comments
Can you post your docker file here? If possible, please also mention your test setup. |
Sure!
This is the dockerfile contents:
|
Also i'm using the commands (inside the dockerfile folder):
|
Hmm that is strange. I'll look into it. |
What is the docker version you are using? |
Docker version 17.05.0-ce, build 89658be |
One thing you can do now is add this line before entrypoint command in your docker file
It will solve this issue. Meantime, I'll update the documentation in the upcoming release. And I'll also change the permission of the sh file during CI build. Does that sound good? |
Hi, But, worked in this way:
Thanks for your time!, i think that is enough for this issue, i have an additional problem but i will create a new issue for that. |
The ENTRYPOINT should not run before the RUN command. I can ran the datagate server with this change. Just want to make sure, did you delete the old image and rebuild it after making these changes? Anyway your change is also more or less same. |
Agree, but i tried again with this steps:
I got again: |
This is really seems strange to me. While building the image from scratch, did you get a step like this? Could you please run these commands?
I just need to get to the bottom of the issue. |
Sure! Sorry, I tried with that commands but i got the same issue. But this is the output of the build command (looks different):
|
Just one last thing. Can you try with
instead of
Remember the "./" in front of datagate.sh |
Yes, that works as expected. |
Hi,
Im triying to run the datagate docker image but i have this error message
root@ubuntu-512mb-tor1-01:/home/server/repo/ci/datagate# docker run -p 9090:8080 --name container-datagate-test datagate-test
container_linux.go:247: starting container process caused "exec: "./datagate.sh": permission denied"
docker: Error response from daemon: oci runtime error: container_linux.go:247: starting container process caused "exec: "./datagate.sh": permission denied".
The text was updated successfully, but these errors were encountered: