Podman CLI ကို မေးခွန်းမမေးဘဲ ထည့်သွင်းရန်၊ ပြန်ဖယ်ရှားရန်နှင့် deployment ကိရိယာများမှ ထောက်လှမ်းရန် command များ ဖြစ်ပါသည်။ command တစ်ခုကို သေချာမှသာ ပြပါသည် — manifest မှ သို့မဟုတ် installer နည်းပညာ၏ မှတ်တမ်းတင်ထားသော မူလတန်ဖိုးမှ ဖြစ်ပါသည်။
ဆက်စပ် လမ်းညွှန်: အသံတိတ်ထည့်သွင်းခြင်း switch များ - MSI၊ NSIS၊ Inno Setup · Registry သို့မဟုတ် PowerShell ဖြင့် ပရိုဂရမ် ဖယ်ရှားနည်း
winget ဖြင့်
PowerShell
winget install --id Podman.CLI -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id Podman.CLI -e --silentwinget uninstall --id Podman.CLI -e --silentInstaller အလိုက်
64-bit · MSI
အသံတိတ်ထည့်သွင်းခြင်း
msiexec /i podman-installer-windows-amd64.msi /qn /norestartLog ဖိုင် ရေးရန်
msiexec /i podman-installer-windows-amd64.msi /qn /norestart /l*v "%TEMP%\podman-cli-install.log"ဖယ်ရှားခြင်း (Uninstall)
msiexec /x {E8D285D4-F069-44B9-BF8A-C41ED47B02B8} /qn /norestart- MSI product code
- {E8D285D4-F069-44B9-BF8A-C41ED47B02B8}
- Uninstall registry key
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{E8D285D4-F069-44B9-BF8A-C41ED47B02B8}
- UpgradeCode
- {A6A9DD9C-0732-44BA-9279-FFE22EA50671}
ARM64 · MSI
အသံတိတ်ထည့်သွင်းခြင်း
msiexec /i podman-installer-windows-arm64.msi /qn /norestartLog ဖိုင် ရေးရန်
msiexec /i podman-installer-windows-arm64.msi /qn /norestart /l*v "%TEMP%\podman-cli-install.log"ဖယ်ရှားခြင်း (Uninstall)
msiexec /x {E55F342F-1F18-4AA4-81F3-586FC59DD5FE} /qn /norestart- MSI product code
- {E55F342F-1F18-4AA4-81F3-586FC59DD5FE}
- Uninstall registry key
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{E55F342F-1F18-4AA4-81F3-586FC59DD5FE}
- UpgradeCode
- {A6A9DD9C-0732-44BA-9279-FFE22EA50671}
PowerShell - ဒေါင်းလုဒ်၊ စစ်ဆေး၊ ထည့်သွင်း
တရားဝင်ဖိုင်ကို ဒေါင်းလုဒ်လုပ်ပြီး SHA256 ကို စစ်ဆေးကာ အသံတိတ် ထည့်သွင်းပါသည်။
install-podman-cli.ps1
$url = 'https://github.com/podman-container-tools/podman/releases/download/v6.1.4/podman-installer-windows-amd64.msi'
$sha256 = '4A05240054CB990629CBE098DB090C5C7848C44162C11910CABB45CA75A40D53'
$file = Join-Path $env:TEMP 'podman-installer-windows-amd64.msi'
Invoke-WebRequest -Uri $url -OutFile $file -UseBasicParsing
if ((Get-FileHash $file -Algorithm SHA256).Hash -ne $sha256) { throw 'SHA256 mismatch' }
Start-Process msiexec.exe -ArgumentList '/i', ('"{0}"' -f $file), '/qn', '/norestart' -Wait install-podman-cli.ps1
$url = 'https://github.com/podman-container-tools/podman/releases/download/v6.1.4/podman-installer-windows-arm64.msi'
$sha256 = 'A1B65FFA7DD60A5ECEEDD3DF7FC5D1D005B8D21018FF9DEAA15AEACFBC92CD6C'
$file = Join-Path $env:TEMP 'podman-installer-windows-arm64.msi'
Invoke-WebRequest -Uri $url -OutFile $file -UseBasicParsing
if ((Get-FileHash $file -Algorithm SHA256).Hash -ne $sha256) { throw 'SHA256 mismatch' }
Start-Process msiexec.exe -ArgumentList '/i', ('"{0}"' -f $file), '/qn', '/norestart' -Wait