'what is the difference between a spark-py image created using docker-image-tool.sh and the one in docker hub

spark publishes spark-py docker image in docker hub

https://hub.docker.com/r/apache/spark-py/tags

however in running on kubernetes documentation they say you need to build it with docker image tool

https://spark.apache.org/docs/latest/running-on-kubernetes.html

./bin/docker-image-tool.sh -r <repo> -t my-tag -p ./kubernetes/dockerfiles/spark/bindings/python/Dockerfile build

is there a difference between the one created with the docker image tool (assuming using a clean installation) and the docker image in docker hub?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source