escape varnish director name, use qualified domain name and support docker 0.7 storage dir