Skip to content

Commit bbd247d

Browse files
authored
website: updated windows installation guide for Podman Desktop v0.8.0 (podman-desktop#534)
* website: updated installation docs for windows Signed-off-by: Dev Kumar <[email protected]> * website: removed unnecessary content Signed-off-by: Dev Kumar <[email protected]> * website: improved markdown Signed-off-by: Dev Kumar <[email protected]> * website: added suggested changes Signed-off-by: Dev Kumar <[email protected]> * website: updated next steps Signed-off-by: Dev Kumar <[email protected]> * website: added suggested changes to windows Signed-off-by: Dev Kumar <[email protected]> Signed-off-by: Dev Kumar <[email protected]>
1 parent 48f2644 commit bbd247d

File tree

6 files changed

+50
-35
lines changed

6 files changed

+50
-35
lines changed
Loading
Loading
Loading
Loading
Loading

website/docs/Installation/windows-install.md

+50-35
Original file line numberDiff line numberDiff line change
@@ -3,69 +3,84 @@ sidebar_position: 4
33
---
44

55
# Windows
6-
## 1. Installing Podman Desktop on Windows
76

8-
In order to install the latest Podman Desktop application for Windows, visit the [Downloads](/downloads/windows) section of this website to download the .exe file.
7+
This page contains information regarding installation of Podman Desktop on Windows.
98

10-
Simply download the file from the [Downloads](/downloads/windows) section and open it in your Desktop to install Podman Desktop.
9+
:::infoPrerequisites:
10+
**NOTE: Administrator access is required for both these prerequisites.**
11+
1. [Hyper-V should be enabled](https://learn.microsoft.com/en-us/virtualization/hyper-v-on-windows/quick-start/enable-hyper-v)
12+
2. [Windows Subsystem for Linux v2 (WSL2)](https://learn.microsoft.com/en-us/windows/wsl/install-manual) should be installed.
13+
:::
1114

12-
## 2. Installing Podman (if not already present)
15+
## Installing Podman Desktop on Windows
1316

14-
If you don't have Podman installed in your Windows computer, Podman Desktop will prompt you to do so as soon as you open the application. With the latest update, Podman Desktop will be able to install and configure Podman once you click on the 'Install' button on the home page.
17+
### a. Using `.exe` file from [Downloads](/downloads/windows)
1518

16-
NOTE: Podman Engine on Windows is backed by a virtualized Windows Subsystem for Linux (WSLv2) instance. If you don't have it installed already, Podman Desktop will prompt you to do so when you initialize a Podman Machine for the first time. You can read more about installing Podman on Windows [here](https://github.com/containers/podman/blob/main/docs/tutorials/podman-for-windows.md).
19+
**1. Download the latest `.exe` file from the [Downloads](/downloads/windows) section of this website.**
1720

18-
![img1](img/homescreen.png)
21+
**2. Locate the downloaded file and and double-click on it to open Podman Desktop. (Usually, you will find the downloaded file in the Downloads folder)**
1922

20-
## 3. Initialize & Start the Podman Machine
23+
![img0](img/windows/open-podman-desktop.png)
2124

22-
### a. Default Configurations
25+
### b. Using [Chocolatey](https://chocolatey.org/install) package manager for Windows
2326

24-
Once Podman is installed, you will see a toggle button at "Home" window that will allow you to initialize a Podman Machine with default configurations. Simply activate the toggle to proceed.
27+
**1. Using the installation guide [here](https://chocolatey.org/install), install Chocolatey Package Manager.**
2528

26-
![img2](img/initialize.png)
29+
**2. To install Podman Desktop, run the following command from the command line or from PowerShell:**
30+
```sh
31+
choco install podman-desktop
32+
```
2733

28-
If this is your first time initializing Podman Machine after installation and you do not have WSLv2 installed, Podman Desktop will prompt you to do so (as shown in image below). Click 'OK' and wait for the process to complete.
34+
**Read more about Podman Desktop on Chocolatey [here](https://community.chocolatey.org/packages/podman-desktop).**
2935

30-
![img3](img/wsl_before_reboot_1.png)
36+
### c. Using [Winget](https://winget.run/pkg/RedHat/Podman-Desktop) package manager for Windows
3137

32-
Your device will reboot during the process. You will be again prompted to proceed.
38+
**1. Get the Winget Package manager for Windows by clicking [here](https://aka.ms/getwinget).**
3339

34-
![img4](img/wsl_before_reboot_2.png)
40+
**2. To install Podman Desktop, run the following command from the command line or from PowerShell:**
41+
```sh
42+
winget install -e --id RedHat.Podman-Desktop
43+
```
3544

36-
After reboot, the remaining installation process will be performed. Once WSLv2 is installed, you will find that the Podman Machine is initialized.
45+
### d. Using [Scoop](https://scoop.sh/#/apps?q=podman-desktop&s=0&d=1&o=true) package manager for Windows
46+
47+
**1. Using the installation guide [here](https://github.com/ScoopInstaller/Install#readme), install Scoop Package Manager.**
48+
49+
**2. To install Podman Desktop, run the following commands from the command line or from PowerShell:**
50+
```sh
51+
scoop bucket add extras
52+
```
3753

38-
![img5](img/wsl_after_reboot.png)
54+
```sh
55+
scoop install podman-desktop
56+
```
3957

40-
After initializing a Podman Machine, you should see a toggle to Run Podman. This will start the Podman Machine upon activation.
58+
## Setting up Podman Desktop on Windows
4159

42-
![img6](img/starting.png)
60+
**1. Install Podman from Podman Desktop, if not yet installed.**
4361

44-
### b. Custom Configurations
62+
When you open Podman Desktop, your home screen would look like the one in the image below if you don't have Podman (Engine) installed.
4563

46-
In order to initialize a Podman Machine with custom configurations, go to "Preferences" on the menu present in the left-side of the application. Under Resources, you will find Podman. Clicking on it shall load the configuration settings for the machine. Enter the values that deem fit for your purpose and click on the "Create" button.
64+
![img1](img/windows/homescreen.png)
4765

48-
![img7](img/create.png)
66+
**a. To install Podman, click on the `Install` button on the home screen. This will check for all the requirements for installation of Podman Engine.**
4967

50-
Once the machine is created, you can click on the Start button in the Machine Settings to start the Machine.
68+
![img2](img/windows/prereq-wsl2.png)
5169

52-
![img8](img/machine.png)
70+
**b. If you do not have WSL2 installed, follow the instructions [here](https://learn.microsoft.com/en-us/windows/wsl/install-manual) to install the same.**
5371

54-
### c. Command Line
72+
**c. Once all the requirements are met, Podman Desktop will ask you to allow installation of Podman (Engine). Click on `Yes` to continue.**
5573

56-
Using the following two commands in the command line, you can initialize and start a Podman Machine the classic way!
74+
![img3](img/windows/podman-install.png)
5775

58-
To initialize the machine, the command is
76+
**2. Once installation is completed, you are ready to use Podman Desktop.**
5977

60-
```sh
61-
podman machine init
62-
```
78+
After the installation of Podman Engine, your home screen would like the one in the image below.
6379

64-
After which, you can start the machine with the command
80+
![img4](img/windows/podman-desktop-ready.png)
6581

66-
```sh
67-
podman machine start
68-
```
82+
If the screen says `Podman is installed but not ready`, it means that installation of Podman Engine has been completed but a Podman Machine has not been initialized.
6983

70-
**Well that's just it. You shall now be all set to use Podman Desktop on Windows!**
84+
## Next Steps
7185

86+
You can learn more about initializing a Podman Machine and working with Podman Desktop in our [Getting Started guide](/docs/getting-started/getting-started).

0 commit comments

Comments
 (0)