This is how I got SuperSet running on a Mac M1 machine after numerous errors from the install documentation. There are a few open issues related to running 'docker compose up' on a mac.
Currently images are for AMD64 and emulated... this should be updated in the future.
Open issues that I experienced in some form or another, in getting Superset running:
- apache/superset#26997
- apache/superset#23304
- apache/superset#25434
- apache/superset#25433
- apache/superset#25144
- Docker Desktop is installed and running properly
- IMPORTANT Remove all previous containers/images/volumes related to SuperSet via
docker container rm (containername)
docker image rm (imagename)
docker volume rm (volumename)
-
- Or use the desktop app to view and delete them all.
git clone https://github.com/apache/superset.git
cd superset
- Now you must edit some files...
You'll need to add this to every service in docker-compose-non-dev.yml
platform: linux/x86_64/v8
I've attached an example from 3.1.0 to this gist.
Create a the file above, and add this to it:
psycopg2==2.9.9
sqlglot==20.5.0
Now bring it up, via the the more production-oriented compose up
, I couldn't get the dev version to work without errors.
docker compose -f docker-compose-non-dev.yml up
Now you should be able to login at http://127.0.0.1:8088/ with admin:admin