You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
| Windows PowerShell 5.1 | System proxy settings | Do not suggest setting HTTP_PROXY/HTTPS_PROXY environment variables. |
19
+
| PowerShell 7 on Windows | System proxy settings | Proxy could be configured by setting both HTTP_PROXY and HTTPS_PROXY environment variables. |
20
+
| PowerShell 7 on macOS | System proxy settings | Proxy could be configured by setting both HTTP_PROXY and HTTPS_PROXY environment variables. |
21
+
| PowerShell 7 on Linux | Set both HTTP_PROXY and HTTPS_PROXY environment variables, plus optional NO_PROXY | The environment variables should be set before starting PowerShell, otherwise they may not be respected. |
22
+
23
+
The environment variables used are:
24
+
25
+
- HTTP_PROXY: the proxy server used on HTTP requests.
26
+
- HTTPS_PROXY: the proxy server used on HTTPS requests.
27
+
- NO_PROXY: a comma-separated list of hostnames that should be excluded from proxying.
28
+
29
+
On systems where environment variables are case-sensitive, the variable names may be all lowercase
30
+
or all uppercase. The lowercase names are checked first.
Copy file name to clipboardExpand all lines: docs-conceptual/azps-5.9.0/azureps-in-docker.md
+6-4Lines changed: 6 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -3,8 +3,8 @@ title: Using Azure PowerShell in Docker
3
3
description: How to use Azure PowerShell that is preinstalled in a Docker image.
4
4
ms.devlang: powershell
5
5
ms.topic: conceptual
6
-
ms.date: 03/20/2020
7
-
ms.custom: devx-track-azurepowershell
6
+
ms.date: 09/27/2021
7
+
ms.custom: devx-track-azurepowershell
8
8
ms.service: azure-powershell
9
9
---
10
10
@@ -26,7 +26,7 @@ For each new release of the Az module we are releasing an image for the followin
26
26
27
27
- Ubuntu 18.04 (default)
28
28
- Debian 9
29
-
-CentOs 7
29
+
-CentOS 7
30
30
31
31
A full list of available images can be found on our [Docker image][az image] page.
32
32
@@ -47,7 +47,9 @@ PowerShell session.
47
47
docker run -it mcr.microsoft.com/azure-powershell pwsh
48
48
```
49
49
50
-
For Windows Docker hosts, you must enable Docker File Sharing to allow local drives on Windows to be shared with Linux containers. For more information see [Get started with Docker for Windows][file-sharing].
50
+
For Windows Docker hosts, you must enable Docker file sharing to allow local drives on Windows to be
51
+
shared with Linux containers. For more information see
52
+
[Get started with Docker for Windows][file-sharing].
51
53
52
54
### Run the azure-powershell container interactively using host authentication
0 commit comments