1
0
mirror of synced 2026-01-09 15:02:41 -05:00
Files
docs/data/reusables/codespaces/devcontainer-properties-1.md
hubwriter 18a2cc8498 Remove experimental format ("playground") page from Codespaces docs (#33732)
Co-authored-by: github-actions <github-actions@github.com>
Co-authored-by: Kevin Heis <heiskr@users.noreply.github.com>
Co-authored-by: Isaac Brown <101839405+isaacmbrown@users.noreply.github.com>
Co-authored-by: Peter Bengtsson <peterbe@github.com>
2023-01-11 19:52:51 +00:00

4 lines
1.3 KiB
Markdown

- **name**: You can name your dev container anything you want. A default value is supplied.
- **image**: The name of an image in a container registry ([DockerHub](https://hub.docker.com/), [{% data variables.product.prodname_dotcom %} {% data variables.product.prodname_container_registry %}](/packages/guides/about-github-container-registry), or [Azure Container Registry](https://azure.microsoft.com/services/container-registry/)) that will be used to create the dev container for the codespace.
- **features**: A list of one or more objects, each of which references one of the available dev container features. Features are self-contained, shareable units of installation code and development container configuration. They provide an easy way to add more tooling, runtime, or library features to your development container. For more information, see "[Available Dev Container Features](https://containers.dev/features)" on the Development Containers website. You can add features by going to the {% data variables.product.prodname_vscode_command_palette_shortname %} and typing `features`.
- **forwardPorts**: Any ports listed here will be forwarded automatically. For more information, see "[Forwarding ports in your codespace](/codespaces/developing-in-codespaces/forwarding-ports-in-your-codespace)."