To install and use Podman on Debian 12, follow the steps below:
Step 1 : Start by updating your package list:
sudo apt update
Step 2 : Proceed with the installation of Podman:
sudo apt install podman
Step 3 : Ensure that Podman is installed correctly by checking its version:
podman --version
Step 4 : Test Podman by running a basic Ubuntu container:
podman run -it ubuntu /bin/bash
This command will pull the Ubuntu image if it's not already available and starts a container where you can execute commands.
Step 5 : Once you've finished testing, exit the container by typing:
exit
Congratulations! You have successfully installed Podman on your Debian 12 system.
References
Top comments (0)