-
Notifications
You must be signed in to change notification settings - Fork 127
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
DockerHub image for Theia IDE #338
Comments
Thank you for opening this issue. I haven't had the chance to read the entire discussion yet, but I wanted to point out that we have a Theia IDE docker image available on the public GitHub registry, which you can find here: https://github.com/eclipse-theia/theia-blueprint/pkgs/container/theia-blueprint%2Ftheia-ide |
We should link this on a good position, I will get back to this |
Thanks @jfaltermeier for mentioning the GitHub registry docker image, I hadn't noticed that. I suggest that a good place to mention it, for starters, is at the very bottom of the README of Theia IDE, where it discusses building a docker image. At least a quick mention that for use it is not necessary to build because there already exists an image would be helpful. (This gets into the use vs. development conversation at eclipse-theia/theia-website#524.) |
I have tried running the above linked Docker image on a macOS machine with an m2 chip and get the following message;- WARNING: The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested Is there a Docker image for macOS available? |
Contributed on behalf of STMicroelectronics
Contributed on behalf of STMicroelectronics
Thank you. I couldn't see a new Docker image. I have also tried using the build command;- docker build -t theia-ide -f browser.Dockerfile . but get an error message;-
I currently have an Eclipse RCP app based on Xtext and GEF/GMF and am considering migrating to LSP/GLSP. Currently facing a huge learning curve for Docker/Theia. |
Hi @madamedefarge , I do not have an Apple M2 chip to test this, but maybe something to try: |
Thank you! I already have Rosetta installed so whilst that post didn't have the answer it gave me enough clues to work out how to get it working. On macOS M1/M2 chips etc Docker needs to have the emulation platform specified. Thus the command to build the docker image is;- docker build --platform linux/amd64 -t theia-ide -f browser.Dockerfile . and the command to run is;- docker run -p 3000:3000 --platform linux/amd64 --rm theia-ide Just in case this helps anyone else. :-) |
@JonasHelming regarding where to document this:
I suggest at the end of the first paragraph in the README section titled What is this?, right after it says:
Or/and at the bottom of the README, like I mentioned above #338 (comment). (There may be additional important locations, in the docs or elsewhere.) |
@dannaf : Yes, what we will do is:
@jfaltermeier Will create the first, once this is done, I will create the other two links |
see #355 |
Both PRs above are merged, I would close this issue now. |
I am closing this issue, as the Docker build is linked (in the docs, on the front page and in the readme). If you have remaining isues with runnin the Docker image, please open dedicated issues. |
Feature Description:
A DockerHub image of Theia IDE would be useful as an out-of-the-box usable browser IDE product.
(Discussed with @JonasHelming here: eclipse-theia/theia-website#524 (comment) (updated to exqct comment))
The text was updated successfully, but these errors were encountered: