Intro to Virtual Machines With LXD on Linux

  Рет қаралды 7,716

Trevor Sullivan

Trevor Sullivan

Күн бұрын

Пікірлер: 31
@TrevorSullivan
@TrevorSullivan Жыл бұрын
Here's a playlist dedicated to LXD! kzbin.info/aero/PLDbRgZ0OOEpX_uqK_hAq98ltdc4DP-D34
@aaronprisk
@aaronprisk Жыл бұрын
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
@toolbelt
@toolbelt Жыл бұрын
Great video. Thank you.
@prajganesh
@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
@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
@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
@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.
@nicoladellino8124
@nicoladellino8124 9 ай бұрын
Very nice video, THX.
@Heavy_Lvy
@Heavy_Lvy Ай бұрын
you should make the bottom of the video darker so its easier to see the time stamps
@TrevorSullivan
@TrevorSullivan Ай бұрын
Good idea, thanks!
@bitferret-rx5rn
@bitferret-rx5rn 8 ай бұрын
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 8 ай бұрын
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 8 ай бұрын
Hello @@TrevorSullivan... I am trying to provision the container with authorised ssh keys so I can login without password
@TrevorSullivan
@TrevorSullivan 8 ай бұрын
@@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 8 ай бұрын
@@TrevorSullivan yes.. I realised cloud-init can do that. I am still reading and practicing to find a good path
@whipncream
@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
@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
@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
@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
@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
@HaitiSpaceAgency Ай бұрын
Error: The remote isn't a private LXD server
@jg1000c
@jg1000c 6 ай бұрын
how do you get kvm to work on intel i5 windows box with a linux hyper-v vm?
@TrevorSullivan
@TrevorSullivan 6 ай бұрын
I'm not sure about KVM, sorry. LXD is pretty awesome though. Any reason you can't use it?
@jg1000c
@jg1000c 6 ай бұрын
@@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
@jg1000c
@jg1000c 6 ай бұрын
@@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 9 ай бұрын
How is it different from docker?
@TrevorSullivan
@TrevorSullivan 9 ай бұрын
Docker does not create virtual machines. It creates containers that isolate processes.
@DonaldCarroll-i8m
@DonaldCarroll-i8m Ай бұрын
Davis Ruth Thomas James Lopez Thomas
@amblessedcoding
@amblessedcoding 9 ай бұрын
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 3 ай бұрын
windows user are not allowed here
Manage CPU and Memory Resources for LXD Linux VMs
23:05
Trevor Sullivan
Рет қаралды 1,3 М.
啊?就这么水灵灵的穿上了?
00:18
一航1
Рет қаралды 66 МЛН
Wait for the last one 🤣🤣 #shorts #minecraft
00:28
Cosmo Guy
Рет қаралды 6 МЛН
Getting started with LXD Containerization (Full Guide!)
32:21
Learn Linux TV
Рет қаралды 83 М.
Replace Virtual Machines with LXC/LXD Containers
41:57
Scotti-BYTE Enterprise Consulting Services
Рет қаралды 12 М.
Контейнеры LXC/LXD (часть 1)
40:48
Just Another Linux Channel
Рет қаралды 9 М.
FydeOS: ChromiumOS with Android, Linux & no Google!
23:26
ExplainingComputers
Рет қаралды 137 М.
LXC - Guide to building a LXC Lab
15:32
DevOps Journey
Рет қаралды 35 М.
The Real Reason to Use LXD
8:17
Scotti-BYTE Enterprise Consulting Services
Рет қаралды 6 М.
Running LXD in production
27:16
LXD
Рет қаралды 1,7 М.
MicroCloud, now with OVN!
21:00
LXD
Рет қаралды 8 М.