Replies: 1 comment
-
Hey @gbronner! I'm here to help you with any bugs, questions, or contributions. Let's tackle this issue together! I found a similar closed issue regarding Superset installation build failures using Docker on MS-Windows, which might provide some insights into your situation. The issue was resolved by creating a Docker volume for the To address the specific issues you've encountered:
These steps should help you overcome the issues with setting up Superset on WSL2. |
Beta Was this translation helpful? Give feedback.
-
I attempted to set up a superset development environment to add a new data source. Turned out that I could not figure out how to get this to work despite working very hard on it
docker compose up
A non-exhaustive list of issues I encountered:
Issues with Docker
The newest versions of superset docker-compose.yml are incompatible with any version of docker in the ubuntu repositories.
This necessitates removing docker, docker-ce, docker-compose-plugin, and anything else docker related, adding the docker repository to the package sources, and installing the latest version of docker.
Docker, by default uses the same IP address space as WSL. So you have to go find and edit /etc/docker/daemon.json and add
"bip": "192.168.200.1/24" and restart docker or reboot your wsl or both.
If you don't do this, building the superset-node container will fail.
Issues with configuration
It isn't at all clear from the instructions where to edit superset_config.py I think you finally need to do it in
superset/docker/pythonpath_dev/superset_config.py
Otherwise you will get all sorts of nasty warnings about SECRET_KEYS
Likewise, you need to copy
superset-websocket/config.example.json
toconfig.json
and edit it or the superset-websocket container will die.Overall criticism:
Beta Was this translation helpful? Give feedback.
All reactions