Skip to content

Commit e1581a1

Browse files
authored
Fixes #10852 - Distinguish between latest stable and preview (#10855)
* Distinguish between latest stable and preview * fix typo
1 parent 7d769c9 commit e1581a1

File tree

1 file changed

+10
-3
lines changed

1 file changed

+10
-3
lines changed

reference/docs-conceptual/install/PowerShell-in-Docker.md

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
description: How to use PowerShell that's preinstalled in a Docker image.
3-
ms.date: 06/28/2023
3+
ms.date: 02/05/2024
44
ms.devlang: powershell
55
ms.topic: conceptual
66
title: Using PowerShell in Docker
@@ -27,13 +27,20 @@ GitHub.
2727

2828
## Using PowerShell in a container
2929

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

3333
```console
3434
docker run -it mcr.microsoft.com/powershell
3535
```
3636

37+
Use the following command to download and run the image containing the latest available preview
38+
version of PowerShell.
39+
40+
```console
41+
docker run -it mcr.microsoft.com/powershell:preview
42+
```
43+
3744
### Remove the image when no longer needed
3845

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

0 commit comments

Comments
 (0)