Skip to content

Instantly share code, notes, and snippets.

@AlessandroVaccarino
Created July 17, 2022 10:02
Show Gist options
  • Save AlessandroVaccarino/e1455fb35bfd71334d336529f6812d4b to your computer and use it in GitHub Desktop.
Save AlessandroVaccarino/e1455fb35bfd71334d336529f6812d4b to your computer and use it in GitHub Desktop.
A simple shell to run Apache Superset docker container
#!/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