Install superset on Windows with WSL and docker

Apache Superset
is an open-source platform for data visualization and exploration, offering an intuitive web interface for creating interactive dashboards and charts.
It connects to various data sources, supporting real-time data analysis. Superset
is efficient with large data sets, provides advanced SQL querying capabilities, and facilitates collaboration by allowing users to share insights easily.
It's designed for data professionals seeking a customizable and comprehensive visualization tool.
Unfortunately, Superset doesn't support Windows directly. In this article, I'll show you how we can install and use Superset
on a Windows
machine.
Control Panel > Programs and Features > Turn Windows Features on or off
.
Microsoft Store
and install the latest version of Ubuntu.username
and password
root
usersudo su
This will ask for the current user password & switch to
root
user
passwd
This will ask you to set password for
root
user
\\wsl$
into the address bar and press Enter.
Enable integration with my default WSL distro
and Enable integration with additional distros
, where your Ubuntu version will appear.docker -v
ls -a
git clone --depth=1 https://github.com/apache/superset.git
- The
--depth=1
argument insures a shallow clone meaning only the most recent commit will be cloned, hence it will be faster.- You can remove it if you want to clone the entire repository
cd superset
docker compose up --build
The
--build
argument insures all the layers are up-to-date
sudo docker compose -f docker-compose-non-dev.yml up -d
This process may take some time.
username
and password
are both admin
.
You should also see a new container in Docker Desktop.superset
in your browser
admin
.
code .
docker compose down