- Notifications
You must be signed in to change notification settings - Fork1.1k
docs: improve dev containers documentation for user start-up#15458
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Changes from1 commit
d7414603ed5c3edcf901c16cce07e96b1bc22e399d4f91cd08e37e58985233af2c59beb24f6154c28411fc20dc3197cfa75a93ff28e5373580bf5daca5618614916807f8b079547cfe0d22f76fce0d2be66fcca0de5815969415d4ae543deca0da6d381bb73ade54e9e46fc139982af4182d69abf2e0facd99937d17dbea2c3ca6dc28f16df344dffFile filter
Filter by extension
Conversations
Uh oh!
There was an error while loading.Please reload this page.
Jump to
Uh oh!
There was an error while loading.Please reload this page.
Diff view
Diff view
- Loading branch information
Uh oh!
There was an error while loading.Please reload this page.
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,10 +1,15 @@ | ||
| # Add a dev container template to Coder | ||
| A Coder administrator adds a dev container-compatible template to Coder | ||
| (Envbuilder). This allows the template to prompt for the developer for their dev | ||
| container repository's URL as a | ||
| [parameter](../../extending-templates/parameters.md) when they create their | ||
| workspace. Envbuilder clones the repo and builds a container from the | ||
| `devcontainer.json` specified in the repo. | ||
| You can create template files through the Coder dashboard, CLI, or you can | ||
| choose a template from the | ||
| [Coder registry](https://registry.coder.com/templates?tag=devcontainer): | ||
EdwardAngert marked this conversation as resolved. OutdatedShow resolvedHide resolvedUh oh!There was an error while loading.Please reload this page. | ||
| <div class="tabs"> | ||
| @@ -16,7 +21,7 @@ You can create template files through the Coder dashboard, CLI, or you can choos | ||
| select **Choose a starter template**. | ||
| - Select **From scratch** to create a new template and enter information and | ||
| file contents manually. | ||
| ## CLI | ||
| @@ -59,27 +64,28 @@ You can create template files through the Coder dashboard, CLI, or you can choos | ||
| 1. Create a `.zip` of the template files: | ||
| - On Mac or Windows, highlight the files and then right click. A | ||
| "compress" option is available through the right-click context menu. | ||
| - To zip the files through the command line: | ||
| ```shell | ||
| zip templates.zip Dockerfile main.tf | ||
| ``` | ||
| 1. Select **Templates**. | ||
| 1. Select **Create Template**, then **Upload template**: | ||
|  | ||
| 1. Drag the `.zip` file into the **Upload template** section and fill out the | ||
| details, then select **Create template**. | ||
|  | ||
| </div> | ||
| To set variables such as the namespace, go to the template in your Coder | ||
| dashboard and select **Settings** from the **⋮** (vertical ellipsis) menu: | ||
|  | ||
Member There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others.Learn more. Member There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others.Learn more. We have a general image sizing issue through out docs. Related#15495 Member There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others.Learn more. IMO this should be higher resolution, regardless of any site changes Member There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others.Learn more. and smaller in size to match font size with font on the site. |
