How to use Docker containers in Proxmox?

raavikant

New Member
Jul 25, 2023
5
0
1
USA
Can someone please explain how to use Docker containers in Proxmox? And what things should I need to keep in mind while using Docker containers in Proxmox?


Thanks in advance.
 
Best way to use Docker on Proxmox VE is to set up a separate VM and install/run Docker containers on there as on any other machine. Installing Docker on the Proxmox VE host is highly discouraged (it interferes with some mechanisms on which we rely). While there are some reports that it can work, we also highly discourage users from installing Docker inside a container.

Hope this answers your question.
 
Last edited:
Not to hijack a thread, but why it's highly discouraged to run Docker on LXC?
Best way to use Docker on Proxmox VE is to set up a separate VM and install/run Docker containers on there as on any other machine. Installing Docker on the Proxmox VE host is highly discouraged (it interferes with some mechanisms on which we rely). While there are some reports that it can work, we also highly discourage users from installing Docker inside a container.

Hope this answers your question.
 
Not to hijack a thread, but why it's highly discouraged to run Docker on LXC?
If you want to run application containers, for example, Docker images, it is recommended that you run them inside a Proxmox QEMU VM. This will give you all the advantages of application containerization, while also providing the benefits that VMs offer, such as strong isolation from the host and the ability to live-migrate, which otherwise isn’t possible with containers.
 
  • Like
Reactions: UdoB

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!