Proxmox VE Full Course: Class 7 - Creating Containers

  Переглядів 113,390

Learn Linux TV

Learn Linux TV

День тому

LearnLinuxTV's full course on Proxmox Virtual Environment continues with the 7 class in the series, and this time it's all about containers. In this video, you'll see the process of launching LXC containers through Proxmox VE.
🐧 Check out QEMUCare, which can help you keep your virtual hosts running by live patching QEMU:
➡️ learnlinux.link/qemucare
Other episodes:
Class 01 - Getting Started: linux.video/pve1
Class 02 - Installation Process: linux.video/pve2
Class 03 - Web Console Overview: linux.video/pve3
Class 04 - Containers vs Virtual Machines: linux.video/pve4
Class 05 - Launching a Virtual Machine: linux.video/pve5
Class 06 - Setting up Virtual Machine Templates: linux.video/pve6
Class 07 - Creating Containers: This video
Class 08 - Setting up Container Templates: linux.video/pve8
Class 09 - User Management: linux.video/pve9
Class 10 - Backups and Snapshots: Coming soon!
Class 11 - Integrated Firewall: Coming soon
Class 12 - Command-line Interface: linux.video/pve12
Class 13 - Networking: linux.video/pve13
Class 14 - Shared storage: linux.video/pve14
Class 15 - Clustering: linux.video/pve15
Class 16 - High availability: linux.video/pve16
Bonus video 1 - Launching a Windows VM: linux.video/pve-win
Bonus video 2 - Getting started with Proxmox Backup Server: linux.video/pbs
Bonus video 3 - Proxmox VE - How to build an Ubuntu 22.04 Template (Updated Method): linux.video/pve-2204
Bonus video 4 - Build a Kubernetes Cluster on Proxmox: linux.video/proxmox-k8s
LearnLinuxTV Sites
🐧 Main site:
➡️ www.learnlinux.tv
🐧 LearnLinuxTV Community:
➡️ community.learnlinux.tv
Support LearnLinuxTV (commission earned)
📖 Check out Jay's latest book, Mastering Ubuntu Server 4th Edition. Covers Ubuntu 22.04!
➡️ ubuntuserverbook.com
🙌 Support me on Patreon and get early access to new content!
➡️ learnlinux.link/patron
☁️ Support LearnLinuxTV and Set up your own cloud server with Akamai Connected Cloud:
➡️ learnlinux.link/akamai
🛒 Affiliate store for Linux compatible hardware/accessories:
➡️ learnlinux.link/amazon
💻 Check out the Tiny Pilot KVM for your Homelab:
➡️ learnlinux.link/tinypilot
Time codes:
00:00 - Intro
04:25 - Downloading a Template
05:40 - Creating a container
09:34 - Finished container shown in interface
09:56 - Setting up automatic start for the container
10:24 - Quick note about privileged vs unprevileged containers
11:10 - Starting up a container
13:05 - Adding a user within the container
14:15 - Testing out Apache within the container
About Me
🐦 Follow me on Twitter!
➡️ learnlinux.link/twitter
👨 More about me:
➡️ www.jaylacroix.com
➡️ www.learnlinux.tv
Recommended evergreen videos:
💽 How to create a bootable flash drive for installing Linux
➡️ linux.video/flash-usb
🐧 Understanding Linux permissions
➡️ linux.video/perms
🐧 OpenSSH Guide
➡️ linux.video/ssh
📖 LVM Deep-dive:
➡️ linux.video/lvm
🔐 How to better secure OpenSSH:
➡️ linux.video/secure-ssh
☁️ How to create a cloud Linux server with Linode:
➡️ learnlinux.link/create-linode
FAQ
🐧 Which distro do I use?
➡️ learnlinux.link/mydistro
💽 My recording gear (commissions earned):
➡️ learnlinux.link/recording-stuff
#Proxmox #Virtualization #Homelab

КОМЕНТАРІ: 72
@benlayash8882
@benlayash8882 2 роки тому
You are a star ,simple and precise . well done
@GutsyGibbon
@GutsyGibbon Рік тому
Great. The video was worth its weight in gold right at the beginning. I am just starting with Proxmox and I assumed the containers were ephemeral like other (Docker) containers. This makes things much easier for a web server or LAMP server where content and database live on after stop and restart. (If I understood you correctly.) Thanks!
@mrdhksan
@mrdhksan Рік тому
Excellent! Supe clear! Not annoying !
@bearvsshaan
@bearvsshaan 4 місяці тому
this is incredible, you're a fantastic teacher!
@chrisumali9841
@chrisumali9841 2 роки тому
Thanks for the info and demo, have a great day
@jeffrisdon2803
@jeffrisdon2803 9 місяців тому
Hi Ive been watching your videos on Proxmox and linux. Very Helpful! Thank You!
@jSirBrickzAlot
@jSirBrickzAlot 3 місяці тому
This is a great series Jay. I decided to get my son's old Dell Latitude 3500, which has a 256 FGB SSD, 8 gb of ram. Still managed to follow along so far, have the 2 Ubunto web servers running, 1 windows 10 vm with 4 gb ram, and now a containter. All running on this laptop. Also RDP'd to the windows machine while typing this. Think I'll pick up a mini pc to add . Eventually a small 2 disk nas. Living in a Condo space is a premium.
@anthonychaple3031
@anthonychaple3031 Рік тому
Great series 👍🏻
@volodyaevv7120
@volodyaevv7120 2 роки тому
Thanks for the video!
@4g242
@4g242 9 місяців тому
This was very helpful, Thank you very much!
@UltimateJiuJitsu
@UltimateJiuJitsu 2 роки тому
This is a great series.. thanks Jay!
@LearnLinuxTV
@LearnLinuxTV 2 роки тому
Glad you enjoy it!
@SuijoART
@SuijoART 2 роки тому
I very appreciate your Proxmox serie thanks again. It's a great work. Do you plan to show how to configure the network cards of a VM with the CLI ?
@apulacheyt
@apulacheyt 2 роки тому
Great episode Jay as always. Any chance to explore PCI pass through on LXC?. I think it will be very interesting to use LXC for running Deep Learning workloads with an Nvidia GPU, if it's possible. Thanks in advance.
@garrettchurch6036
@garrettchurch6036 Місяць тому
Thanks for the great help!
@mguven
@mguven 2 роки тому
great videos, could you make a video for mounting points to explain sharing data between containers?
@kirksteinklauber260
@kirksteinklauber260 2 роки тому
Excellent Video!!
@dominicburrows7317
@dominicburrows7317 Рік тому
awesome Awesome Channel! I am so grateful to have found this channel.
@zhangsan5564
@zhangsan5564 2 роки тому
this is awesome!
@justinrand678
@justinrand678 2 роки тому
Great tutorial 😃
@tall_black_man4998
@tall_black_man4998 9 місяців тому
I love the system76 brand loyalty....in the background
@dansousac
@dansousac Рік тому
great videos! thanks a lot
@chopperchopable
@chopperchopable 2 роки тому
pretty good!!!
@udayarpandey3937
@udayarpandey3937 2 роки тому
Thank you :)
@Datalore74
@Datalore74 2 роки тому
Great vid.
@lundingantweni997
@lundingantweni997 2 роки тому
Great series came just in time for my new build!!!
@giancarlosrm
@giancarlosrm 2 роки тому
Excellent content!! do you have any tutorial for add extra video card for the VMs. ?
@ricksmith219
@ricksmith219 2 роки тому
I have been waiting for a series like this, thank you so much... I am following along as they are released. I got the ubuntu container going as you did. None of the debian container templates seem to boot? Is there something special to get those going? I did them as I did the ubuntu
@danieldewindt3919
@danieldewindt3919 Рік тому
grate demo
@remedyreport
@remedyreport Рік тому
I've been using proxmox containers in production for web servers since about 2016. I really love them. It allows me to make the most use of my Hardware. I run about containers simultaneously. One container runs ha proxy which manages SSL certificates for all the hosts behind it. I really want to find a template for a container that runs nginx with WordPress on it. This is essential in my opinion. Apache is too wasteful with interrupt requests.
@nemac23
@nemac23 Рік тому
How many simultaneously? Why not use nginx as load balancer? I see nginx and wordpress containers at turnkey
@majorgear1021
@majorgear1021 2 роки тому
Question on container storage. if the machine I'm virtualizing is currently needs 150gb storage, do I make the rootfs drive that size? Or do I keep that one small, around 8gb as in your example, and add another drive? I ask because I noticed the "add" button under "disks" in the create ct setup wizard. Thanks!
@antony950425
@antony950425 Рік тому
1.25x playback speed is just fine 😂
@TuhkahYT
@TuhkahYT 2 місяці тому
Make sure nesting is enabled if you use a modern distro with systemd
@mattgeo5039
@mattgeo5039 2 роки тому
Will be nice know bit more about your server/hardware/networking setup if possible.
@camaycama7479
@camaycama7479 2 роки тому
awesome
@frankbaron1608
@frankbaron1608 2 роки тому
is it possible to add a passthrough drive to a container? i can do it on a vm but i'd like to do it on a container.
@rohedam
@rohedam 4 місяці тому
Love the laptop arm in the background. Which one is it?
@ierosgr
@ierosgr 2 роки тому
Wouldnt it be useful to issue the command pveam update. in order for the list of containers to be wider and more updated?
@jameswhite1910
@jameswhite1910 2 роки тому
It is updated daily by default.
@andrescalapt_
@andrescalapt_ 2 роки тому
Eyy pressed like button and the subscribe button! This is awesome! I'm wondering how can I create a VM with home assistant and a CT with Maria DB, is this possible? How? Thaankks
@paulmacgiollacaoine8619
@paulmacgiollacaoine8619 2 роки тому
Can I use Docker containers on Proxmox? If so how and if not why not? Thanks for the great content :)
@majorgear1021
@majorgear1021 2 роки тому
Yep. you can use them inside of a VM, and I think you can also use them inside of lxc's.
@TheOnlyEpsilonAlpha
@TheOnlyEpsilonAlpha 10 місяців тому
So Containers are stateful on Proxmox? I didn't knew that :O
@jacksonpfeffer8159
@jacksonpfeffer8159 2 місяці тому
I'm super late to this party, so maybe it used to be different... but people should know that root access via SSH is NOT disabled by default (at least not with the proxmox ubuntu-22.04-standard CT Template). I think what jay meant to say is root SSH PASSWORD LOGIN is disabled by default. However, if you added your public key in the CT configuration, you WILL be able to login to the root user via SSH using that key
@ourkid2000
@ourkid2000 4 місяці тому
Tried this today. Spun up the container and tried to SSH into it from another machine but I get port 22: Connection refused. It will ping the address but not connect via SSH
@papperme
@papperme 2 роки тому
Thanks for the great contents. I learn something new. I want to install windows 10 on proxmox. How can this be done the best way,?
@jensodotnet
@jensodotnet 2 роки тому
vm
@LearnLinuxTV
@LearnLinuxTV 2 роки тому
When I get caught up, I'm going to create a stand-alone video on running Windows in Proxmox.
@UniqueTech2012
@UniqueTech2012 Рік тому
Hello Sir, I am looking for a help, LXC CT is not working with centos 7 template, even not starting the OS. Getting warning messages bellow... WARN: old systemd (< v232) detected, container won't run in a pure cgroupv2 environment! Please see documentation -> container -> cgroup version. TASK WARNINGS: 1 Thanks
@icanthelplt9061
@icanthelplt9061 2 роки тому
Loving this series, building my first home server with spare parts. 10700/64gb ddr4/2x1tb 980 nvme/5x4tb x300 drives. i also have two 500gb ssds not sure if i will use them or how i should exactly setup the install. i am going to be hosting multiple game servers using linuxgsm as well as backups and file storage with freenas. I am thinking vm for freenas, and ct for game servers. any advice would be great!
@LearnLinuxTV
@LearnLinuxTV 2 роки тому
I can see where you're going with the containers/vm, but unfortunately I haven't used linuxgsm before so I don't know how helpful I can be there - but either way, that sounds like a very fun project!
@averagedev7768
@averagedev7768 2 роки тому
Nice spare parts. What is your main rig then
@teberon
@teberon 2 роки тому
Interestingly I can't even log into root using the container console. I need to use the proxmox server shell and use pct enter to be able to create a new user
@LearnLinuxTV
@LearnLinuxTV 2 роки тому
Did you set a password during the creation process of the container? I hate to ask that, because I'm sure you probably did, but I haven't experienced that before.
@teberon
@teberon 2 роки тому
@@LearnLinuxTV Yes, I did. Just did the test again. Might be something with the Proxmox host as I had also issues using Cloud-Init the other day. I think backing up the VMs and re-installing Proxmox might be a good idea
@MichaelDirks
@MichaelDirks 2 роки тому
@@teberon I'm having the same issue. Created the password during container creation. Tried to log on using root and getting Login incorrect. I have proxmox v7.1-7
@justincollins4332
@justincollins4332 2 роки тому
@@MichaelDirks same here. I've tried recreating the container 4 or 5 times now. Same exact problem.
@jeffherdzina6716
@jeffherdzina6716 2 роки тому
Well, Ubuntu worked just fine. But having issues with Centos7.
@LearnLinuxTV
@LearnLinuxTV 2 роки тому
What issue(s) in particular?
@jeffherdzina6716
@jeffherdzina6716 2 роки тому
@@LearnLinuxTV The Warning..... () WARN: old systemd (< v232) detected, container won't run in a pure cgroupv2 environment! Please see documentation -> container -> cgroup version. TASK WARNINGS: 1 Googled the warning .....and tried this. In which I .... vi /etc/default/grub I changed this line from, GRUB_CMDLINE_LINUX_DEFAULT="quiet" to GRUB_CMDLINE_LINUX_DEFAULT="systemd.unified_cgroup_hierarchy=0 quiet" and..... update-grub all I get is a flashing cursor and not able to enter in any information.
@maherkhalil007
@maherkhalil007 2 роки тому
Is containers are safe so sell it to customers?
@aaronperl
@aaronperl 2 роки тому
I'm used to working with containers in Docker... from this video it seems like LXC containers behave really differently, really more like a VM than a container meant to run a single process
@LearnLinuxTV
@LearnLinuxTV 2 роки тому
Very different, like the virtual machine equivalent of a docker container.
@thefullstackworld
@thefullstackworld 2 роки тому
Look for LXD it is built on top of LXC, I hope that will help you
@glidentity
@glidentity 2 роки тому
@@LearnLinuxTV but what is the difference between a VM and lxe? Because I can see the difference between docker and a VM but I really struggle to see the point/advantage of a lxe compared to a VM (at least templated VM). Édit: maybe a good idea for a video
@tomasfasth2956
@tomasfasth2956 2 роки тому
@@glidentity VM=it's own kernel with emulated hardware. LXC=sharing host kernel but with boundaries, limited access to system resources.
@cassio2999
@cassio2999 2 роки тому
this video starts at 2:00
@tombeauchamp806
@tombeauchamp806 Рік тому
so my biggest issue with this whole series you you just set shit up without explaining what it is or what it does or pros and cons. thank you for showing me how to set up random things i know no context of. much appreciated
@brierepooc8987
@brierepooc8987 9 місяців тому
Do your own research, dude! Learn, like he did! This is a setup tutorial!
@bearvsshaan
@bearvsshaan 4 місяці тому
imagine being so bitter and miserable you were compelled enough by this tutorial to leave an asshole comment like this guy ^^
@100amps
@100amps 4 місяці тому
​@@brierepooc8987 His point was valid. Yours is just worthless trolling.
New Linux User: 10 Things I Wish I Knew When I First Started
23:31
Learn Linux TV
Переглядів 365 тис.
Артем Пивоваров х Klavdia Petrivna - Барабан
03:16
Artem Pivovarov
Переглядів 8 млн
Virtualize vs. Containerize (Which should I choose?)
14:38
Techno Tim
Переглядів 181 тис.
XCP NG VS Proxmox 2022 And Why I Chose...
25:19
Lawrence Systems
Переглядів 128 тис.
host ALL your AI locally
24:20
NetworkChuck
Переглядів 452 тис.
What's the BEST home server operating system?
17:35
Christian Lempa
Переглядів 578 тис.
HomeLab Services Tour 2024 - What Am I Self Hosting?
40:00
Techno Tim
Переглядів 335 тис.
Proxmox 10 tweaks you need to know
9:48
VirtualizationHowto
Переглядів 29 тис.
Proxmox VE Full Course: Class 6 - Creating Virtual Machine Templates
17:57
Learn Linux TV
Переглядів 107 тис.
you need to learn Docker RIGHT NOW!! // Docker Containers 101
23:19
NetworkChuck
Переглядів 2,6 млн
Docker on Proxmox LXC 🚀 Zero Bloat and Pure Performance!
20:53
SmartHomeBeginner
Переглядів 20 тис.
🤯Самая КРУТАЯ Функция #shorts
0:58
YOLODROID
Переглядів 3,3 млн
поворотний механізм для антени
0:17
Lazeruk
Переглядів 14 тис.
Phone charger explosion
0:43
_vector_
Переглядів 49 млн