How To Use Podman Containers

Поділитися
Вставка
  • Опубліковано 24 лис 2022
  • In this we video we introduce Podman Containers which is a major domain of the RHCSA 9 exam. Podman is a container management system similar to Docker but without the need of a service. We show how you can gain the knowledge for the exam and have fun with containers too
    We install Podman, manage images and containers. We then look at running containers as a service, creating images from a container file and running systemd in containers. The sample Dockerfile is shown here:
    FROM registry.fedoraproject.org/fedora:33
    RUN yum -y install httpd; yum clean all; systemctl enable httpd;
    RUN echo "Successful Web Server Test" | tee /var/www/html/index.html
    RUN mkdir /etc/systemd/system/httpd.service.d/; echo -e '[Service]
    Restart=always' | tee /etc/systemd/system/httpd.service.d/httpd.conf
    EXPOSE 80
    CMD [ "/sbin/init" ]
    Additionally you can find my video courses on Pluralsight: pluralsight.com/training/Autho... and take time to see my own site www.theurbanpenguin.com
    00:43 - Install Podman
    08:18 - Manage Images
    17:00 - Manage Containers
    29:54 - Manage Volumes and Namespaces
    49:00 - Running Containers as Service
    54:36 - Running Systemd in Containers and Image Creation

КОМЕНТАРІ • 34

  • @emperornugz89
    @emperornugz89 Рік тому +5

    I've watched many videos about learning Podman for the RHCSA and this one it by far the most comprehensive and well explained. I've been scratching across many learning resources to try to find what you have pulled together in one video. I hope for myself and others looking to take RHCSA on RHEL-9 that you can make some more videos in regards to the stickier topics of the exam.
    Thank you so much for this lesson and ill be sure to check out your other content.

    • @theurbanpenguin
      @theurbanpenguin  Рік тому

      Thanks, I have full RHCSA course on Pluralsight

    • @theurbanpenguin
      @theurbanpenguin  Рік тому +1

      @ஶ்ரீராம் சேகர் as there are little changes between RHEL 8 and 9 the RHEL 8 course still works fine

  • @henriquemac
    @henriquemac 22 дні тому

    I love your style. Thx for the real good stuff up on podman! \o/

  • @aurelijusr.5539
    @aurelijusr.5539 Рік тому +1

    You have a hell of the channel, sir. How could I've missed it.

  • @richardgarrow9260
    @richardgarrow9260 Рік тому +1

    Sir this was excellent you did a great job of explaining podman and containers. I always wish there was more time or that we could have a chat while you are doing these so we could ask questions. The Alma Linux 9 is quite nice as well I got it up today, been using Rocky for a while but I am moving over to Alma as it exactly what I am running at work RH8 -9.
    Thank you once again for great video I do really enjoy your way of teaching thanks..

  • @pbezunartea
    @pbezunartea Рік тому

    Great video, very instructive!

  • @johnrieley1404
    @johnrieley1404 Рік тому

    Splendid video, great pace, you are a fine, clear instructor Mr. variable eyeglasses. Thanks much from me a learner.

  • @JeffSmithInStJacobs
    @JeffSmithInStJacobs Рік тому +2

    Very well done. I hope to write my RHCSA 9 in about a month, so any RHEL 9 videos that you can toss out between now and then will be very appreciated. (I'm surprised at how much has changed between RHEL 8 and 9, to be honest. A lot of RHCSA 8 videos out there are a bit misleading when applied to RHCSA 9)

  • @harunaadoga
    @harunaadoga 2 місяці тому

    Thank you!

  • @georg3l
    @georg3l Рік тому

    Very good !

  • @princeverma-dj8nf
    @princeverma-dj8nf Рік тому +1

    is this podman enough for RHCSA exam RHEL9

  • @neelojp8460
    @neelojp8460 Рік тому +1

    Very good video like always! thank you! I have only one question about AppArmor, its possible to restrict modify files/folders in e.g. folder1/subfolders+files ? even for root too ? or only for regular users ?

  • @danmiletic71
    @danmiletic71 Рік тому

    excellent guide!
    Might I suggest timestamps or something? I would not want to miss something, but have a working understanding of the basics. So to safely be able to skip the pulling of the images and such

  • @voiceoftreason1760
    @voiceoftreason1760 Рік тому +1

    why did you use `chcon` instead of `semanage fcontext`? I would think that you need to use semanage to make the file context type persistent, even after relabeling the filesystem.

    • @kihunkim9122
      @kihunkim9122 Рік тому

      but when i used semanage fcontext -a -p ~~, it didn't work. Do you know proper command for that? to change containerfile context

  • @KrachaborasJB
    @KrachaborasJB Рік тому

    Nice channel ! Also would be nice if you would explain how to run containers as a service with limited user.

    • @theurbanpenguin
      @theurbanpenguin  Рік тому

      You have to be root to create the unit file. The root user is also need to start and enable the service. But you could sudo as the user with the container in the execstart

  • @Anonymouzee
    @Anonymouzee Рік тому

    please enable captions in the videos... even english captions... ;-)
    for us non-english speakers is a great help... ;-))

  • @tockar
    @tockar Рік тому

    Fantastic video! Is there any chance you expand on this topic? cgroupsv2 configuration, for example? Pretty please

    • @theurbanpenguin
      @theurbanpenguin  Рік тому

      This was just for the exam but there is a lot more to podman

  • @vinvvinv7460
    @vinvvinv7460 Рік тому

    Hi, can you make a video explaining /etc/hosts, /etc/resolve.conf & /etc/named.conf why and when are they used? if you can provide a practical real-world working example In a basic understanding manner, please its a request

  • @gtorreblancaluna
    @gtorreblancaluna Рік тому

    No sabia que Luis Garcia le sabia a la informatica... xD jajaja

  • @iqbalasad8
    @iqbalasad8 Рік тому

    Awesome sir.

  • @RichardPeterShon
    @RichardPeterShon Рік тому

    Damn man you don’t need to explain all this in an hour video. Squeeze it down to fifteen minutes.

  • @richardgarrow9260
    @richardgarrow9260 Рік тому +1

    For anyone who watches this channel I think we should do theurbanpenguin and promote his channel on Reddit or any other social media. I will try and promote it on Reddit, I am not very well connected but I think we should try as he does a fantastic job. He needs like Million Subscribers so lets help him out.