Add Custom Host with Name

Hi,

when I add custom host the name it is null.

How i add the custom host with name using script?

Ex. Script: _“sudo docker run -d --privileged -v /var/run/docker.sock:/var/run/docker.sock -v /var/lib/rancher:/var/lib/rancher rancher/agent:v1.0.2 {RANCHER_URL}”