Setting up DOCKER (Ubuntu) VM inside PROXMOX | PROXMOX Home Server | Home Lab

  Рет қаралды 7,951

MRP

MRP

Күн бұрын

Let's create UBUNTU VM inside Proxmox which will be our main DOCKER HOST.
All Docker container will run in this VM.
----
Get Ubuntu Server ISO:
links.themrp.tech/ubuntuserver
Portainer docker-compose.yml pastebin.com/VvJb8Q7X
----
Chapters:
00:00 Intro
01:07 My Proxmox-Sandbox Setup
03:32 Ubuntu-Server VM Setup
11:51 Update / Upgrade / Install Docker Docker-Compose
13:10 Portainer Container Setup
18:38 Portainer Web GUI
20:30 Connecting to SMB share
25:55 The-End Chat
---
Reference videos:
TrueNAS setup • TrueNAS Scale VM runni...
FileServer LXC • Host NAS inside LXC Co...
Cloudflare Tunnel Setup • Access Self-Hosted ser...
----
#proxmox
#dacker
#docker-compose

Пікірлер: 29
@MRPtech
@MRPtech 9 ай бұрын
Correction: 23:14 - should be ,username=mrp NOT ,user=mrp
@goodcitizen4587
@goodcitizen4587 3 ай бұрын
Very cool! Great series.
@AmbientQuest
@AmbientQuest 5 ай бұрын
Excellent video. Able to set it up with no issues. Thank you for sharing your knowledge!!
@techwacky
@techwacky 8 ай бұрын
Thank you very much. Very detailed steps. I finally got mine working..
@eidodoos
@eidodoos 9 ай бұрын
1st comment. i wait long for your video about proxmox.
@ibzman1393
@ibzman1393 5 ай бұрын
Thankyou for your hard work.
@watchbro3319
@watchbro3319 6 ай бұрын
❤thanks for the easy informative tutorial so does running homelab in proxmox then in that a ubuntu vm run docker have any benefit or y not just directly install ubuntu desktop with docker -and docker compose and run apps (i was using that earlier on old laptop using cloudflared tunnel to expose my webapps on subdomains cuz i dont have static ip) because in proxmox ubuntu vm wont have gpu and dedicated native support so wont the performace be down im thinking to use my single optiplex 7040 16/512 i5 6th as a beginner i need to run websites with docker nginx casaos and few docker apps is it enough for tinkering im a little confused about what to install ubuntu or proxmox on this single optiplex micro im jst starting, my homelab any suggestions thanks
@vklab24
@vklab24 2 ай бұрын
Thanks for the video MRP! I'm not using the Samba Windows File Sharing from Turnkey and instead i'm using the Truenas solution (1 drive only)! and i've tried to add all the synntax on the fstab - but when i run the command - about the permissions - as you mentioned and from there i got stuckl - almost at the end of the video - my Truenas is fully configured therefore do i need to do something in the backend to grant access to this VM?
@supperka2
@supperka2 9 ай бұрын
Hello, nice video👌have you video about samba share with that webmin you mention in video?
@MRPtech
@MRPtech 9 ай бұрын
Hi, Thank you for your comment. Webmin NAS video : kzfaq.info/get/bejne/f52embZ0s7HJk58.htmlsi=lK1mSWK2weleBeip
@RonieRuas
@RonieRuas 27 күн бұрын
thanks Mrp, however, the the docker version and docker compose.yml needs to upgrade. Everything else is working fine. Thank you
@davidperdomo9
@davidperdomo9 3 ай бұрын
Hi, great video! I'm interested in knowing if it's possible to partition the VM disk as follows: /docker 36G, /root 16G, /var 16G, and /boot 1G. I'm not sure what would be considered a good practice for this. Do you have any hints? Thank you in advance!
@MRPtech
@MRPtech 3 ай бұрын
I haven't done it myself, but i think it is doable. Create Linux VM and attach drive you want to partition as 2nd drive. In that VM CLI run CFDISK or another Partition tool and cut drives in chunks you need. Once that is done, you can transfer 2nd drive to a New VM where you want to use it. Proxmox allows to Transfer Ownership of drives.
@Mark_Point
@Mark_Point 3 ай бұрын
What's the advantage of installing docker and docker composes in the way you did? The docker information says you need to set up their repositories before installing the docker engine? which looks a lot more effort than how you did it.
@408427
@408427 7 ай бұрын
how to you set it up with truenas scale
@seetcas
@seetcas 9 ай бұрын
Thanks for great work. If i may ask why would i use a vm instead of lxc container to run docker ? I got also a question regarding proxmox helper scripts I installed a lxc docker container with portioner from helper script then I installed nextcloud using docker compose , i can access nextcloud locally with port 8080 but i cant access it remotely with my domain I also tried turnkey nextcloud and same thing happened i could not access it remotely on port 80 Me setup using proxmox with cloudflare domain and oracle vps setup with tailscale
@MRPtech
@MRPtech 9 ай бұрын
I think that your nextcloud configuration missing trusted domains list. My guess would be that your trusted domains list only contains your local ip and not full domain.
@MRPtech
@MRPtech 9 ай бұрын
Answer to you question: ""If i may ask why would i use a vm instead of lxc container to run docker ? "" LXC containers has "more" access to host compared to VM. VM is more locked down instance. And add more to that, in the future is i want to run something localy inside VM and not docker container, there is bigger chance that what ever service i will install will run with no issues, but if i will try to install on LCX container - LXC will complain about privileges and other things. Example: Tailscale Installing tailscale in VM is just one line command, but if you want to install tailscale in LXC container you will have to do A B and C to make sure it is working.
@seetcas
@seetcas 9 ай бұрын
@@MRPtech well , learned something new today Thanks
@ayhanersin
@ayhanersin 9 ай бұрын
great video, thanks for sharing your knowledge. but i get the same error message when i want to mount samba share. didn't see clearly how you managed to solve the problem. @24:17
@MRPtech
@MRPtech 9 ай бұрын
That error what due to my SMB user password wasn't set properly. I was connecting to SMB with user mrp but password i gave to that user for SMB was not active. Are you using Fileserver LXC container for your SAMBA?
@ayhanersin
@ayhanersin 9 ай бұрын
​@@MRPtech i followed you exactly. So i've got lxc container from turnkey.
@ayhanersin
@ayhanersin 9 ай бұрын
When i get back home from work. I'll have a look at the password as you said.
@ayhanersin
@ayhanersin 9 ай бұрын
thanks for taking time to reply me. i found the problem. it was in fstab file. the option for "user,user=mrp,password=xxxx " should have been "user,username=mrp,password=xxxx ". everything is fine after the correction. thanks again.
@MRPtech
@MRPtech 9 ай бұрын
I am glad all worked out for you!
@jothain
@jothain 9 ай бұрын
24:42 that was a sh*tty move. Guess if I can find the configuration error you managed to find off screen with unfamiliar webmin. Wasted a lot of time🙄 Please check your content before releasing it.
@MRPtech
@MRPtech 9 ай бұрын
Please check pinned comments before making your own comment.
@jothain
@jothain 9 ай бұрын
@@MRPtech I always do and it didn't help. I think webmin was missing samba unix user rights. Took few additional hours to make it work for me.
@MRPtech
@MRPtech 9 ай бұрын
In this video i referenced that i will use Fileserver setup which i have already demonstrated in here : kzfaq.info/get/bejne/f52embZ0s7HJk58.html There was no need to double the tutorial on something that i have already published. The error i had in webmin - i forgot to assigned password to SMB user.
Don’t run Proxmox without these settings!
25:45
Christian Lempa
Рет қаралды 114 М.
small vs big hoop #tiktok
00:12
Анастасия Тарасова
Рет қаралды 19 МЛН
бесит старшая сестра!? #роблокс #анимация #мем
00:58
КРУТОЙ ПАПА на
Рет қаралды 2,9 МЛН
Install Docker and Portainer in Proxmox on a Ubuntu VM
17:24
credibleDEV
Рет қаралды 44 М.
How to Configure VLANs in Proxmox
15:47
House of Logic blog
Рет қаралды 1,4 М.
How to start your HomeLab journey?
17:32
Christian Lempa
Рет қаралды 54 М.
Docker on Proxmox LXC 🚀 Zero Bloat and Pure Performance!
20:53
SmartHomeBeginner
Рет қаралды 31 М.
My Proxmox Home Server ... (GPU Passthrough, IOMMU Groups and more)
15:01
Proxmox Automation with Proxmox Helper Scripts!
24:15
Techno Tim
Рет қаралды 59 М.
Virtualize vs. Containerize (Which should I choose?)
14:38
Techno Tim
Рет қаралды 183 М.
После ввода кода - протирайте панель
0:18
iPhone 12 socket cleaning #fixit
0:30
Tamar DB (mt)
Рет қаралды 51 МЛН
Неразрушаемый смартфон
1:00
Status
Рет қаралды 1,7 МЛН