File tree Expand file tree Collapse file tree 5 files changed +33
-13
lines changed Expand file tree Collapse file tree 5 files changed +33
-13
lines changed Original file line number Diff line number Diff line change 11---
22description : How to use PowerShell that's preinstalled in a Docker image.
3- ms.date : 02/05 /2024
3+ ms.date : 08/01 /2024
44ms.devlang : powershell
55ms.topic : conceptual
66title : Using PowerShell in Docker
@@ -40,6 +40,10 @@ version of PowerShell.
4040``` console
4141docker 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
Original file line number Diff line number Diff line change 11---
22author : sdwheeler
33ms.author : sewhee
4- ms.date : 07/12 /2024
4+ ms.date : 08/01 /2024
55ms.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/
Original file line number Diff line number Diff line change 11---
22author : sdwheeler
33ms.author : sewhee
4- ms.date : 07/12 /2024
4+ ms.date : 08/01 /2024
55ms.topic : include
66---
77<!-- markdownlint-disable first-line-h1 -->
88Microsoft 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+
1113Docker images containing PowerShell 7.2, PowerShell 7.4, and PowerShell 7.5-preview for x64 are
1214available 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
Original file line number Diff line number Diff line change 11---
22author : sdwheeler
33ms.author : sewhee
4- ms.date : 07/12 /2024
4+ ms.date : 08/01 /2024
55ms.topic : include
66---
77<!-- markdownlint-disable first-line-h1 -->
88Microsoft 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+
1113Docker images containing PowerShell 7.2, PowerShell 7.4, and PowerShell 7.5-preview for x64 are
1214available 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
1719PowerShell 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/
Original file line number Diff line number Diff line change 11---
22author : sdwheeler
33ms.author : sewhee
4- ms.date : 07/12 /2024
4+ ms.date : 08/01 /2024
55ms.topic : include
66---
77<!-- markdownlint-disable first-line-h1 -->
88Microsoft 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+
1113Docker images containing PowerShell 7.2, PowerShell 7.4, and PowerShell 7.5-preview for x64 and
1214Arm32 are available from the [ Microsoft Artifact Registry] [ mcr ] for the following versions of
1315Ubuntu:
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-
2020Ubuntu 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
You can’t perform that action at this time.
0 commit comments