Docker: Installation on Baremetal / VM / LXC

Jose Antonio Romero

New Member
Apr 11, 2020
2
0
1
52
Hello,

I am installed PVE 6.1 in a server to have two environment, a simulation of production and and other of development and to use Docker tecnology on both. What is the best way to do it?:

1) Install Docker in the server directly (baremetal) and to create pairs of dockers for each product (mysql, apache, etc... to use as production environment and as development environment each product)

2) Create two VM, once for each environment and install and configure Docker on each. After, create the products (mysql, apache, etc...)

3) Create two LXC, once for each environment and install and configure Docker the same way that point 2.

In the first case, can the Docker instance affect to PVE performance? Is a good idea?
In the other cases, which is the best? Could be enough run Dockers containers on LXC instances, or is it better on VM instances? Is there much different?

Which is the best option?

Can someone help me, please?

Thanks

Best regards

Jose Antonio
 
Last edited:
I highly recommend to install Docker inside a VM.
 

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!