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

  • @walkingsaltine
    @walkingsaltine21 күн бұрын

    I appreciate your time and energy in producing this content.

  • @redradoa
    @redradoa27 күн бұрын

    Going through your educational videos one after another. Of course, subscrived. Great job. Thank you very much.

  • @benlayash8882
    @benlayash88822 жыл бұрын

    You are a star ,simple and precise . well done

  • @mrdhksan
    @mrdhksan2 жыл бұрын

    Excellent! Supe clear! Not annoying !

  • @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!

  • @jeffrisdon2803
    @jeffrisdon2803 Жыл бұрын

    Hi Ive been watching your videos on Proxmox and linux. Very Helpful! Thank You!

  • @bearvsshaan
    @bearvsshaan7 ай бұрын

    this is incredible, you're a fantastic teacher!

  • @chrisumali9841
    @chrisumali98412 жыл бұрын

    Thanks for the info and demo, have a great day

  • @dominicburrows7317
    @dominicburrows7317 Жыл бұрын

    awesome Awesome Channel! I am so grateful to have found this channel.

  • @4g242
    @4g242 Жыл бұрын

    This was very helpful, Thank you very much!

  • @UltimateJiuJitsu
    @UltimateJiuJitsu2 жыл бұрын

    This is a great series.. thanks Jay!

  • @LearnLinuxTV

    @LearnLinuxTV

    2 жыл бұрын

    Glad you enjoy it!

  • @jSirBrickzAlot
    @jSirBrickzAlot6 ай бұрын

    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.

  • @volodyaevv7120
    @volodyaevv71202 жыл бұрын

    Thanks for the video!

  • @garrettchurch6036
    @garrettchurch60364 ай бұрын

    Thanks for the great help!

  • @anthonychaple3031
    @anthonychaple30312 жыл бұрын

    Great series 👍🏻

  • @kirksteinklauber260
    @kirksteinklauber2602 жыл бұрын

    Excellent Video!!

  • @dansousac
    @dansousac Жыл бұрын

    great videos! thanks a lot

  • @aliencreation8744
    @aliencreation8744Ай бұрын

    thanks, much appreciated

  • @LearnLinuxTV

    @LearnLinuxTV

    Ай бұрын

    Glad you liked it!

  • @antony950425
    @antony950425 Жыл бұрын

    1.25x playback speed is just fine 😂

  • @justinrand678
    @justinrand6782 жыл бұрын

    Great tutorial 😃

  • @SuijoART
    @SuijoART2 жыл бұрын

    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 ?

  • @mguven
    @mguven2 жыл бұрын

    great videos, could you make a video for mounting points to explain sharing data between containers?

  • @tall_black_man4998
    @tall_black_man499811 ай бұрын

    I love the system76 brand loyalty....in the background

  • @zhangsan5564
    @zhangsan55642 жыл бұрын

    this is awesome!

  • @chopperchopable
    @chopperchopable2 жыл бұрын

    pretty good!!!

  • @udayarpandey3937
    @udayarpandey39372 жыл бұрын

    Thank you :)

  • @Datalore74
    @Datalore742 жыл бұрын

    Great vid.

  • @apulacheyt
    @apulacheyt2 жыл бұрын

    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.

  • @danieldewindt3919
    @danieldewindt3919 Жыл бұрын

    grate demo

  • @lundingantweni997
    @lundingantweni9972 жыл бұрын

    Great series came just in time for my new build!!!

  • @camaycama7479
    @camaycama74792 жыл бұрын

    awesome

  • @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

  • @ricksmith219
    @ricksmith2192 жыл бұрын

    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

  • @mattgeo5039
    @mattgeo50392 жыл бұрын

    Will be nice know bit more about your server/hardware/networking setup if possible.

  • @majorgear1021
    @majorgear10212 жыл бұрын

    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!

  • @giancarlosrm
    @giancarlosrm2 жыл бұрын

    Excellent content!! do you have any tutorial for add extra video card for the VMs. ?

  • @TuhkahYT
    @TuhkahYT5 ай бұрын

    Make sure nesting is enabled if you use a modern distro with systemd

  • @rohedam
    @rohedam6 ай бұрын

    Love the laptop arm in the background. Which one is it?

  • @NhatLinhNguyen-ru5lf
    @NhatLinhNguyen-ru5lf2 ай бұрын

    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?

  • @frankbaron1608
    @frankbaron16082 жыл бұрын

    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.

  • @jacksonpfeffer8159
    @jacksonpfeffer81594 ай бұрын

    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

  • @ierosgr
    @ierosgr2 жыл бұрын

    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.

  • @TheOnlyEpsilonAlpha
    @TheOnlyEpsilonAlpha Жыл бұрын

    So Containers are stateful on Proxmox? I didn't knew that :O

  • @RandomTorok
    @RandomTorok29 күн бұрын

    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?

  • @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

  • @ourkid2000
    @ourkid20006 ай бұрын

    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

  • @paulmacgiollacaoine8619
    @paulmacgiollacaoine86192 жыл бұрын

    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.

  • @edwarddonnelly2937
    @edwarddonnelly2937Ай бұрын

    I've watched up to this one and cannot see anything about setting up extra drives for storage of VMs & containers.

  • @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 ( container -> cgroup version. TASK WARNINGS: 1 Thanks

  • @papperme
    @papperme2 жыл бұрын

    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.

  • @icanthelplt9061
    @icanthelplt90612 жыл бұрын

    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

  • @aaronperl
    @aaronperl2 жыл бұрын

    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.

  • @teberon
    @teberon2 жыл бұрын

    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
    @jeffherdzina67162 жыл бұрын

    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 ( 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
    @maherkhalil0072 жыл бұрын

    Is containers are safe so sell it to customers?

  • @cassio2999
    @cassio29992 жыл бұрын

    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

    Жыл бұрын

    Do your own research, dude! Learn, like he did! This is a setup tutorial!

  • @bearvsshaan

    @bearvsshaan

    7 ай бұрын

    imagine being so bitter and miserable you were compelled enough by this tutorial to leave an asshole comment like this guy ^^

  • @100amps

    @100amps

    7 ай бұрын

    ​@@brierepooc8987 His point was valid. Yours is just worthless trolling.

Келесі