use the instances_path in /etc/nova.conf.
must set /etc/sysconfig/docker like this:
   other_args="-g=/os_instance/"