How to Set Up Docker and Containers on Proxmox?

0
8
Asked By TechExplorer77 On

I'm new to using Proxmox and Linux, and I'm running into some roadblocks with setting everything up, especially when it comes to deploying containers. I'm working on a Protectli V1410 with a single 1TB drive, and I'm confused about how to configure the disk setup properly. I allocated 64GB for maxroot and 860GB for maxvz during installation, but I wonder if that was the right choice or if I should have left maxroot blank for the entire capacity. Is it possible to change these allocations after installation?

I've got some side projects in mind, like running ARRs, a Unifi controller, and Nextcloud, but I'm torn between setting these up in separate containers or stacking them. If anyone has recommendations for how to structure the deployment, I'd love to hear them. I've also been told to install an Ubuntu VM, then Docker, and use Portainer, but I'm not clear on why all these layers are necessary when I'm already using Proxmox. Is there a simpler way to set this up?

Additionally, can someone share advice on backing up Proxmox and reinstalling it remotely? I just want to make sure I can restore my system if anything goes wrong during the setup. Thanks for any help you can provide!

3 Answers

Answered By ContainerGuru21 On

Hey there! You actually don’t need to install a full Ubuntu VM for running Docker on Proxmox. Proxmox can run containers natively, so you can deploy Docker directly. This simplifies your setup significantly! Also, about your disk allocation: it's typically recommended to leave the maxroot blank if you're planning on utilizing a majority of your disk space for VMs and containers. You can still adjust allocations later through the Proxmox interface. Hope this helps!

VirtualNerd88 -

That makes sense! I guess I misunderstood how Proxmox handles Docker. So, I can focus on setting up my containers with just Proxmox?

ServerCraft16 -

Yeah, exactly! Just make sure to keep your Proxmox updated, so you have the latest features.

Answered By LinuxWanderer42 On

If you’re looking for straightforward deployment, I’d suggest starting with separate containers for each service like you mentioned. It keeps things organized and makes troubleshooting easier in case something goes wrong. As for backups, you can use built-in tools in Proxmox to create snapshots and backups before you make major changes. This will help you restore your system quickly if needed!

DataDude93 -

Right! I just need to figure out how to back everything up properly, then!

HelpfulTechie -

Definitely check out the Proxmox documentation for backing up. It's a lifesaver!

Answered By CloudyTechie On

Your current setup is great for experimenting, but if you feel overwhelmed, you might consider sticking to a lightweight Linux distribution like Alpine and just running Docker there. You can always add Portainer later for container management. Simplicity is key when you’re starting out!

ProTipMaster -

I like that idea! Keeping it simple will let me learn without getting bogged down.

Newbie2Pro -

Exactly! Stick to the basics until you’re comfortable moving on.

Related Questions

LEAVE A REPLY

Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.