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.
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?
❤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
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!
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.
I definitely am at loss here, but I’ve noticed you installed the Ubuntu Vm on the Zfs pool itself. What would’ve happened if it had to be installed in local (ie it hosts the OS and containers etc). How would we then add the zfs pool to the Ubuntu Server.
When you setting up VM or LXC container, proxmox gives you option where do you want to store Virtual Drive. For example: prnt.sc/GEipBkD412Hs VAULT in my setup points to NAS - main drive for that VM is stored on NAS. I can later migrate that VM drive to another location using this options: prnt.sc/GEipBkD412Hs Shutdown VM, migrate drive to another location, let's say ZFS or CEPH or Local. Once migration is done - start up VM and you are good to go.
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
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?
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.
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
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.
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.
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.
In this video i referenced that i will use Fileserver setup which i have already demonstrated in here : ruclips.net/video/I7nfSCNKeck/видео.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.
Correction:
23:14 - should be ,username=mrp NOT ,user=mrp
Excellent video. Able to set it up with no issues. Thank you for sharing your knowledge!!
Very cool! Great series.
Thank you very much. Very detailed steps. I finally got mine working..
thanks Mrp, however, the the docker version and docker compose.yml needs to upgrade. Everything else is working fine. Thank you
1st comment. i wait long for your video about proxmox.
Thankyou for your hard work.
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.
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?
❤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
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!
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.
Hello, nice video👌have you video about samba share with that webmin you mention in video?
Hi,
Thank you for your comment.
Webmin NAS video : ruclips.net/video/I7nfSCNKeck/видео.htmlsi=lK1mSWK2weleBeip
I definitely am at loss here, but I’ve noticed you installed the Ubuntu Vm on the Zfs pool itself. What would’ve happened if it had to be installed in local (ie it hosts the OS and containers etc). How would we then add the zfs pool to the Ubuntu Server.
When you setting up VM or LXC container, proxmox gives you option where do you want to store Virtual Drive.
For example: prnt.sc/GEipBkD412Hs
VAULT in my setup points to NAS - main drive for that VM is stored on NAS.
I can later migrate that VM drive to another location using this options: prnt.sc/GEipBkD412Hs
Shutdown VM, migrate drive to another location, let's say ZFS or CEPH or Local. Once migration is done - start up VM and you are good to go.
how to you set it up with truenas scale
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
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?
@@MRPtech i followed you exactly. So i've got lxc container from turnkey.
When i get back home from work. I'll have a look at the password as you said.
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.
I am glad all worked out for you!
hi Mrp, i getting error when running the comand sudo apt install docker docker-compose -y . Package docker has no installation candidate.
Which Ubuntu version you trying to use ?
@@MRPtech i used the latest ubuntu 24, i figured it out by following docker guide . thanks a lot
Yeah. Ubuntu 24.04 do not have docker-compose repo added due to some version issue or something. I learned that like 1 week ago :)
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
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.
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.
@@MRPtech well , learned something new today
Thanks
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.
Please check pinned comments before making your own comment.
@@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.
In this video i referenced that i will use Fileserver setup which i have already demonstrated in here : ruclips.net/video/I7nfSCNKeck/видео.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.