1
0
mirror of synced 2025-12-26 14:02:45 -05:00
Files
docs/data/reusables/codespaces/devcontainer-properties-1.md
2023-02-15 15:16:18 +00:00

1.3 KiB

  • 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, {% data variables.product.prodname_dotcom %} {% data variables.product.prodname_container_registry %}, or Azure 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" 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 "AUTOTITLE."