Resolve hostname or service not known

check your DNS configuration or /etc/hosts file, your system is unable to resolve hostname “host01”