Back to Theia

README

packages/dev-container/README.md

1.71.01.8 KB
Original Source
<div align='center'> <h2>ECLIPSE THEIA - DEV-CONTAINER EXTENSION</h2> <hr /> </div>

Description

The @theia/dev-container extension provides functionality to create, start and connect to development containers similiar to the vscode Dev Containers extension.

The full devcontainer.json Schema can be found here. Currently not all of the configuration file properties are implemented. The following are implemented:

  • name
  • Image
  • dockerfile/build.dockerfile
  • build.context
  • location
  • forwardPorts
  • mounts
  • containerEnv
  • remoteEnv
  • remoteUser
  • shutdownAction
  • postCreateCommand
  • postStartCommand

see main-container-creation-contributions.ts for how to implementations or how to implement additional ones.

Additionally adds support for composeUpArgs devcontainer.json property to apply additional arguments for the docker compose up call. Usage: "composeUpArgs": ["--force-recreate"]

Additional Information

License

Trademark

"Theia" is a trademark of the Eclipse Foundation https://www.eclipse.org/theia