docs: Installing Podman Desktop and Podman on Windows in a restricted environment

* Added options in the Downloads page
* Added page: Installing Podman Desktop and Podman on Windows in a restricted environment
* Added link in Installing on Windows landing page

* references: #1034

Signed-off-by: Fabrice Flore-Thébault <ffloreth@redhat.com>
This commit is contained in:
Fabrice Flore-Thébault 2023-02-10 12:32:46 +01:00 committed by Florent BENOIT
parent c34ea0bb47
commit 924347f9b8
3 changed files with 61 additions and 3 deletions

View file

@ -12,8 +12,9 @@ Consider using this installation method if you don't require another method such
* [Installing silently with the Windows installer](windows-install/installing-podman-desktop-silently-with-the-windows-installer)
* [Installing with Chocolatey](windows-install/installing-podman-desktop-with-chocolatey)
* [Installing with Scoop](installing-podman-desktop-with-scoop.md)
* [Installing with Winget](installing-podman-desktop-with-winget.md)
* [Installing with Scoop](windows-install/installing-podman-desktop-with-scoop)
* [Installing with Winget](windows-install/installing-podman-desktop-with-winget)
* [Installing Podman Desktop and Podman in a restricted environment](windows-install/installing-podman-desktop-and-podman-in-a-restricted-environment)
#### Procedure

View file

@ -0,0 +1,40 @@
---
sidebar_position: 5
title: Installing Podman Desktop in a restricted environment
description: Installing Podman Desktop on Windows in a restricted environment
tags: [podman-desktop, installing, windows, restricted-environment]
keywords: [podman desktop, containers, podman, installing, installation, windows, restricted-environment]
---
# Installing Podman Desktop and Podman in a restricted environment
Consider using the Windows installer for restricted environments to install the Podman Desktop and Podman in a restricted environment.
The Windows installer for restricted environments:
* Has all artifacts required for installation
* Does not require Internet access to download resources during installation
#### Prerequisites
* [Windows Subsystem for Linux (WSL) prerequisites](https://learn.microsoft.com/en-us/windows/wsl/troubleshooting#error-0x80370102-the-virtual-machine-could-not-be-started-because-a-required-feature-is-not-installed)
* User with administrator privileges
* Windows 64bit
* Windows 10 Build 18362 or greater, or Windows 11
* On a virtual machine: [Nested Virtualization enabled](https://learn.microsoft.com/en-us/virtualization/hyper-v-on-windows/user-guide/nested-virtualization#configure-nested-virtualization)
* [You installed WSL](https://docs.microsoft.com/en-us/windows/wsl/install):
```powershell
> wsl --install --no-distribution
```
#### Procedure
1. [Download the Windows installer for restricted environments](/downloads), and copy the downloaded file to the Windows host in a restricted environment.
2. Run the Windows installer for restricted environments to install Podman Desktop.
3. Open Podman Desktop and click on the **Install** button to install Podman.
4. Click on **Initialize Podman**.
#### Next steps
* [Getting Started with Podman Desktop](/docs/getting-started/getting-started)

View file

@ -29,10 +29,21 @@ async function grabfilenameforWindows(
asset.name !== windowsSetupAsset.name,
);
const binaryAsset = binaryOnlyWindowsAssets[0];
/* Find Windows installer for restricted environment */
const windowsAirgapSetupAssets = assets.filter(
asset =>
(asset.name as string).endsWith('-setup.exe') &&
asset.name.includes('airgap') &&
asset.name !== windowsSetupAsset.name,
);
const windowsAirgapSetupAsset = windowsAirgapSetupAssets[0];
const data = {
version: jsonContent.name,
binary: binaryAsset.browser_download_url,
setup: windowsSetupAsset.browser_download_url,
airgapsetup: windowsAirgapSetupAsset.browser_download_url,
};
setDownloadData(data);
}
@ -76,7 +87,13 @@ export function WindowsDownloads(): JSX.Element {
className="underline inline-flex dark:text-white text-purple-600 hover:text-purple-300 py-2 px-6 font-semibold text-md"
to={downloadData.binary}>
<FontAwesomeIcon size="1x" icon={faDownload} className="mr-2" />
*.exe
Windows portable executable
</Link>
<Link
className="underline inline-flex dark:text-white text-purple-600 hover:text-purple-300 py-2 px-6 font-semibold text-md"
to={downloadData.airgapsetup}>
<FontAwesomeIcon size="1x" icon={faDownload} className="mr-2" />
Windows installer for restricted environments
</Link>
<Link
className="underline inline-flex dark:text-white text-purple-600 hover:text-purple-300 py-2 px-6 font-semibold text-md"