Can not up the rancher agent

I have some problem need you help when I try to use Rancher follow this link http://docs.rancher.com/rancher/quick-start-guide/

  • my env is build one ubuntu vm on virtualbox first.
  • then install docker using : wget -qO- https://get.docker.com/ | 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=172.17.0.2 -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