April-15th-2019, 09:23 PM
I know such a problem very well and indeed your problem is the windows file system that cannot save the file “entrypoint.sh” file as being “Linux” executable.
So once you copied the original files from the repository onto your windows machine the executable property got lost.
Now back to the problem and how to solve it. First of all the command “chmod +x entrypoint.sh” is definitively the correct command to call. You said you tried it already but I have no explanation right now why it should not work.
What I basically can tell you is that I know at least three customer how combined these two containers already
successfully. So the root cause are not the containers themselves.
How about posting your Dockerfile...
I have another recommendation. Your container crashes for sure...but during container start you can specify a different entrypoint online. Use “/bin/bash” instead and use it in terminal and interactive mode. And then use the embedded console in portainer.io to jump into the container and use Linux commands as usual. Then go to your entrypoint.sh file and watch it if it is really not executable
Thx
Armin
So once you copied the original files from the repository onto your windows machine the executable property got lost.
Now back to the problem and how to solve it. First of all the command “chmod +x entrypoint.sh” is definitively the correct command to call. You said you tried it already but I have no explanation right now why it should not work.
What I basically can tell you is that I know at least three customer how combined these two containers already
successfully. So the root cause are not the containers themselves.
How about posting your Dockerfile...
I have another recommendation. Your container crashes for sure...but during container start you can specify a different entrypoint online. Use “/bin/bash” instead and use it in terminal and interactive mode. And then use the embedded console in portainer.io to jump into the container and use Linux commands as usual. Then go to your entrypoint.sh file and watch it if it is really not executable
Thx
Armin
„You never fail until you stop trying.“, Albert Einstein (1879 - 1955)