From 804b708191ec0351a98882afd8eaf5915e4258d5 Mon Sep 17 00:00:00 2001 From: Manju Karikatti Date: Fri, 10 Oct 2025 12:21:11 +0100 Subject: [PATCH] updated the examples --- content/manuals/desktop/setup/install/mac-install.md | 10 ++++++++-- .../manuals/desktop/setup/install/windows-install.md | 10 ++++++++-- 2 files changed, 16 insertions(+), 4 deletions(-) diff --git a/content/manuals/desktop/setup/install/mac-install.md b/content/manuals/desktop/setup/install/mac-install.md index 2894a0319843..bde7c5c1ba7c 100644 --- a/content/manuals/desktop/setup/install/mac-install.md +++ b/content/manuals/desktop/setup/install/mac-install.md @@ -144,10 +144,16 @@ The `install` command accepts the following flags: - `--override-proxy-pac=`: Sets the PAC file URL. This setting takes effect only when using `manual` proxy mode. - `--override-proxy-embedded-pac=`: Specifies an embedded PAC (Proxy Auto-Config) script. This setting takes effect only when using `manual` proxy mode and has precedence over the `--override-proxy-pac` flag. -###### Example of specifying PAC file / PAC script +###### Example of specifying PAC file ```console - $ sudo /Applications/Docker.app/Contents/MacOS/install --user testuser --proxy-http-mode="manual" --override-proxy-pac="http://localhost:8080/myproxy.pac" --override-proxy-embedded-pac="function FindProxyForURL(url, host) { return \"DIRECT\"; }" +$ sudo /Applications/Docker.app/Contents/MacOS/install --user testuser --proxy-http-mode="manual" --override-proxy-pac="http://localhost:8080/myproxy.pac" +``` + +###### Example of specifying PAC script + +```console +$ sudo /Applications/Docker.app/Contents/MacOS/install --user testuser --proxy-http-mode="manual" --override-proxy-embedded-pac="function FindProxyForURL(url, host) { return \"DIRECT\"; }" ``` > [!TIP] diff --git a/content/manuals/desktop/setup/install/windows-install.md b/content/manuals/desktop/setup/install/windows-install.md index 74a20d82712b..32d6e0d38aec 100644 --- a/content/manuals/desktop/setup/install/windows-install.md +++ b/content/manuals/desktop/setup/install/windows-install.md @@ -288,10 +288,16 @@ The `install` command accepts the following flags: - `--override-proxy-pac=`: Sets the PAC file URL. This setting takes effect only when using `manual` proxy mode. - `--override-proxy-embedded-pac=`: Specifies an embedded PAC (Proxy Auto-Config) script. This setting takes effect only when using `manual` proxy mode and has precedence over the `--override-proxy-pac` flag. -###### Example of specifying PAC file / PAC script +###### Example of specifying PAC file ```console - "Docker Desktop Installer.exe" install --proxy-http-mode="manual" --override-proxy-pac="http://localhost:8080/myproxy.pac" --override-proxy-embedded-pac="function FindProxyForURL(url, host) { return \"DIRECT\"; }" +"Docker Desktop Installer.exe" install --proxy-http-mode="manual" --override-proxy-pac="http://localhost:8080/myproxy.pac" +``` + +###### Example of specifying PAC script + +```console +"Docker Desktop Installer.exe" install --proxy-http-mode="manual" --override-proxy-embedded-pac="function FindProxyForURL(url, host) { return \"DIRECT\"; }" ``` ##### Data root and disk location