LXD Step by Step

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

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

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

    Well done (as always) ... love the new dark theme for the bullet points and transitions. Keep up the good work.

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

      Thanks. I decided to circle back and do some of the basics again.

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

    Nice video Scott !
    Will write you later today!

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

    Great starter tutorial for LXD, thanks Scott.

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

      I realized that circling back to the start was a good plan to make a more basic tutorial than even my LXD Containers 101. Thx! Pass the word.

  • @mannlevilthe
    @mannlevilthe 5 месяцев назад

    Great tutorial. I have a question, though: why create a bridge0 interface instead of simply pointing the bridged profile to enp5s0?

    • @scottibyte
      @scottibyte  5 месяцев назад

      Because enp5s0 is a physical device. Enp5s0 is like a single port on a switch. The bridge0 device I create is a "virtual switch" and as such works like a hardware Ethernet switch that you might purchase. A physical or a virtual switch allows you to connect more than one device to the interface. By creating the bridge0 device, we can have multiple LXD containers with unique addresses bridged to the main LAN. This is also why a standard LXD installation creates the lxdbr0 virtual switch during the "lxd init" operation. Lxdbr0 is a switch that bridges outbound traffic from NAT containers to your LAN. The difference is that bridge0 actually allows multiple containers to get a DHCP address from your router. Enp5s0 is dedicated to one OS instance only and cannot bridge. Be sure to watch my "incus" videos as well. Incus is an open source fork of LXD. Incus Containers Step by Step is a good place to start. Come by chat.scottibyte.com/ to say hi or ask questions.

  • @kusumahaja
    @kusumahaja 5 месяцев назад +1

    Super Tutorial.... THANKS

    • @scottibyte
      @scottibyte  5 месяцев назад

      Glad it was helpful. Stop by the chat at chat.scottibyte.com/ to ask questions or just say hi.

  • @EvoPA8815
    @EvoPA8815 3 месяца назад +1

    Excellent!

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

      Thanks. Be sure to join the chat at chat.scottibyte.com/.

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

    Hi love your videos!
    I have a question, following along with this video I create the bridge and then enter sudo netplan apple and then I can no longer ssh into the lxd server. Ive gone through it a few times and still cant figure it out. any help would be appreciated. Thanks!

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

      Jeff, join the chat at chat.scottibyte.com/. Hopefully you are doing a "sudo netplan apply" and not a "sudo netplan apple". You will want to make sure that your bridge0 is using the same address as your original ethernet adapter. Realize that the MAC address of the bridge0 is different than the MAC address you had for the physical adapter. This may/could cause an issue with some routers. If you are unable to "ping" the address, it could be that you had the original adapter's MAC address entered as a DHCP address reservation on your router. If so, than the router won't allow the bridge0 which has a different MAC address to communicate.

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

      @@scottibyte Hi I did everything over and made sure my netplan yaml file was Identical to yours using the IP address that was given through dhcp and and using my routers IP address I then run sudo netplan apply and same thing happens like before and same thing cant ssh anymore

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

      @@jeffrisdon2803 did you join the chat?

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

      @@scottibyte yes i did

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

    Thank you Scott for this video. You rock!! Just curious, do you or have you ever run business type applications from LXD containers?

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

      By business type applications, I am thinking perhaps NextCloud or maybe an AR system. I have run NextCloud. In all, I have about 50 LXD containers running with various apps.

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

    I might finally try this.

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

    ubuntu-LV, LV stands for Logical Volume. Not IV. Hope that helps and makes sense (ubuntu-vg is a volume group)

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

      I know this. I don't write down my presentations word for word. Thank you for pointing out logical volume manager. Did you learn anything or do you just audit RUclips to find issues?

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

      @@scottibyte Wow, passive aggressive response to someone who has watched your videos. The comment was not directed just to you, but to anyone watching and reading the comments and wishing to know. If I did not want to learn more about LXD I would not have watched your video. Maybe learn to take comments as simple comments and not a criticism of your work, and maybe not look for only comments that actively praise you for knowledge and skills.

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

      @@dawolfsdenyo sorry, but I have fought developing these videos for hundreds of hours and after 175 videos and two years I have earned barely $200. You would be surprised just how many folks home in on something as simple as a misspelling. This is an extremely thankless endeavor. After 40 years in the industry, it's my hope to just give back. Comments like yours are just soul crushing. All I hope is to benefit a few. Clearly, I totally missed the mark with you.

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

      @@scottibyte I totally understand and appreciate the thankless hours working on these for so long, and thank you for doing these. There was never an intention to put you down for your error, I never called you stupid or anything, it was just a comment on a video with a correction for it, simple as that. I have been a Unix admin and Systems Admin for 30 years and an Enterprise Architect for 20 of those (with some years before that as tech and admin support before the titles and certs), so I appreciate the desire to share with the community and desire to educate. My second comment was not meant to be soul crushing, but hopefully educational, as being a content creator, you have to be able to see simple comments and not take them as personal attacks. It can drive viewers away, which I would love to not see happen, as, I would love to see your channel and views grow. I wish you all the luck on the channel growth and will continue to give you the views, without engagement that may upset. We old IT guys need to stick together

    • @davidkamaunu8734
      @davidkamaunu8734 5 месяцев назад

      ​@@dawolfsdenyowell said. I feel like the issue with social media and youtube commentary is it has dark patterning built in that creates division. I myself used to correct
      English that was incorrect as I have an allergy for poor grammar and usage. It was a non-native English speaker who was using "route" for the disorganized retreat of a Ukrainian unit which shouldve been called a "rout"... Simple enough. Oh wow did i catch hell for that from the everyone. I was attacked for being insensitive, an English Nazi etc. 😅 So silly. But I was told in the Army if you witness someone doing something below the standard and fail to correct it... You just lowered the standard... I found this post enlightening and I aspire to create an internal network "cloud range" with a number of vulnerable hosts that can be evaluated by my Supermicro EA50-9AP-5N running OPN Sense internally with a RPi 3B clone (Le Potato from Libre PC) that runs Technetium DNS server with an internal zone.