LXC + Docker Containers + Storage - A Crash Course!

แชร์
ฝัง
  • เผยแพร่เมื่อ 18 ก.ย. 2024

ความคิดเห็น • 13

  • @lester.sanchez
    @lester.sanchez ปีที่แล้ว +4

    Nice one. Many thanks for sharing. I've been trying to configure user mappings properly but all information I had found was fragmented and incomplete until I found your video that covered not only one but two end to end, full solutions. Bravo!

    • @TheTinkerDad
      @TheTinkerDad  ปีที่แล้ว

      I'm glad to know that this vid helps people! :) Thanks for your feedback!

  • @nemurea
    @nemurea ปีที่แล้ว +2

    That was a complicated one, very well explained! Thanks for taking the time to guide us through!

    • @TheTinkerDad
      @TheTinkerDad  ปีที่แล้ว

      Glad you liked it, it is in fact one of the most complicated videos I've ever made. :)

  • @alfarahat
    @alfarahat ปีที่แล้ว +1

    Please keep doing such grate crash courses

  • @jakeyeh9614
    @jakeyeh9614 2 ปีที่แล้ว +2

    Great, Thanks for sharing.❤

  • @franciscolastra
    @franciscolastra ปีที่แล้ว +1

    Very interesting video!!!! And good workaround!
    Is this valid for proxmox 7.3 as well?
    Many thanks for sharing your knowledge and experience.

  • @domingoscastelhano1702
    @domingoscastelhano1702 ปีที่แล้ว +1

    Hi There; Thanks for this amazing tutorial.I run a LXC container .file server container .I establish samba connections and I achieve to read and write on the shared directories inside the container but I can't write, only read on a bind mount directory of the host that I also try to share .Do you have an idea about I 'm missing .Rgds

  • @NunoRibeiro1975
    @NunoRibeiro1975 2 ปีที่แล้ว +1

    Thank You. Very usefull.

  • @allards
    @allards ปีที่แล้ว +2

    Seems a little bit too much work in HA setup with multiple host to create PAM users on all hosts!

    • @TheTinkerDad
      @TheTinkerDad  ปีที่แล้ว

      You're right, but this is just an example of a single container. In case of a HA setup you'd normally use something LDAP based like FreeIPA to manage users anyway, wouldn't you?

  • @michbret123
    @michbret123 2 ปีที่แล้ว +1

    Thank you. Very nice tutorial.
    Too bad I didn't find it before since I messed a lot around this topic.
    I wanted to do the same thing as your last solution (having the same user on the host and on the container) and I finished with something similar.
    I also had another issue :
    In my case the mounted "directory" I want to share was a ZFS dataset
    zfs create cyclades/partages (cyclades is the zfs pool) and
    mp0: /cyclades/partages,mp=/partages in the container conf file.
    Everything worked with all the idmap, subuid, .... chown and chmod stuff as you explained in your video with one exception:
    If I create a zfs sub-dataset of partages (eg zfs create cyclades/partages/test)
    the rigths were not propagated and cannot be set with chown/chmod.
    The solution I found is to add the following properties to the dataset partages:
    zfs set acltype=posixacl cyclades/partages
    zfs set aclmode=passthrough cyclades/partages
    zfs set aclinherit=passthrough cyclades/partages
    destroy the dataset
    zfs destroy cyclades/partages/test
    reboot the container
    Now if I recreate the test dataset
    zfs create cyclades/partages/test
    Everything is OK
    Best regards