0

Is it possible to run Docker or LXC containers within a Linux VServer container.

Does it require special kernel modules to be installed on the VServer.

1 Answer 1

1

Is it possible to run Docker or LXC containers within a Linux VServer container?

I do not know.

If the required kernel features are available (see below), it may be possible. Both run in userland and use these kernel features to isolate processes.

Does it require special kernel modules to be installed on the VServer?

No, neither LXC nor Docker require special kernel modules. However they use kernel features (CGroups, namespaces, …) which may or may not be there in a given kernel version.

If your kernel meets the requirements, give it a try. If it is too old, it depends:

  • If your VServer installation is managed by yourself, it might be possible to upgrade to a sufficient version. However, everything newer than 2.6.22.19 is only available as Experimental Patches.

  • If it is a hosted VServer, it depends on your hoster.

1

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .