Can not up the rancher agent

I have some problem need you help when I try to use Rancher follow this link

  • my env is build one ubuntu vm on virtualbox first.
  • then install docker using : wget -qO- | sh
  • pull and run rancher server:sudo docker run -d --restart=always -p 8080:8080 rancher/server
  • check the IP address of the rancher server container: docker inspect ***
  • pull and run rancher agent: sudo docker run -e CATTLE_AGENT_IP= -d --privileged -v /var/run/docker.sock:/var/run/docker.sock rancher/agent:v0.8.2 http://localhost:8080/v1/scripts/D78CD991295C9A818B09:1453827600000:4kOvZ1umbRGOg1VIVkzuoPqzDYE
  • it should pop up the host on the : localhost:8080, but nothing show
  • I also check the running container in the ubuntu using: docker ps, I find only rancher server is running