Skip to content
This repository has been archived by the owner on Aug 29, 2018. It is now read-only.

install gear isolate doesn't work #266

Open
ignaciorivmen opened this issue Oct 8, 2014 · 2 comments
Open

install gear isolate doesn't work #266

ignaciorivmen opened this issue Oct 8, 2014 · 2 comments

Comments

@ignaciorivmen
Copy link

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
Copy link

mildred commented Oct 30, 2014

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:

  • if your container relies on the fact that it runs ENTRYPOINT, it won't work
  • the ENTRYPOINT specified by geard might run the script specified by RUN fron a different state (isolated, that's the goal), and it might be incompatible with your container, if it relies on features that can't be isolated.

@ignaciorivmen
Copy link
Author

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?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants