Creating a workspace using chectl and a local devfile

A Che workspace can be created by pointing the chectl tool to a locally stored devfile. The Che instance then uses the discovered devfile to build a workspace.

Prerequisites
Example

Download the devfile.yaml file from the GitHub repository to the current working directory.

Procedure
  1. Run a workspace from a devfile using the workspace:create parameter with the chectl tool as follows:

$ chectl workspace:create --name=<WORKSPACE_NAME> \ (1)
--devfile=devfile.yaml --start \
-n eclipse-che
1 The workspace name to create.
If --devfile flag is omitted, the chectl looks for devfile.yaml or devfile.yml files in the current directory to create a workspace from.