Run Docker in a Proxmox LXC Container #shorts #docker #proxmox

preview_player
Показать описание


#docker #proxmox #linux #containerization #virtualization
Рекомендации по теме
Комментарии
Автор

Please also tell about the Security Issues that this creates! If you "take" the Docker container, you "take" the Proxmox host. That doesn't happen in a VM.

haraldfielker
Автор

I'm doing the same on Proxmox VE. LXC helps with network setup (a dedicated public IP per LXC container) and docker helps deploy the applications.

chnk
Автор

I got confused a bit - I guess it deserves a bit longer video.

rklauco
Автор

AWESOME TIP.
Pls make another video - I need to run Oracle Express Database (to test query optimization of office work) in Proxmox.

ayan.debnath
Автор

personaly I use a VM with alpine Linux to take lower ressources through vagrant and then I install Docker

wjffhfgj
Автор

I installed docker on the proxmox host, but maybe I'd better do this approach

rvanwaay
Автор

I'm going to try this RIGHT NOW!!!

arghyl
Автор

Good stuff as usual, thanks Marc.
Not sure but I think I have read somewhere that proxmox makes SSD life shorter if installed on it, I hope you could explain this in one of your next videos. Cheers

rachidyekini
Автор

Hi Marc, and thank you for the tip. i'm using your option 1, privileged container so i am wondering what additional risks there may be if i was running in a production environment (i'm not, it's just my own learning home lab...but if i were.... ?). i also went for the turnkey core container, because it was right there in the templates, ready to deploy and i figured it would make for a lightweight host in which to run docker containers.

daysiewaysie
Автор

Marc, I'm trying to learn Linux creating a media server at my home. I'm looking to setup Proxmox and have two server distros installed in containers(one as a backup incase something happen with the main one). I was wondering if I should use Docker, is this a bit advanced to my use case?

Berecutecu
Автор

Hi @OneMarcFifty Is it possible to use Fedora CoreOS instead of Debian for the LXC-Container?

MaxBauer
Автор

Can't that lead to some kernel issues? Making it privileged can have it change the kernel and bork the proxmox install?

dominick
Автор

Just keep in mind that if your Proxmox VE Host uses zfs, you might run into problems with some docker containers (vfs etc.)

Felix-vehs
Автор

Dear,
Then to host docker in LXC container is to enable keyctl, nesting AND to keep unpriviliged. Is it right?

yboujraf
Автор

Why does keyctl need to be enabled? I have docker running on LXC without keyctl

HyuLilium
Автор

Just don't do that. VM's are just so much better for isolation, backup and migration. And if you are creating the Docker LXC-Container on a ZFS filesystem, you have to create a ext4-Disk on top of that for /var/lib/docker as a workaround.
Best practice is to not even create a single LXC container and just rely on VM's and Docker-containers.

Currysuechtig
Автор

Or go down the Kubernetes rabbit hole 🐇🕳️🥰

abbtt
Автор

NO lxc containers are NOT ment for docker the brake all the time. Please don't

giorgos-cfrv
Автор

this is unsupported, i found out the hard way once.

redetermine
Автор

I liked proxmox but one day it just failed on me and was a pain to fix so I switched to ESXi and never looked back

pojomcbooty