update docker script for new registry

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