OpenVZ is basically identical to lxc, which is one of the underlying components of Docker.
Docker could be ported from lxc to openvz (and probably will be in the future as a plugin, as it has been requested).
That is to say, Docker is not a replacement for OpenVZ, or any other low-level container capability. It's simply a higher-level tool which is built on top.