top of page
Servers

Podman & Containers

Lab to pull and run a container with persistant data. I was able to get a MySQL server up and running on a port on the host server. For some reason the MACVLAN would not assign to the container.  

RHEL Server Container Setup

Podman View Commands 

I designated these as view commands since all you can do is view data and not alert things., These have been criticla in learning about cotnainers and also for troublshoting. 

Podman Logs command has been extremely helpful when troublshooting container that just exit after starting. I was able to find out what ENV varaibles were requiired to add to the podman initial command to create the container. 

Container_ViewCommands.png

Adding to List as I learn....

podman ps --watch 2

Podman Action Commands

I designated these as action commands since you can manage someting with them., 

Action.png

Adding to List as I learn....

More to Come....

Sample Commands

Commands.png

Adding to List as I learn....

More to Come....

Setup Commands

# Pulls the SQL Container from Docker

podman pull mysql:latest

# In Selection List of Repo's Select 

docker.io/library/mysql:latest

​

​

# Creates a container and runs in detached mode & sets required ENV variable MYSQL_ROOT_PASSWORD

podman run -d --name mysql -p 3306:3306 -e MYSQL_ROOT_PASSWORD=MyPassword mysql:latest

bottom of page