Windows, WSL, Docker, and Free Starters
Tags: docker, wsl, webdev, opensource
Published: 2022-01-04 09:07:34

---
title: Windows, WSL, Docker, and Free Starters
published: true
description: Learn how to set up WSL and Docker on Windows - Free & open-source samples provided.
tags: docker, wsl, webdev, opensource
cover_image: https://dev-to-uploads.s3.amazonaws.com/uploads/articles/5s8jmd2cfj91t1gtovmz.jpg
canonical_url: https://blog.appseed.us/windows-wsl-docker-and-free-starters/
---
Hello Coders!

This article presents **how to install WSL** and **Docker on Windows** and later execute a few [open-source samples](https://appseed.us/admin-dashboards/open-source) on top of this popular virtualization stack. For newcomers, **WSL** is a layer provided by Microsoft that allows us to execute all commands exposed by a native Linux distro and **Docker** is a popular virtualization software used to deliver and execute software programs in isolated environments.

> Thanks for reading! 

---

## ✨ [Install WSL](https://docs.appseed.us/content/how-to/install-wsl)

The Windows Subsystem for Linux lets developers run a GNU/Linux environment directly on Windows. The latest version is WSL 2, which powers the Windows Subsystem for Linux to run ELF64 Linux binaries on Windows.

The installation and overall  management can be executed via a PowerShell terminal using simple commands:

> List available WSL distros

```bash
$ wsl -l -o

NAME            FRIENDLY NAME
Ubuntu          Ubuntu
Debian          Debian GNU/Linux
kali-linux      Kali Linux Rolling
openSUSE-42     openSUSE Leap 42
SLES-12         SUSE Linux Enterprise Server v12
Ubuntu-16.04    Ubuntu 16.04 LTS
Ubuntu-18.04    Ubuntu 18.04 LTS
Ubuntu-20.04    Ubuntu 20.04 LTS
```

---

> Install Ubuntu in WSL

```bash
$ wsl --install Ubuntu
```

---

> Check Current Version

```bash
$ wsl -l -v
```

---

> Update from **WSL 1** to **WSL 2** (recommended version)

```bash
$ wsl --set-version Ubuntu 2
```

Once WSL is installed and we have a usable Linux Distro, we can move forward and install Docker Desktop.

---

## ✨ [Install Docker on Windows](https://docs.appseed.us/content/how-to/install-docker-on-windows)

**Docker** is an open platform for developing, shipping, and running applications. Docker enables you to separate your applications from your infrastructure so you can deliver software quickly. Before running this simple setup, make sure your workstation provides all requirements:

- Windows 11/10 64Bit
- WSL - up & running

Access the [download page](https://www.docker.com/products/docker-desktop) and download the installer. Double-click `Docker Desktop Installer.exe` and execute the installer.

> When prompted, ensure the **Enable Hyper-V Windows Features** or the **Install required Windows components for WSL 2** option is selected on the Configuration page.

Docker Desktop does not start automatically after installation. To start Docker Desktop we need to locate the app in the Windows menu and start the service.

If all goes well we should be able to execute this test command in the terminal and also access the UI:

```bash
$ docker run -d -p 80:80 docker/getting-started 
```

![Docker Desktop UI.](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/8zhof83gf1bhi1q5omfo.png)

--- 

With Docker and WSL up & running, we start using this virtualization layer by installing and playing with a few open-source apps.

---

### ✨ Django Dashboard Material

Simple, open-source crafted with database, authentication, and Docker support on top of a modern Bootstrap 5 design. The codebase uses Django 3.2.6 LTS and simple Gulp tooling for assets management (SCSS, JS).

- 👉 [Django Dashboard Material](https://appseed.us/admin-dashboards/django-dashboard-material) - product page
- 👉 [Django Dashboard Material](https://django-material-dashboard.appseed-srv1.com/) - LIVE App

Let's start the app using provided Docker setup.

> ✨ Step #1 - Download sources from the public repository

```bash
$ git clone https://github.com/app-generator/django-dashboard-material.git
$ cd django-dashboard-material
```

> ✨ Step #2 - Start in Docker

```bash
$ docker-compose up --build
``` 

--- 

![Django Material Dashboard - Start in Docker and WSL.](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/2cafa3x3lco0b302y4lk.png)

---

### ✨ Flask Pixel Lite

Open-Source Flask starter coded with basic modules, database, ORM, and deployment scripts on top of Pixel Lite UI Kit, a fully responsive and modern Bootstrap 5 UI Kit that will help you build creative and professional websites. The Flask codebase comes with basic modules, database, ORM, and deployment scripts.

- 👉 [Flask Pixel Lite](https://appseed.us/apps/flask-apps/flask-pixel-bootstrap-uikit) - Product page
- 👉 [Flask Pixel Lite](https://flask-pixel-lite.appseed-srv1.com/) - LIVE Demo

---

> ✨ Step #1 - Download sources from the public repository

```bash
$ git clone https://github.com/app-generator/flask-pixel.git
$ cd flask-pixel
```

> ✨ Step #2 - Start in Docker

```bash
$ docker-compose up --build
``` 

---

![Flask Pixel Lite - Start in Docker and WSL.](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/4x58euc5vq4y8rr3wkfj.png)

---

### ✨ Django Material Kit

Open-Source seed project generated by AppSeed in Django Framework on top of Material Kit design. Designed for those who like bold elements and beautiful websites, Material Kit 2 is ready to help you create stunning websites and web apps.

- 👉 [Django Material Kit](https://appseed.us/product/django-material-kit) - Product page
- 👉 [Django Material Kit](https://django-material-kit.appseed-srv1.com/) - LIVE Demo

Material Kit 2 is built with over 60 frontend individual elements, like buttons, inputs, navbars, nav tabs, cards, or alerts, giving you the freedom of choosing and combining.

---

> ✨ Step #1 - Download sources from the public repository

```bash
$ git clone https://github.com/app-generator/django-material-kit.git
$ cd django-material-kit
```

> ✨ Step #2 - Start in Docker

```bash
$ docker-compose up --build
``` 

---

![Django Material Kit - Start in Docker.](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/1cmomscx1mfvnsi79300.png)

---

> Thanks for reading! For more resources, feel free to access:

- 👉 `AppSeed` for [support](https://appseed.us/support) via eMail and [Discord](https://discord.gg/fZC6hup)
- 👉 [Free Dashboards](https://appseed.us/admin-dashboards/open-source) crafted in Flask, Django, and [React](https://appseed.us/apps/react)