Intro to Virtual Machines With LXD on Linux

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

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

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

    Here's a playlist dedicated to LXD! ruclips.net/p/PLDbRgZ0OOEpX_uqK_hAq98ltdc4DP-D34

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

    Hey Trevor, just wanted to say that this video series is excellent. Thank you for sharing your knowledge with the world!

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

      Thank you, Aaron!! I've been loving learning about, and using, LXD! Creating virtual infrastructure is so easy and accessible for anyone these days! Cheers

  • @Heavy_Lvy
    @Heavy_Lvy 4 дня назад +1

    you should make the bottom of the video darker so its easier to see the time stamps

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

    Great video. Thank you.

  • @prajganesh
    @prajganesh 6 дней назад

    Quick question. when you don't pass --vm flag, it creates a Container. So curious what's the difference betweenn VM and Container. Also what's the difference between Docker container vs lxd container? thanks

    • @TrevorSullivan
      @TrevorSullivan  6 дней назад

      @@prajganesh great question! I'm not familiar with all the differences between LXC and Docker containers. I mainly just used LXD to create VMs. I'm sure there's some articles that go into more depth about the differences.

    • @prajganesh
      @prajganesh 6 дней назад

      @@TrevorSullivan Thanks for the quick response. I guess with --vm you get a separate vm to do whatever you want to do. if you try to use lxc in a EC2 instance, it only allows you to create containers.. we have to use bare metal EC2 if you need to use --vm.

    • @TrevorSullivan
      @TrevorSullivan  6 дней назад

      @@prajganesh yeah that's exactly right, you'd have to use the metal instance types in EC2. I use LXD to create VMs on physical custom built systems at home.

  • @HaitiSpaceAgency
    @HaitiSpaceAgency 7 дней назад

    Error: The remote isn't a private LXD server

  • @nicoladellino8124
    @nicoladellino8124 8 месяцев назад +1

    Very nice video, THX.

  • @bitferret-rx5rn
    @bitferret-rx5rn 7 месяцев назад

    Hello Trevor... back again... I wanted to ask if you have a resource explaining how to create a container with ssh keys pulled from the host or from a github repo?

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

      Hello there! Are you trying to set up an SSH service inside of a container? Is the intent to SSH into the container for debugging? Just curious on more about your use case, thanks!

    • @bitferret-rx5rn
      @bitferret-rx5rn 7 месяцев назад

      Hello @@TrevorSullivan... I am trying to provision the container with authorised ssh keys so I can login without password

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

      @@bitferret-rx5rn oh I think I see what you mean. You want to import the SSH authorized_keys from the host, when you create a new container? I would think this is possible using a bind mount. Do you know how those work? It basically just links a file or directory inside the container back to the host's file system.

    • @bitferret-rx5rn
      @bitferret-rx5rn 7 месяцев назад +1

      @@TrevorSullivan yes.. I realised cloud-init can do that. I am still reading and practicing to find a good path

  • @whipncream
    @whipncream 11 месяцев назад

    do you think you can elaborate a little on the server side? are you using a server thats in your house or are you paying for access to a server just trying to learn and i cant do that without knowing the step before this and i cant find any documentation on it or sure what to even google if you could help that would be amazing im not expecting a full blown tutorial just a push in the right direction thanks :)

    • @TrevorSullivan
      @TrevorSullivan  11 месяцев назад +1

      Great question! I have an older desktop workstation at home that I've installed Ubuntu Server on. That's what I used to run LXD VMs on!

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

    how do you get kvm to work on intel i5 windows box with a linux hyper-v vm?

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

      I'm not sure about KVM, sorry. LXD is pretty awesome though. Any reason you can't use it?

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

      @@TrevorSullivan I'm trying to use it but was getting a kvm error when trying to create a virtual machine with lxc command. I found a guy that did get lxd to work on Windows so I'm going to give it a try. Hopefully it just didnt like hyper-v. I installed Ubuntu from Microsoft Store. ruclips.net/video/xmZcsq8Mqk4/видео.html

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

      @@TrevorSullivan I'm using LXD. I was able to create a container but not VM, Creating the instance
      Error: Failed instance creation: Failed creating instance record: Instance type "virtual-machine" is not supported on this server: vhost_vsock kernel module not loaded

  • @eduardmart1237
    @eduardmart1237 8 месяцев назад

    How is it different from docker?

    • @TrevorSullivan
      @TrevorSullivan  8 месяцев назад

      Docker does not create virtual machines. It creates containers that isolate processes.

  • @DonaldCarroll-i8m
    @DonaldCarroll-i8m 6 дней назад

    Davis Ruth Thomas James Lopez Thomas

  • @JustinBennington-u1t
    @JustinBennington-u1t 11 часов назад

    Martin Barbara Garcia Ruth Martin Matthew

  • @amblessedcoding
    @amblessedcoding 8 месяцев назад

    Hello I do not understand this video
    You didn't show step by step for windows users
    You started form your own vm
    Please make it understandable for windows users

    • @Xpider-dev
      @Xpider-dev 2 месяца назад

      windows user are not allowed here