Initialize Cloudera Hive Docker Container With Data

The solution I have found is to copy the content of the script /user/bin/docker-quickstart into a new shell script entrypoint.sh. Then I added the Create table and Insert statements directly in the entrypoint.sh.

Example here: https://github.com/ubisoft/mobydq/blob/master/test/db-cloudera/init/entrypoint.sh

Finally I run the command entrypoint.sh in the docker compose file instead of the quickstart script.