remove not use container
docker ps --filter "status=exited" | grep 'weeks ago' | awk '{print $1}' | xargs --no-run-if-empty docker rm
restart policy
sudo docker run -d --restart on-failure -p 8910:8910 --add-host testkj.aixuexi.com:101.200.88.81 phantomjs-ubuntu /bin/phantomjs --webdriver=8910