Skip to content

Commit a9967fe

Browse files
authored
Add note about the need to patch docker images (#11309)
1 parent 6b8502f commit a9967fe

File tree

5 files changed

+33
-13
lines changed

5 files changed

+33
-13
lines changed

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

Lines changed: 5 additions & 1 deletion
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: 02/05/2024
3+
ms.date: 08/01/2024
44
ms.devlang: powershell
55
ms.topic: conceptual
66
title: Using PowerShell in Docker
@@ -40,6 +40,10 @@ version of PowerShell.
4040
```console
4141
docker run -it mcr.microsoft.com/powershell:preview
4242
```
43+
> [!IMPORTANT]
44+
> The Docker images are built from official operating system (OS) images provide by the OS
45+
> distributor. These images may not have the latest security updates. Microsoft recommends that you
46+
> update the OS packages to the latest version to ensure the latest security updates are applied.
4347
4448
### Remove the image when no longer needed
4549

reference/includes/alpine-support.md

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
author: sdwheeler
33
ms.author: sewhee
4-
ms.date: 07/12/2024
4+
ms.date: 08/01/2024
55
ms.topic: include
66
---
77
<!-- markdownlint-disable first-line-h1 -->
@@ -13,9 +13,12 @@ available from the [Microsoft Artifact Registry][mcr] for the following versions
1313

1414
- Alpine 3.17 - OS support ends on 2024-11-22
1515

16-
Docker images of PowerShell aren't available for Alpine 3.18 and 3.19 at this time.
16+
Docker images of PowerShell aren't available for Alpine 3.18 and 3.19.
1717

18-
Preview versions of PowerShell are provided for testing and feedback only.
18+
> [!IMPORTANT]
19+
> The Docker images are built from official operating system (OS) images provide by the OS
20+
> distributor. These images may not have the latest security updates. Microsoft recommends that you
21+
> update the OS packages to the latest version to ensure the latest security updates are applied.
1922
2023
[lifecycle]: /powershell/scripting/install/powershell-support-lifecycle
2124
[eol-alpine]: https://alpinelinux.org/releases/

reference/includes/debian-support.md

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,25 @@
11
---
22
author: sdwheeler
33
ms.author: sewhee
4-
ms.date: 07/12/2024
4+
ms.date: 08/01/2024
55
ms.topic: include
66
---
77
<!-- markdownlint-disable first-line-h1 -->
88
Microsoft supports PowerShell until [PowerShell reaches end-of-support][lifecycle] or the version of
99
[Debian reaches end-of-life][eol-debian].
1010

11+
Install package files (`.deb`) are also available from [https://packages.microsoft.com/][pcm].
12+
1113
Docker images containing PowerShell 7.2, PowerShell 7.4, and PowerShell 7.5-preview for x64 are
1214
available from the [Microsoft Artifact Registry][mcr] for the following versions of Debian:
1315

1416
- Debian 12 (Bookworm) - OS support ends on 2026-06-10
1517
- Debian 11 (Bullseye) - OS support ends on 2024-07-31
1618

17-
Preview versions of PowerShell are provided for testing and feedback only.
18-
19-
Install package files (`.deb`) are also available from [https://packages.microsoft.com/][pcm].
19+
> [!IMPORTANT]
20+
> The Docker images are built from official operating system (OS) images provide by the OS
21+
> distributor. These images may not have the latest security updates. Microsoft recommends that you
22+
> update the OS packages to the latest version to ensure the latest security updates are applied.
2023
2124
[lifecycle]: /powershell/scripting/install/powershell-support-lifecycle
2225
[eol-debian]: https://wiki.debian.org/DebianReleases

reference/includes/rhel-support.md

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,15 @@
11
---
22
author: sdwheeler
33
ms.author: sewhee
4-
ms.date: 07/12/2024
4+
ms.date: 08/01/2024
55
ms.topic: include
66
---
77
<!-- markdownlint-disable first-line-h1 -->
88
Microsoft supports PowerShell until [PowerShell reaches end-of-support][lifecycle] or the version of
99
[RHEL reaches end-of-support][eol-rhel].
1010

11+
Install package files (`.rpm`) are also available from [https://packages.microsoft.com/][pcm].
12+
1113
Docker images containing PowerShell 7.2, PowerShell 7.4, and PowerShell 7.5-preview for x64 are
1214
available from the [Microsoft Artifact Registry][mcr] for the following versions of RHEL:
1315

@@ -17,7 +19,10 @@ available from the [Microsoft Artifact Registry][mcr] for the following versions
1719
PowerShell is tested on Red Hat Universal Base Images (UBI). For more information, see the
1820
[UBI information page][ubi].
1921

20-
Install package files (`.rpm`) are also available from [https://packages.microsoft.com/][pcm].
22+
> [!IMPORTANT]
23+
> The Docker images are built from official operating system (OS) images provide by the OS
24+
> distributor. These images may not have the latest security updates. Microsoft recommends that you
25+
> update the OS packages to the latest version to ensure the latest security updates are applied.
2126
2227
[lifecycle]: /powershell/scripting/install/powershell-support-lifecycle
2328
[eol-rhel]: https://access.redhat.com/support/policy/updates/errata/

reference/includes/ubuntu-support.md

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,31 @@
11
---
22
author: sdwheeler
33
ms.author: sewhee
4-
ms.date: 07/12/2024
4+
ms.date: 08/01/2024
55
ms.topic: include
66
---
77
<!-- markdownlint-disable first-line-h1 -->
88
Microsoft supports PowerShell until [PowerShell reaches end-of-support][lifecycle] or the version of
99
[Ubuntu reaches end-of-support][eol-ubuntu].
1010

11+
Install package files (`.deb`) are also available from [https://packages.microsoft.com/][pcm].
12+
1113
Docker images containing PowerShell 7.2, PowerShell 7.4, and PowerShell 7.5-preview for x64 and
1214
Arm32 are available from the [Microsoft Artifact Registry][mcr] for the following versions of
1315
Ubuntu:
1416

1517
- Ubuntu 22.04 (Jammy Jellyfish) - OS support ends on 2027-04-01
1618
- Ubuntu 20.04 (Focal Fossa) - OS support ends on 2025-04-02
1719

18-
Install package files (`.deb`) are also available from [https://packages.microsoft.com/][pcm].
19-
2020
Ubuntu 23.10 (Mantic Minotaur) is an interim release. Microsoft doesn't support
2121
[interim releases][interim] of Ubuntu. For more information, see
2222
[Community supported distributions][community].
2323

24+
> [!IMPORTANT]
25+
> The Docker images are built from official operating system (OS) images provide by the OS
26+
> distributor. These images may not have the latest security updates. Microsoft recommends that you
27+
> update the OS packages to the latest version to ensure the latest security updates are applied.
28+
2429
[eol-ubuntu]: https://endoflife.date/ubuntu
2530
[interim]: https://ubuntu.com/about/release-cycle
2631
[lifecycle]: /powershell/scripting/install/powershell-support-lifecycle

0 commit comments

Comments
 (0)