Changes

Jump to: navigation, search

Docker inside CT vz7

199 bytes removed, 13:00, 30 September 2016
Container tuning
Since Virtuozzo 7 kernel 3.10.0-327.18.2.vz7.14.7 it is possible to run Docker inside containers.
'''Please be aware that this feature is experimental and is not supported in production!We plan to make it production in the upcoming updates.'''
'''This page is applicable for Virtuozzo 7''' (for OpenVZ Virtuozzo 6 see [[Docker inside CT | '''here''']]).
== Prerequisites ==
modprobe overlay
'''Note:''' if you use kernel >= 3.10.0-327.18.2.vz7.14.25<= kernel <= 3.10.0-327.28.2.vz7.17.5, you need to allow using "overlayfs" inside a Virtuozzo Container:
echo 1 > /proc/sys/fs/experimental_fs_enable
This is was a temporary step, it will be dropped once if you use kernel >= 3.10.0-327.28.2.vz7.17.6, overlayfs is proved to can be absolutely safe to run in any vz7 used inside a Containerby default.
== Limitations ==
== Container tuning ==
* Turn on '''bridge''' feature to allow docker creating bridged network inside container:
prlctl set $veid --features bridge:on
* Setup Container veth-based network (Container must be '''veth'''-based, not '''venet'''-based):
prlctl set $veid --device-add net --network Bridged --dhcp yes
* Allow all iptables modules to be used in containers:
prlctl set $veid --netfilter=full
Anonymous user

Navigation menu