migrasi

Migrasi dari Docker Desktop ke Podman Desktop

Lisensi dan ketentuan

Docker Desktop
Produk tertutup dari Docker.
Podman Desktop
Apache-2.0, Open source
Kecocokan
Pengganti penuh Containers, images, pods and a local Kubernetes through Podman, with Docker API compatibility.

Halaman ini ditulis dalam bahasa Inggris.

Compatibility

Podman Desktop’s Docker compatibility feature lets the Docker CLI and tools that talk to the Docker socket, such as Testcontainers, Maven or Gradle, run against a Podman engine. Compose v2 applications run through the Compose extension, so docker compose up works on Podman.

How the socket is wired depends on the platform:

Before you switch

  1. Start a Podman machine.
  2. Turn on Settings > Preferences > Docker Compatibility. A Docker Compatibility page then appears under Settings.
  3. On that page, check the system socket status, pick the Docker CLI context, and use Setup… next to Podman Compose CLI Support if Compose is not installed.
  4. Check that docker info --format=json | jq -r .ServerVersion returns the Podman version.
  5. Bring over containers you want to keep: export each one with docker export <container> -o <archive>.tar, then run podman import <archive>.tar.
  6. Where tools do not find the socket, set DOCKER_HOST: unix:// plus the output of podman machine inspect --format '{{.ConnectionInfo.PodmanSocket.Path}}' on macOS, or of podman info --format '{{.Host.RemoteSocket.Path}}' on Linux, and npipe:// plus the PodmanPipe path on Windows. A docker context create podman --docker "host=..." context works too.

Pitfalls

Panduan resmi

Panduan migrasi Podman Desktop ↗

Ditinjau pada 2026-10-06.

Sumber

Alternatif lain untuk Docker Desktop →