Nako’s Knowledge Base
  • About Me
  • 知識の倉庫
  • Works
  1. Infrastructure
  2. Container
  3. Podman
  • 知識の倉庫
  • Backend
    • Api
      • FastAPI
    • Db
      • SQLModel
  • Cloud
    • Google Cloud
      • gcloudCLI
  • Infrastructure
    • Container
      • Podman
  • Tools
    • Shell
      • PowerShell
    • Vcs
      • Git

On this page

  • Podman
    • WindowsでPodmanを使う
      • 事前に必要なもの
      • 試した環境
      • セットアップ

Podman

WindowsでPodmanを使う

事前に必要なもの

  • Winget

試した環境

  • Windows 11 Pro 22H2

セットアップ

  • Docker CLI
  • Docker Compose(任意)
  • Podman

Docker CLIをインストールする

winget install Docker.DockerCLI

Docker Composeをインストールする(任意)

winget install Docker.DockerCompose

Podmanをインストールする

winget install RedHat.Podman

Podman用にDocker Contextを作成

  • Docker Contextを作成
docker context create podman --docker host=npipe:////./pipe/podman-machine-default
  • 作成したDocker Contextを使うように設定
docker context use podman