Skip to content

Latest commit

 

History

History
70 lines (42 loc) · 2.58 KB

README.md

File metadata and controls

70 lines (42 loc) · 2.58 KB

Theia applications

Build Status

Theia is a platform to develop Cloud & Desktop IDEs with modern web technologies.

This repository contains example Theia applications based on published Theia extension packages.

Theia Docker

dockeri.co

theiaide/theia image contains an example of Theia based IDE for Web Developers.

How to use theiaide/theia image?

At the moment Theia is still in active development. It is recommended to use theiaide/theia:next image to have a look at the current state.

This script pulls the image and runs Theia IDE on http://localhost:3000 with the current directory as a workspace. The option of --init is added to fix the defunct process problem.

# Linux or macOS
docker run -it --init -p 3000:3000 -v "$(pwd):/home/project:cached" theiaide/theia:next

# Windows
docker run -it --init -p 3000:3000 -v "%cd%:/home/project:cached" theiaide/theia:next

You can pass additional arguments to Theia after the image name, for example to enable debugging:

# Linux or macOS
docker run -it --init -p 3000:3000 --expose 9229 -p 9229:9229 -v "$(pwd):/home/project:cached" theiaide/theia:next --inspect=0.0.0.0:9229

# Windows
docker run -it --init -p 3000:3000 --expose 9229 -p 9229:9229 -v "%cd%:/home/project:cached" theiaide/theia:next --inspect=0.0.0.0:9229

Image Variants

theiaide/theia:latest

This image is based on the latest stable released version.

theiaide/theia:<version>

This image is based on the given stable released version.

theiaide/theia:next

This image is based on the nightly published version.

theiaide/theia:<version>-next.<commit hash>

This image is based on the given nightly published version.

Theia Desktop

TBD

License

Apache 2.0