update docker script for new registry

docker index moved from index.docker.io to
registry.hub.docker.com and updated styles