Skip to content

Commit

Permalink
Fixes #10852 - Distinguish between latest stable and preview (#10855)
Browse files Browse the repository at this point in the history
* Distinguish between latest stable and preview

* fix typo
  • Loading branch information
sdwheeler authored Feb 5, 2024
1 parent 7d769c9 commit e1581a1
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions reference/docs-conceptual/install/PowerShell-in-Docker.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
description: How to use PowerShell that's preinstalled in a Docker image.
ms.date: 06/28/2023
ms.date: 02/05/2024
ms.devlang: powershell
ms.topic: conceptual
title: Using PowerShell in Docker
Expand All @@ -27,13 +27,20 @@ GitHub.

## Using PowerShell in a container

The following steps show the Docker commands required to download the image and start an interactive
PowerShell session.
The following steps show the Docker commands required to download the image containing the latest
available stable version of PowerShell and start an interactive PowerShell session.

```console
docker run -it mcr.microsoft.com/powershell
```

Use the following command to download and run the image containing the latest available preview
version of PowerShell.

```console
docker run -it mcr.microsoft.com/powershell:preview
```

### Remove the image when no longer needed

The following command is used to delete the Docker image when you no longer need it.
Expand Down

0 comments on commit e1581a1

Please sign in to comment.