Overview of Rootless Podman: Part 1 - Understanding Root Inside and Outside a Container

Поделиться
HTML-код
  • Опубликовано: 15 янв 2025

Комментарии • 17

  • @pallenrupp
    @pallenrupp Год назад +4

    by far, the most concise and easily understood primer to outside vs. inside user mappings.

  • @Wahinies
    @Wahinies Год назад +3

    This is so cool thank you for the split screen comparisons!

  • @ayhaneyikan7842
    @ayhaneyikan7842 7 месяцев назад

    Clear and concise, well done

  • @holgervk
    @holgervk Год назад +3

    5:13 : putting any char of the grep string in brackets [] makes the "grep -v grep" unnecessary
    ps -ef|grep "/usr/lib/systemd/systemd rhgb" -> grep process shows up in the result
    ps -ef|grep "[/]usr/lib/systemd/systemd rhgb" -> grep process does not show up in the result
    ps -ef|grep "/usr/lib/sys[t]emd/systemd rhgb" -> grep process does not show up in the result

  • @beboshi69
    @beboshi69 3 месяца назад

    This is perfection

  • @till2038
    @till2038 3 года назад +1

    Between 01:10 and 04:40 there are diff scenarios but shell prompt stays the same.
    # whoami
    sync
    and not:
    $ whoami
    sync
    Am I missing something?
    Thanks

    • @vlk.charles
      @vlk.charles 2 года назад

      The prompt symbol is just a convention.

  • @glnngrhm
    @glnngrhm 4 года назад +3

    In scenario #4, if a container were to share a volume with the host and a file were created in that shared volume, the host would have a permissions denied on that file. What would be the process to get around that? .. thanks in advance.

    • @rahilarious
      @rahilarious Год назад

      good question... I'm also struggling with this. have to use root to even ls

    • @Wahinies
      @Wahinies Год назад

      I had to do two things: match the UID and GID of the host user (PUID and PGID lines in the compose file) and secondly append :Z to the volume to indicate the volume is shared in order to make SELinux happy (on Rocky 9.2)

  • @rahilarious
    @rahilarious Год назад

    clearedthe confusion. tnx

  • @rickyv.2790
    @rickyv.2790 2 года назад

    Do you have a guide on running this on Openshift 4.11?

  • @arunghanta5066
    @arunghanta5066 3 года назад

    Rootless user when try to initialize systemctl from the ubi images get DBus connection failed. Is that by design?

  • @UnknownSend3r
    @UnknownSend3r 4 года назад

    Very well explained. Thanks..

  • @RedCloudServices
    @RedCloudServices Год назад +2

    I went from docker on rhel to podman. worst decision of the year

  • @jimallen8238
    @jimallen8238 Год назад +1

    I wanted to like Podman, but all this rootless/rootful stuff is black magic. Unnecessarily complicated. I't so easy to get lost with this stuff. I'll stick with the simplicity of Docker. It just works

    • @Adam1nToronto
      @Adam1nToronto 3 дня назад

      Docker "just works" because it uses a daemon with root privilege. The docker commands you launch from the cmdline are docker client commands, which send a request to the daemon. Podman, otoh, has no daemon, so you can run a podman container without root privileges on the host. It's a big security improvement.