A
A
Alexey Ksenzov2016-07-04 12:44:15
OpenVZ
Alexey Ksenzov, 2016-07-04 12:44:15

What to choose, LXC or OpenVZ?

Actually the essence of the question., I think is clear. Without any hollivars ...
I read on the Internet, there are no fresh comparisons, from 2011, 2014 ... But the development does not stand still, neither there nor there.
Now I have XEN, and I would like to move to containers, because. XEN is virtualization, and as a result, more resource consumption.
LXC - containers running on the upstream kernel, without patches, etc. Everything seems to be working, but not in production (or is it not so anymore?)
OpenVZ - on a patched kernel from RHEL6 (CentOS6, Scientific Linux6). As far as I understand, for RHEL7 (CentOS7, Scientific Linux7) as a host system, OpenVZ has not yet been filed. But this is not a problem, because. although the versions of the packages and the kernel are old, all fixes are backported. And as "guest" systems, you can install modern versions of distributions (Debian 8, CentOS 7 etc.). Plus, if I remember everything correctly, then OpenVZ has some "cool chips" that are not in LXC.
I don't really need much. containers for websites, some scripts, etc. Our office is not big, so I don't think there will be many containers.
Does anyone have experience with both systems? What to choose for "set it and forget it", and then just update the system, add or remove containers, etc.?

Answer the question

In order to leave comments, you need to log in

4 answer(s)
V
Vlad Zhivotnev, 2016-07-04
@KsenZ

There is only one selection criterion - if people who potentially want to harm all containers at once (especially root access) will have access to containers - then openvz.
If "all your own" - then lxc.

S
Sergey Bronnikov, 2016-07-04
@estet

Comparison table LXC vs OpenVZ {6,7}
> As far as I understand, for RHEL7 (CentOS7, Scientific Linux7) as a host system, OpenVZ has not yet been filed.
The final release will be announced soon, we were just collecting questions regarding the release

S
Sanes, 2016-07-04
@Sanes

If you need to cut the limits hard, then definitely OpenVZ, in some cases LXD can fit.

V
Vadim Priluzkiy, 2020-08-20
@Oxyd

Let's take open systems of deployment and cloud management of virtualization/containerization (except Docker/Kubernetes) present on the market:
Proxmox VE -- LXC (It used to be OpenVZ -- sawed out)
OpenNebula -- LXD
OpenStack -- Suddenly there is no OpenVZ either
But it's up to you to decide, in the end in the end, who's stopping you from taking a test bench and driving both in the sandbox?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question