Update dev-environments.md to match dialog (#14368)

* Update dev-environments.md to match dialog

Updated to match the "Create a Dev Environment" dialog in Docker Desktop 4.5.0 (74594)

* Apply suggestions from code review

Update instructions to match the latest UI udpates

Co-authored-by: Usha Mandya <47779042+usha-mandya@users.noreply.github.com>
This commit is contained in:
Jake Levirne 2022-04-08 06:36:46 -04:00 committed by GitHub
parent 3e55e4ab63
commit ab4991f9b2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 4 deletions

View File

@ -87,8 +87,8 @@ fi
</div>
</div>
1. Click **Create New Environment**. This opens the **Create a Dev Environment** dialog. Copy `https://github.com/dockersamples/single-dev-env.git` and add it to the **Repository URL** field on the **Remote Git Repository** tab.
2. Now, click **Create**.
1. Under Dev Environments, click **Create**. This opens the **Create a Dev Environment** dialog. Click **Get Started** and then copy `https://github.com/dockersamples/single-dev-env.git` and add it to the **Enter the Git Repository** field on the **Existing Git repo** source.
2. Now, click **Continue**.
This clones the Git code inside a volume, determines the best image for your Dev Environment, and finally, opens VS Code inside the Dev Environment container.
@ -150,8 +150,8 @@ You can also use Dev Environments to collaborate on any Docker Compose-based pro
>
> When cloning a Git repository using SSH, ensure you've added your SSH key to the ssh-agent. To do this, open a terminal and run `ssh-add <path to your private ssh key>`.
1. Click **Create** to open the **Create a Dev Environment** dialog. Then, copy `https://github.com/dockersamples/compose-dev-env.git` and add it to the **Docker image** field on the **Remote** tab.
2. Click **Create**. This initializes the project and clones the Git code and builds the Compose application. This:
1. Under Dev Environments, click **Create**. This opens the **Create a Dev Environment** dialog. Click **Get Started** and then copy `https://github.com/dockersamples/compose-dev-env.git` and add it to the **Enter the Git Repository** field on the **Existing Git repo** source.
2. Click **Continue**. This initializes the project and clones the Git code and builds the Compose application. This:
- Builds local images for services that are defined in the Compose file
- Pulls images required for other services