RHCSA RHEL 8 - Containers - Getting Started

Опубликовано: 12 Октябрь 2024
на канале: Computers, Security & Gadgets
25,630
527

Your support on Ko-Fi is much appreciated:
👉 https://ko-fi.com/csg_yt

Join our new discord channel:
👉   / discord  

Buy CSG Merchandise:
👉 http://tee.pub/lic/csg

This video is based on RHEL 8.

Video to cover the section '' for the RHCSA (Red Hat Certified System Administrator).

More information on the required learning: http://bit.ly/rhcsa8

Notes from the video:

More information on containers: https://www.docker.com/resources/what...

To install podman
dnf install podman

To search for container images
podman search httpd

To pull down an image
podman pull docker.io/library/httpd

To run a container:
podman run docker.io/library/httpd

To run a cotainer in detacted mode (d), with a terminal(t) and portforwarding (p)
podman run -dt -p 8080:80/tcp docker.io/library/httpd

Get the running containers:
podman ps

Get all containers that have run:
podman ps -a

Get the logs from a particular container:
podman logs ..container-id..

Get the running proccess in a container:
podman top ..container-id..

Stop a container:
podman stop ..container-id..

Start a container:
podman start ..container-id..

Remove a container:
podman remove ..container-id..


#rhcsa #rhel #linux #redhat