I used this method to install OMV and 2 pihole instances in 3 separate containers. Once you do it once or twice, it's SUPER fast to deploy a new instance!
forgot to mention, I didnt notice if its already been mentioned but a recent version of proxmox ( mine is saying version 6.3, Wed 25 Nov 2020 ) I found that the template for the turnkey-core is missing in the search - this is fixed by shelling into the proxmox node and running 'pveam update' then presto, it appears in search results for the templates thanks again, very usefull video ;)
Having all the templates readily available in proxmox is one of my favorite features. I did a similar setup yesterday on my proxmox system. Ive tried many platforms and found this setup to be the easiest and best for my needs.
very usefull and enightening - I'm using proxmox as a result of one of your other videos, so thanks for that - I've been crafting my own for a while now by building an Ubuntu server and adding LXC / docker myself which is interesting and informative but I'm liking Proxmox and the way it feels like a sort of VMWare + it does LXC as you demonstrate here - whats not to like ! Your video shows a very good use case for LXC containers over running docker directly on the host or within a VM for that - so all in all makes a lot of sense just so you know at time of writing the link to your wiki is showing a 50X error but I guess you know already - I'll check back when its on line again once again, thanks very much for posting this - extremely usefull and explains a lot to me about the best way to run docker on proxmox - cheers ! :)
Great episode, thank you for all the good info. Your audio is great, however, I'd like to suggest you get a pop filter for your mic. Some words you say create a loud bass pop and could be prevented. Thank you again for sharing all of this great information.
Hello, just wanted to say that all your videos are very useful and instructional. I pretty much watched them all although I'm mostly familiar with the topics discussed. yet I discovered a lot of other interesting things. I simply wanted to say thank you for posting some good quality content on a YT flooded with all kinds of pseudo tech information.
Great episode! Really useful information. However, dark theme and high resolution means it's really hard to see; please have viewer readability in mind when you make these videos, thank you.
Hey Jeremy. Thanks for the great videos. I’m a new subscriber of yours. I’ve heard you talk about Yacht in a few videos. Are you planning to do a video on it? That would be awesome :-). Keep up the great work. Cheers.
I still like the cloud-init provisioned VMs better. Simple clone and everything is there from a template. Plus, you get snapshots when using remote storage locations, live migration, etc.
LXC surely has some setbacks compared to VMs. I faced some problems relating to cluster management. Most of them are caused by storage type differences, I assume. If it's a single function mini-server, LXC would work well with its lightweight performance.
I can't get docker to work. I'm using Proxmox 7 and after installing docker it won't start with the error: "'overlay' not found as a supported filesystem on this host. Please ensure kernel is new enough and has overlay support loaded. storage-driver=overlay2". Any help will be much appreciated.
Thanks for the video. Why do you use Turkey core Debian rather than Ubuntu or Debian LXC templates? In my opinion, having SSH pre-installed is not a strong enough reason not to use the main stream distribution templates. Are there any known performance improvements or does it use less CPU resources as an example?
Your homelab Wiki link is down. :( Biggest problem with self-hosted. :) For anybody needing the link, he installed with mostly default options from this site: hub.docker.com/r/jlesage/nginx-proxy-manager Based on the audio in the video (can't be sure), I think he changed the default port 8181 to the root-required 81. I assume he did the same with 80 and 443.
when starting the CT , and going to console I get following error : failed waiting for client: timed out TASK ERROR: command '/usr/bin/termproxy 5900 --path /vms/206 --perm VM.Console -- /usr/bin/dtach -A /var/run/dtach/vzctlconsole206 -r winch -z lxc-console -n 206 -e -1' failed: exit code 1
Hi, just a quick question. I first ran my docker inside lxc as well, but I had one problem. As far as I know docker can't use overlay2 or one of the other reasonably fast storage drivers if using a zfs-filesystem for the storage of the lxc container. What filesystem did you use for the lxc here?
LXC surely has some setbacks compared to VMs. I faced some problems relating to cluster management. Most of them are caused by storage type differences, I assume. If it's a single function mini-server, LXC would work well with its lightweight performance.
If this is not recommended for version 7 is there a way to get docker running on a lxc? What about pgid and pguid of root? Or is the recommendstion to stick with vm for docker?
crofthey permission issues and app armor. I wanted something that was ready to go. With other templates I had to sugar coat them to get it working properly.
@@selfhosted I've used stock debian containers with docker before and it's been mostly the same, besides just having to add the repository. Sure I have to add the repo, but I also don't have to go through the whole turnkey core setup. To each there own, but if I only have to install the bare minimum, I'd rather that than turnkey unless I need it
@@Sellular. So I did more testing and I found out some of the templates do indeed allow you to use both keyctl and nesting! So this is possible to setup an ubuntu 20.04 lxc without hacking it to make it work.
Turnkey is great to get started quickly in Linux with the apps you want. Once you get the hang of it then make your own VMs / CTs with standard Debian / Ubuntu images. I've started this way early on and now I do everything by hand so I know what's really installed and how it works in case I need to fix things.
Great video..... I need some help I am not sure if this is where I should ask, but I am running omv in proxmox with 2 drivers, 32G & 6TB ... 32 host all my docker. It is full I resized it in proxmox but I am unable to resize in omv file system, I don't want to start over , if any one can help
I have spent 2 days looking for this exact info. Nothing more, or less. You had exactly what I wanted. Btw, I cannot find a source that says whether npm is just a front-end for nginx or if it is fully self contained. Does anyone have a clear answer?
Hi, thanks for this video :-) Could you please show us, which docker storage driver you use, when you run docker in an lxc container (when you have portainer in use, klick on Host and you can see). I read that it is recommanded to use overlay2 (best performance and less use of drivespace for images) and I guess with LXC you do not use this driver. Thank you.
@@selfhosted but maybe others that watch your video have (I had a few month ago, bevor I read about this issue). On top the performance witb overlay2 is much better. With Proxmox it is really better to run docker in a vm. It would be interessting when you make a space and perf comparison of docker in lxc and vm 😉👍
So i'm always getting 'overlay' not found as a supported filesystem on this host. Please ensure kernel is new enough and has overlay support loaded. storage-driver=overlay' The install fails and i get this warning when dockerd
It's a docker.io package problem. You need to install it manualy (with deb packets tho). If you need this driver, witch is the FS driver for docker, you need to enable it in the proxmox kernel.
I never commented here, but I just want to say thanks for an awesome video. Ever since I first saw this video, this has been the base of my Homelab, with multiple LXC containers running Turnkey. I was fairly new to Linux and Homelab when I first saw this, and since then I have read up more on other distros. Is there a reason why you don't run Alpine instead? It should be less resource heavy than Turnkey Core.
@@selfhosted No, I haven't tried it myself. Only read that it is very resource light. 3MB in size for example. I am at the point where I probably need some more hardware, but if I could easily change distro in my containers, and save some resources that way, I of course rather do that.
@@olofalbertsson I figured it out. It uses the same resources as turnkey. However space of the OS might be smaller. I recently added a 4tb SSD via USB 3.0 on my NUC. It's pretty easy to add. thehomelab.wiki/books/promox-ve/page/add-external-usb-storage-to-proxmox
Error 520 Ray ID: 60f7cb6b9e07034f • 2021-01-10 16:32:32 UTC Web server is returning an unknown error thehomelab.wiki Host Error I'm following right along, really appreciate the time you spent to do this, my suggestion for the future is to make the terminal font bigger. I keep having to go full screen to see commands... and then this issue prevents me using this. sorry/thanks
Yep. It's a shame too. I actually downgraded back to 6.4 until they work out the kinks. I was a bit early to upgrade and I quickly realized it wasn't going to work for me so back I went!
@@selfhosted Yeah I thought that might be the reason. I am currently running Docker in a VM, might try out turnkey core instead. You didnt face any issues with Docker in LXC when using Turnkey then?
@@selfhosted to be honest, I don't quite understand what the problem is u talking 'bout... I use containers based on Ubuntu 20.04, everything works great - u also need to enable keyctl in addition to nesting.
This will be good solution for lightwight containers. But my docker install finishes with error and subsequent command also dont complete docker install. what could be the reason. It this still valid for 2021. : "Process: 794 ExecStart=/usr/sbin/dockerd -H fd:// $DOCKER_OPTS (code=exited, status=1/FAILURE) Main PID: 794 (code=exited, status=1/FAILURE)"
i have big problems with installing Nginx Proxy Manager on my proxmox LXC Container. I followed the steps in your tutorial but the container won't start... even with multiple new installations it is not working. Could someone help me?
Fabian A. The docker image installed without giving you any errors or permission issues? Did you enable nesting and make sure to uncheck unprivileged container?
Geeked Hey, thank you for your reply. All like the tutorial doublechecked that.. Installation i think make no problems but how could i check if the installation has errors?
I should mention, this is outdated. docker.io should not be installed, and instead this official guide should be followed: docs.docker.com/engine/install/debian/
I used this method to install OMV and 2 pihole instances in 3 separate containers. Once you do it once or twice, it's SUPER fast to deploy a new instance!
Yep. Not bad at all. Proxmox is not as hard as it seems!
forgot to mention, I didnt notice if its already been mentioned but a recent version of proxmox ( mine is saying version 6.3, Wed 25 Nov 2020 ) I found that the template for the turnkey-core is missing in the search - this is fixed by shelling into the proxmox node and running 'pveam update' then presto, it appears in search results for the templates
thanks again, very usefull video ;)
thank you for this.
Having all the templates readily available in proxmox is one of my favorite features. I did a similar setup yesterday on my proxmox system. Ive tried many platforms and found this setup to be the easiest and best for my needs.
Check out the Proxmox Discord Dark theme I use here! ruclips.net/video/2qxZvP7K2To/видео.html
I have just retry a fresh install, Proxmox 7 works flawlessly, with the walkaround i shared with you. Thx again for the idea.
I have a video scheduled for release tomorrow for proxmox 7. Let me know what you think and if I missed anything. It was way easier than I expected.
@@selfhosted Ok cool, i dont need to do it :) It's simple yes :)
That is what I was looking for! because I wanted the best of both worlds!: proxmox lxc containers and docker ones!
Thanks for the explanation!
This is very useful, thanks for the tutorial.
Glad you found is useful and thank you for the feedback! This means a lot to me. Even more so than any monetary donation and I mean that!
Amazing stuff, keep up the good work!!!
Thank you for checking it out!
very usefull and enightening - I'm using proxmox as a result of one of your other videos, so thanks for that - I've been crafting my own for a while now by building an Ubuntu server and adding LXC / docker myself which is interesting and informative but I'm liking Proxmox and the way it feels like a sort of VMWare + it does LXC as you demonstrate here - whats not to like ! Your video shows a very good use case for LXC containers over running docker directly on the host or within a VM for that - so all in all makes a lot of sense
just so you know at time of writing the link to your wiki is showing a 50X error but I guess you know already - I'll check back when its on line again
once again, thanks very much for posting this - extremely usefull and explains a lot to me about the best way to run docker on proxmox - cheers ! :)
Great episode, thank you for all the good info. Your audio is great, however, I'd like to suggest you get a pop filter for your mic. Some words you say create a loud bass pop and could be prevented. Thank you again for sharing all of this great information.
FYI There's a comma in the ports section of your nginx compose script that needs to be removed. Love the wiki setup btw!
Fixed. Thanks!
I really appreciate your content, sir.
I should try setting up an entire stack on an LXC and compare its resource usage to my production VM
Great vid and perfect timing!!
I found this very useful as well. Thanks!
Thanks for the demo and info, have a great day
Hello, just wanted to say that all your videos are very useful and instructional. I pretty much watched them all although I'm mostly familiar with the topics discussed. yet I discovered a lot of other interesting things. I simply wanted to say thank you for posting some good quality content on a YT flooded with all kinds of pseudo tech information.
Thanks for watching! And for putting effort into your comment :)
@@selfhosted Where did you go!?!
@@frankg9405 Taking a break due to personal issues. I'll be back!
@@selfhosted Good to hear you will be back! Keep up the good work and hope all is well then!
Great episode! Really useful information. However, dark theme and high resolution means it's really hard to see; please have viewer readability in mind when you make these videos, thank you.
Perfect timing!
Thanks for watching!
great video, has really helped me with doing more in Proxmox :)
Keep em coming Jeremy! :)
Thanks bud!
Exactly what I was loocking for. Thanks.,
Alexander Garzon Thanks for watching!
Thanks for the excellent guide.
Note: The next time you make a video, please try to reduce the display of the screen - barely see something.
I was about to test this when i opened the description... Gosh dang it...
I'll keep an eye on how things are going for version 7 but right now I still see many people making support claims about this not working.
I will help on that, i hope. I gived a basic walkaround in the commentaries.
Hi there amazing video was wondering if you was going to do a follow up for proxmox 7 ?
Hey Jeremy. Thanks for the great videos. I’m a new subscriber of yours. I’ve heard you talk about Yacht in a few videos. Are you planning to do a video on it? That would be awesome :-). Keep up the great work. Cheers.
I still like the cloud-init provisioned VMs better. Simple clone and everything is there from a template. Plus, you get snapshots when using remote storage locations, live migration, etc.
LXC surely has some setbacks compared to VMs. I faced some problems relating to cluster management. Most of them are caused by storage type differences, I assume. If it's a single function mini-server, LXC would work well with its lightweight performance.
is the wiki down? I get a CloudFlare connection timeout page...
down for me too ... 502 cloudflare - host error
Hi,
When you want to keep data over several years (without using the cloud) how to indicate a data storage space on a NAS?
I can't get docker to work. I'm using Proxmox 7 and after installing docker it won't start with the error:
"'overlay' not found as a supported filesystem on this host. Please ensure kernel is new enough and has overlay support loaded. storage-driver=overlay2". Any help will be much appreciated.
2:26 docker (v. 6.3) in privileged container does not work.
Thanks for the video. Why do you use Turkey core Debian rather than Ubuntu or Debian LXC templates? In my opinion, having SSH pre-installed is not a strong enough reason not to use the main stream distribution templates. Are there any known performance improvements or does it use less CPU resources as an example?
yeah I don't really see a reason to use this vs main.. it has a bunch of things baked in so unless you need them why use it?
Your homelab Wiki link is down. :( Biggest problem with self-hosted. :)
For anybody needing the link, he installed with mostly default options from this site:
hub.docker.com/r/jlesage/nginx-proxy-manager
Based on the audio in the video (can't be sure), I think he changed the default port 8181 to the root-required 81. I assume he did the same with 80 and 443.
And its still down
Please add the Note in the video that if you don't find TurnKey in the Templates you have to use this in the console "# pveam update"
when starting the CT , and going to console I get following error : failed waiting for client: timed out TASK ERROR: command '/usr/bin/termproxy 5900 --path /vms/206 --perm VM.Console -- /usr/bin/dtach -A /var/run/dtach/vzctlconsole206 -r winch -z lxc-console -n 206 -e -1' failed: exit code 1
Found it , I put proxmox behind a Nginx Proxy Manager
this weekend, and forgot websocket support
Hi, just a quick question. I first ran my docker inside lxc as well, but I had one problem. As far as I know docker can't use overlay2 or one of the other reasonably fast storage drivers if using a zfs-filesystem for the storage of the lxc container. What filesystem did you use for the lxc here?
LXC surely has some setbacks compared to VMs. I faced some problems relating to cluster management. Most of them are caused by storage type differences, I assume. If it's a single function mini-server, LXC would work well with its lightweight performance.
Hi
I need to configure Apache Guacamole with authentication against Active Directory. please guide me
If this is not recommended for version 7 is there a way to get docker running on a lxc? What about pgid and pguid of root? Or is the recommendstion to stick with vm for docker?
How do you mount storage into the docker container? As a mp0 bind mount in the vmXXX.conf?
I get a failure when installing docker 16.1-1 any thoughts?
Any reason for the privileged and not unprivileged container? I've ran some docker unpriv lxcs before with perfectly fine results
Eric Sell turnkey core won’t work without it because it doesn’t have keyctl.
Why did you chose turnkey? Doesn't seem to give any benefit over a standard Debian/Ubuntu apart from SSH enabled... Which takes moments to configure
crofthey permission issues and app armor. I wanted something that was ready to go. With other templates I had to sugar coat them to get it working properly.
@@selfhosted I've used stock debian containers with docker before and it's been mostly the same, besides just having to add the repository. Sure I have to add the repo, but I also don't have to go through the whole turnkey core setup. To each there own, but if I only have to install the bare minimum, I'd rather that than turnkey unless I need it
@@Sellular. So I did more testing and I found out some of the templates do indeed allow you to use both keyctl and nesting! So this is possible to setup an ubuntu 20.04 lxc without hacking it to make it work.
Turnkey is great to get started quickly in Linux with the apps you want. Once you get the hang of it then make your own VMs / CTs with standard Debian / Ubuntu images. I've started this way early on and now I do everything by hand so I know what's really installed and how it works in case I need to fix things.
Noah Darby Yep. Same here. I use Ubuntu now. Some day I’ll learn more about alpine because it’s very light weight and hardly any overhead.
Great video..... I need some help I am not sure if this is where I should ask, but I am running omv in proxmox with 2 drivers, 32G & 6TB ... 32 host all my docker. It is full I resized it in proxmox but I am unable to resize in omv file system, I don't want to start over , if any one can help
I have spent 2 days looking for this exact info. Nothing more, or less. You had exactly what I wanted.
Btw, I cannot find a source that says whether npm is just a front-end for nginx or if it is fully self contained. Does anyone have a clear answer?
Hi, thanks for this video :-) Could you please show us, which docker storage driver you use, when you run docker in an lxc container (when you have portainer in use, klick on Host and you can see). I read that it is recommanded to use overlay2 (best performance and less use of drivespace for images) and I guess with LXC you do not use this driver. Thank you.
Markus Glaetzner Yes. But I have no shortage of space :)
@@selfhosted but maybe others that watch your video have (I had a few month ago, bevor I read about this issue). On top the performance witb overlay2 is much better. With Proxmox it is really better to run docker in a vm. It would be interessting when you make a space and perf comparison of docker in lxc and vm 😉👍
Is it lighter than a lxc Debian 10 template + docker?
I followed the tutorial and when I reached the point to update and upgrade the container couldn't access the internet. Any ideas?
Jack Roeder Try restarting the container. Did you use a dchp option when creating it?
How did you get this dark mode theme on proxmox?
EDIT: nvm its PVEDiscordDark on github
oh, to high desktop resolution for me. I have to zoom it to read messages :(
So i'm always getting 'overlay' not found as a supported filesystem on this host. Please ensure kernel is new enough and has overlay support loaded. storage-driver=overlay'
The install fails and i get this warning when dockerd
It's a docker.io package problem. You need to install it manualy (with deb packets tho). If you need this driver, witch is the FS driver for docker, you need to enable it in the proxmox kernel.
I switched over to a Debian 10 LXC
i can not see a thing - dark mode on youtube?
i Doc 🤣🤣
I never commented here, but I just want to say thanks for an awesome video. Ever since I first saw this video, this has been the base of my Homelab, with multiple LXC containers running Turnkey. I was fairly new to Linux and Homelab when I first saw this, and since then I have read up more on other distros. Is there a reason why you don't run Alpine instead? It should be less resource heavy than Turnkey Core.
I'm not familiar with Alpines command options. Do you have a crash coarse I can check out?
@@selfhosted No, I haven't tried it myself. Only read that it is very resource light. 3MB in size for example. I am at the point where I probably need some more hardware, but if I could easily change distro in my containers, and save some resources that way, I of course rather do that.
@@olofalbertsson I figured it out. It uses the same resources as turnkey. However space of the OS might be smaller. I recently added a 4tb SSD via USB 3.0 on my NUC. It's pretty easy to add. thehomelab.wiki/books/promox-ve/page/add-external-usb-storage-to-proxmox
What are the specs for your Proxmox machine?
homelab wiki is down
Error 520 Ray ID: 60f7cb6b9e07034f • 2021-01-10 16:32:32 UTC
Web server is returning an unknown error
thehomelab.wiki
Host
Error
I'm following right along, really appreciate the time you spent to do this, my suggestion for the future is to make the terminal font bigger. I keep having to go full screen to see commands... and then this issue prevents me using this. sorry/thanks
I got the same thing
whaaaaattt a lot of time and the "written guide on The Homelab Wiki" link is brocken hope you fix this quick
I can confirm it too. Error 522 in my case.
not working anymore since upgrade to proxmox 7.0
Yep. It's a shame too. I actually downgraded back to 6.4 until they work out the kinks. I was a bit early to upgrade and I quickly realized it wasn't going to work for me so back I went!
Alpine Linux as the host for Docker containers is significantly lower resource usage than Turnkey Core.
Thanks
Thanks for watching!
Why not just use the Ubuntu or Debian image instead of the Turnkey?
Nicki P app armor issues. Trust me, I tried. Sure there’s ways around it but none that are made for quick deployment like turnkey core.
@@selfhosted Yeah I thought that might be the reason. I am currently running Docker in a VM, might try out turnkey core instead. You didnt face any issues with Docker in LXC when using Turnkey then?
Nicki P None at all!
@@selfhosted to be honest, I don't quite understand what the problem is u talking 'bout... I use containers based on Ubuntu 20.04, everything works great - u also need to enable keyctl in addition to nesting.
Anton Stolov what versions of Ubuntu?
This will be good solution for lightwight containers. But my docker install finishes with error and subsequent command also dont complete docker install. what could be the reason. It this still valid for 2021. : "Process: 794 ExecStart=/usr/sbin/dockerd -H fd:// $DOCKER_OPTS (code=exited, status=1/FAILURE)
Main PID: 794 (code=exited, status=1/FAILURE)"
just noticed you have another latest video about this for proxmox 7. ignore my comment.
thehomelab.wiki is down
ditto - see this as of today
i have big problems with installing Nginx Proxy Manager on my proxmox LXC Container. I followed the steps in your tutorial but the container won't start... even with multiple new installations it is not working. Could someone help me?
[cont-init.d] 00-xdg-runtime-dir.sh: exited 0.
[cont-init.d] nginx-proxy-manager.sh: executing...
[cont-init.d] nginx-proxy-manager.sh: Initializing database data directory...
[cont-init.d] nginx-proxy-manager.sh: exited 1.
[services.d] stopping services
[services.d] stopping s6-fdholderd...
[cont-finish.d] executing container finish scripts...
[cont-finish.d] done.
I added the logs.. i dont understand why
I use the server without an open IP and i cant use Letsencrypt for now because the Ports are blockt and so. Maybe is here the problem?
Fabian A. The docker image installed without giving you any errors or permission issues? Did you enable nesting and make sure to uncheck unprivileged container?
Geeked Hey, thank you for your reply. All like the tutorial doublechecked that.. Installation i think make no problems but how could i check if the installation has errors?
Thx for blog entry I'm too blind for seeing anything in this video
Your screen is too hi-res, I can’t read anything. Would be better at lower res for recording or “follow mouse” crop
I should mention, this is outdated. docker.io should not be installed, and instead this official guide should be followed: docs.docker.com/engine/install/debian/
you are out of date.. docker.io was unmaintained for about a year. As of August 2019, this is no longer the case. For debian and ubuntu use docker.io
Yo dawg...
May I ask what the benifit of installing turnkey core as opposed to a stock standard linux lxc