Created
July 17, 2022 10:02
-
-
Save AlessandroVaccarino/e1455fb35bfd71334d336529f6812d4b to your computer and use it in GitHub Desktop.
A simple shell to run Apache Superset docker container
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Ref: https://hub.docker.com/r/apache/superset | |
docker run -d -p 8080:8088 --name superset apache/superset | |
docker exec -it superset superset fab create-admin \ | |
--username admin \ | |
--firstname Superset \ | |
--lastname Admin \ | |
--email [email protected] \ | |
--password admin | |
docker exec -it superset superset db upgrade | |
docker exec -it superset superset load_examples | |
docker exec -it superset superset init | |
echo Navigate to http://localhost:8080/login/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment