Proxmox VE Full Course: Class 7 - Creating Containers
Ғылым және технология
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
*⏰ 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
📘 FAQ
• What is a "Distribution" of Linux? ➜ linux.video/what-is-a-distro
• What is a "Desktop Environment"? ➜ linux.video/desktop-environment
• Which Linux Distro should I use on my Server? ➜ linux.video/which-server-distro
• How do I create USB install media? ➜ linux.video/install-media
• How do I create multi-boot USB media? ➜ linux.video/ventoy
• How do I connect to a Linux server via SSH? ➜ linux.video/use-ssh
• How do I exit vim? ➜ linux.video/vim
• How do I use APT? ➜ linux.video/apt
• How do I use DNF? ➜ linux.video/dnf
• How do I use pacman? ➜ linux.video/pacman
• How do I use zypper? ➜ linux.video/zypper
• What the heck is a "Flatpak"? ➜ linux.video/flatpak
• What is a "Snap" package? ➜ linux.video/snap
• How do I install Arch Linux? ➜ linux.video/install-arch
• How do I configure SSH on my server? linux.video/ssh-server
• How do I install updates? ➜ linux.video/updates
• What server tweaks should I implement? ➜ linux.video/every-server
• How do I use LVM? ➜ linux.video/lvm
• How do I use Git? ➜ linux.video/git
• When will the "Year of the Linux Desktop" Happen? ➜ linux.video/yotld
• Do you have a sense of humor? ➜ linux.video/lol
#Proxmox #Virtualization #Homelab
Пікірлер: 80
I appreciate your time and energy in producing this content.
Going through your educational videos one after another. Of course, subscrived. Great job. Thank you very much.
You are a star ,simple and precise . well done
Excellent! Supe clear! Not annoying !
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!
Hi Ive been watching your videos on Proxmox and linux. Very Helpful! Thank You!
this is incredible, you're a fantastic teacher!
Thanks for the info and demo, have a great day
awesome Awesome Channel! I am so grateful to have found this channel.
This was very helpful, Thank you very much!
This is a great series.. thanks Jay!
@LearnLinuxTV
2 жыл бұрын
Glad you enjoy it!
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.
Thanks for the video!
Thanks for the great help!
Great series 👍🏻
Excellent Video!!
great videos! thanks a lot
thanks, much appreciated
@LearnLinuxTV
Ай бұрын
Glad you liked it!
1.25x playback speed is just fine 😂
Great tutorial 😃
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 ?
great videos, could you make a video for mounting points to explain sharing data between containers?
I love the system76 brand loyalty....in the background
this is awesome!
pretty good!!!
Thank you :)
Great vid.
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.
grate demo
Great series came just in time for my new build!!!
awesome
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
Жыл бұрын
How many simultaneously? Why not use nginx as load balancer? I see nginx and wordpress containers at turnkey
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
Will be nice know bit more about your server/hardware/networking setup if possible.
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!
Excellent content!! do you have any tutorial for add extra video card for the VMs. ?
Make sure nesting is enabled if you use a modern distro with systemd
Love the laptop arm in the background. Which one is it?
I have a noob questions: what does it mean by loading SSH public key when creating the container? Is it SSH public key of the remote machine that you are using to access the Proxmox / VMs. What is the function of loading it here? Will you be able to SSH into cointainer without password if you load SSH now?
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.
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
Wouldnt it be useful to issue the command pveam update. in order for the list of containers to be wider and more updated?
@jameswhite1910
2 жыл бұрын
It is updated daily by default.
So Containers are stateful on Proxmox? I didn't knew that :O
I followed you to the letter even naming it webserver-ct. But first time I try to login in it won't let me. How can I delete the container and start over?
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
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
Can I use Docker containers on Proxmox? If so how and if not why not? Thanks for the great content :)
@majorgear1021
2 жыл бұрын
Yep. you can use them inside of a VM, and I think you can also use them inside of lxc's.
I've watched up to this one and cannot see anything about setting up extra drives for storage of VMs & containers.
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 ( container -> cgroup version. TASK WARNINGS: 1 Thanks
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
2 жыл бұрын
vm
@LearnLinuxTV
2 жыл бұрын
When I get caught up, I'm going to create a stand-alone video on running Windows in Proxmox.
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
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
2 жыл бұрын
Nice spare parts. What is your main rig then
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
2 жыл бұрын
Very different, like the virtual machine equivalent of a docker container.
@thefullstackworld
2 жыл бұрын
Look for LXD it is built on top of LXC, I hope that will help you
@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
2 жыл бұрын
@@glidentity VM=it's own kernel with emulated hardware. LXC=sharing host kernel but with boundaries, limited access to system resources.
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
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
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
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
2 жыл бұрын
@@MichaelDirks same here. I've tried recreating the container 4 or 5 times now. Same exact problem.
Well, Ubuntu worked just fine. But having issues with Centos7.
@LearnLinuxTV
2 жыл бұрын
What issue(s) in particular?
@jeffherdzina6716
2 жыл бұрын
@@LearnLinuxTV The Warning..... () WARN: old systemd ( 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.
Is containers are safe so sell it to customers?
this video starts at 2:00
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
Жыл бұрын
Do your own research, dude! Learn, like he did! This is a setup tutorial!
@bearvsshaan
7 ай бұрын
imagine being so bitter and miserable you were compelled enough by this tutorial to leave an asshole comment like this guy ^^
@100amps
7 ай бұрын
@@brierepooc8987 His point was valid. Yours is just worthless trolling.