Docker or Podman
Hamida Rebai Trabelsi
Principal Solutions Architect| Digital transformation Architect |Docker Captain |Microsoft Certified Trainer| Packt Book Author|LinkedIn Learning Institutor| Keynote Speaker|Mentor| FinOps Engineer|AI Integration Advisor
Podman and Docker are both containerization platforms that enable developers to create, deploy, and manage containerized applications. Here are some key differences between the two:
To move from Docker Desktop to Podman Desktop steps:
- Uninstall Docker Desktop: Before installing Podman Desktop, you need to uninstall Docker Desktop from your system. This can be done by following the instructions provided by Docker on its website.
- Install Podman Desktop: To install Podman Desktop, you can download the installer from the Podman website and run it on your system. The installation process is straightforward and similar to installing other applications on your system.
- Migrate Docker images and containers to Podman: After installing Podman Desktop, you need to migrate your existing Docker images and containers to Podman. This can be done using the following command in the terminal:
$ podman import docker://<image-name>
This command will import the Docker image to Podman.
To migrate Docker containers, you can use the following command:
$ podman run -it --rm --name <container-name> docker://<image-name>
This command will create a new Podman container using the Docker image.
4. Test Podman Desktop: After migrating your Docker images and containers to Podman, you can test Podman Desktop by running your applications and verifying that they work as expected.
It's important to note that there may be differences in the behavior of Podman compared to Docker, so it's recommended to test your applications thoroughly before deploying them to production.
Chief Architect at Paren | Docker Captain
2 å¹´Hi Hamida Rebai Trabelsi, I disagree for the security point, Docker daemon can run as non-root user too: https://docs.docker.com/engine/security/rootless/ Also, for image management, both can pull/push image to remote registry and load image from a local archive too. Docker could also run without any network access with image loaded locally. Also, now, Podman support a client/server mode with a RestFull API with the server running on linux only and client running on windows, mac or linux.