Proxmox
Proxmox inside a Docker container.
Features ✨
- Fast virtual machines
- Isolated LXC containers
- Web-based management interface
Usage 🐳
Via Docker Compose:
services:
proxmox:
hostname: pve
image: dockurr/proxmox
container_name: proxmox
environment:
USERNAME: "root"
PASSWORD: "root"
ports:
- 8006:8006
restart: always
privileged: true
stop_grace_period: 1m
Via Docker CLI:
docker run -it --rm --name proxmox --hostname pve -e "USERNAME=root" -e "PASSWORD=root" -p 8006:8006 --privileged --stop-timeout 60 docker.io/dockurr/proxmox
Via Github Codespaces:
Screenshot 📸
FAQ 💬
How do I use it?
Very simple! These are the steps:
-
Start the container and connect to port 8006 using your web browser.
-
Login using the credentials you specified in the
USERNAMEandPASSWORDenvironment variables.
Enjoy your time with your brand new Proxmox installation, and don't forget to star this repo!
How can I setup networking for the virtual machines?
-
Go to
System->Network-->Create-->Linux Bridgein the Proxmox web-interface. -
Create a new
Linux Bridgeand set itsIPv4/CIDRfield to exactly the same subnet as your Docker container (172.0.11.0/24for example). -
Set the
Gatewayto its.1address (172.0.11.1), and create the bridge. -
Attach
vmbr0to your virtual machine, start the machine and view its screen. -
Configure the OS for a static IP instead of DHCP, pick one starting from a value of
.100, for example172.0.11.100. -
The virtual machine should now be connected to the internet!
Tip
If you do not know the subnet of your Docker container, execute:
docker inspect -f '{{range.NetworkSettings.Networks}}{{.IPAddress}}{{end}}' proxmoxto view its IP address.
How do I verify if my system supports the KVM virtualization used by Proxmox?
First check if your software is compatible using this chart:
| Product | Linux | Win11 | Win10 | macOS |
|---|---|---|---|---|
| Docker CLI | ✅ | ✅ | ❌ | ❌ |
| Docker Desktop | ❌ | ✅ | ❌ | ❌ |
| Podman CLI | ✅ | ✅ | ❌ | ❌ |
| Podman Desktop | ✅ | ✅ | ❌ | ❌ |
After that you can run the following commands in Linux to check your system:
sudo apt install cpu-checker
sudo kvm-ok
If you receive an error from kvm-ok indicating that KVM cannot be used, please check whether:
-
the virtualization extensions (
Intel VT-xorAMD SVM) are enabled in your BIOS. -
you enabled "nested virtualization" if you are running the container inside a virtual machine.
-
you are not using a cloud provider, as most of them do not allow nested virtualization for their VPS's.
Acknowledgements 🙏
Special thanks to rtedpro-cpu, this project would not exist without his invaluable work.

