openshift / geard

geard is no longer maintained - see OpenShift 3 and Kubernetes
Other
405 stars 80 forks source link

install gear isolate doesn't work #266

Open ignaciorivmen opened 10 years ago

ignaciorivmen commented 10 years ago

Hello, I'm newbie in Geard and i blocked on a problem for ssh to the containers. My problem start quickly, I'm not able to start a container with the isolate flag. When i install or deploy the container it always came to a failed status before start working. I'd tried with several containers and with the README's example too, but it is the same. What could be the problem?

mildred commented 9 years ago

The isolate command will specify a shell script to run before your docker RUN command. What it does is replace the container's entrypoint. That also mean that if you specified ENTRYPOINT in your Dockerfile, it will be skipped. It has two consequences:

ignaciorivmen commented 9 years ago

Thank you for the explanation, but I'm still having problems with it. I tried using CMD instead of ENTRYPOINT and like i expected it doesn't work, so, how can i execute the main process of the container?