Here's a playlist dedicated to LXD! kzbin.info/aero/PLDbRgZ0OOEpX_uqK_hAq98ltdc4DP-D34
@aaronprisk Жыл бұрын
Hey Trevor, just wanted to say that this video series is excellent. Thank you for sharing your knowledge with the world!
@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
@toolbelt Жыл бұрын
Great video. Thank you.
@prajganeshАй бұрын
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Ай бұрын
@@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Ай бұрын
@@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Ай бұрын
@@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.
@nicoladellino81249 ай бұрын
Very nice video, THX.
@Heavy_LvyАй бұрын
you should make the bottom of the video darker so its easier to see the time stamps
@TrevorSullivanАй бұрын
Good idea, thanks!
@bitferret-rx5rn8 ай бұрын
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?
@TrevorSullivan8 ай бұрын
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-rx5rn8 ай бұрын
Hello @@TrevorSullivan... I am trying to provision the container with authorised ssh keys so I can login without password
@TrevorSullivan8 ай бұрын
@@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-rx5rn8 ай бұрын
@@TrevorSullivan yes.. I realised cloud-init can do that. I am still reading and practicing to find a good path
@whipncream Жыл бұрын
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 Жыл бұрын
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!
@Tmacs-yp6vvАй бұрын
Hi Trevor, im unable to apt update or upgrade my ubuntu-vm , do you know how can i troubleshoot this? Thanks, great videos
@TrevorSullivanАй бұрын
@@Tmacs-yp6vv thanks for your kind comment. 😊 What error are you getting from apt CLI? Are you positive the VM has internet access?
@Tmacs-yp6vvАй бұрын
This has to do with docker engine messing with iptables firewall, i added 2 lines sudo iptables -A FORWARD -i lxdbr0 -j sudo iptables -A FORWARD -o lxdbr0 -j ACCEPT for the bridge adaptor and i was able to get the vm update and upgrades running.
@HaitiSpaceAgencyАй бұрын
Error: The remote isn't a private LXD server
@jg1000c6 ай бұрын
how do you get kvm to work on intel i5 windows box with a linux hyper-v vm?
@TrevorSullivan6 ай бұрын
I'm not sure about KVM, sorry. LXD is pretty awesome though. Any reason you can't use it?
@jg1000c6 ай бұрын
@@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. kzbin.info/www/bejne/rp69lKanbbKkoZY
@jg1000c6 ай бұрын
@@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
@eduardmart12379 ай бұрын
How is it different from docker?
@TrevorSullivan9 ай бұрын
Docker does not create virtual machines. It creates containers that isolate processes.
@DonaldCarroll-i8mАй бұрын
Davis Ruth Thomas James Lopez Thomas
@amblessedcoding9 ай бұрын
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