How to easily install Podman on Red Hat Linux

03 September,2020 by Jack Vamvas

If you have RHEL 7.6 use : 

subscription-manager repos --enable=rhel-7-server-extras-rpms
yum install podman
yum install podman containernetworking-plugins (optional command)
yum install podman-docker (optional command)

Once you've confirmed Podman is installed , you can start to Pull images onto Podman 

--view app logs 

podman container logs <name of container>

--list podman containers

podman ps -a 

--remove podman containers

podman rm <name of container>

--stop a container

podman stop <name of container>

--remove all podman images- be careful this will remove all images

podman image rm -a 

 

--podman ports exposed

podman inspect $CONTAINER -f='{{.NetworkSettings.Ports}}{{.HostConfig.PortBindings}}'

--ports listening on Linux

netstat -tulpn | grep LISTEN

--podman version

podman version

--podman inspect configurations

podman inspect 

 

 


Author: Jack Vamvas (http://www.dba-ninja.com)


Share:

Verify your Comment

Previewing your Comment

This is only a preview. Your comment has not yet been posted.

Working...
Your comment could not be posted. Error type:
Your comment has been posted. Post another comment

The letters and numbers you entered did not match the image. Please try again.

As a final step before posting your comment, enter the letters and numbers you see in the image below. This prevents automated programs from posting comments.

Having trouble reading this image? View an alternate.

Working...

Post a comment on How to easily install Podman on Red Hat Linux


dba-ninja.com