Your "virtual machine" VPS is not actually a VM, but an OpenVZ container. You cannot run Docker in this environment. Purchase a different VPS which does not use OpenVZ.
Can't run docker in Centos 7
Your "virtual machine" VPS is not actually a VM, but an OpenVZ container. You cannot run Docker in this environment. Purchase a different VPS which does not use OpenVZ.