-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Passing argument to docker image #170
Comments
Have you tried
And then
|
@garagatyi Thanks ~ I have tried but it will report this error:
Looks like the internal |
Hi: You wrote on stack overflow: My final solution is following you last "simple" case, neither write ENTRYPOINT nor CMD, just RUN sudo chown -R user:user /home/user/che, and invoke it like this: docker run -it --rm --privileged --net=host my/che bash -c " sudo service docker start && cd /home/user/che/bin/ && ./che.sh -r:159.203.211.163 run", which is working as I expected, although looks a little ugly. Trying to learn some lessons here. Should we make any improvements to:
|
@TylerJewell Thanks for your kind suggestions! I'm not sure what I really want for now, since I haven't read much of the che code, and not quite clear about the design in the I'm start to read che code now, may I reply this several days later? |
I have the same problem on WIndows7 (64Bit) at my workplace-PC and on WIndows10 at home. If you guys are testing the installation, maybe you're testing it on a machine which already fulfills a prerequisite which the installation of che doesn't create. `
Following EInvironment variables are not set: |
@freewind if you still have problems try a different storage on docker. I kept running into this issue (docker not starting in docker-in-docker scenario) until I used devicemapper in both my VM and the nested docker. I ended up creating a compose file to run eclipse-che for me (note that you will have to make some changes for the
and I run it with: hope this helps... YMMV (a lot), I run this on a Vagrant box in OS X, not via docker-machine |
Pull request #257 will help with some of the questions stated here. Can you check this and let us know if we can close this issue? |
@freewind The new way to start Che in Docker addresses all these issues. Docs are here https://eclipse-che.readme.io/docs/usage-docker In other threads you confirmed you can run Che in Docker on Digital Ocean. So I am closing the issue. Feel free ti reopen if the problem persists. |
Latest docker image can start, but I hope I can pass some argument to the internal
che.sh
, like:I've tried but make it myself, but not successful. So I asked a question on stackoverflow: http://stackoverflow.com/questions/34691752/how-to-write-a-dockerfile-which-i-can-start-a-service-and-run-a-shell-and-also-a
Thanks for help
The text was updated successfully, but these errors were encountered: