How to: restart device
```

After device restart:

1. Complete Ubuntu user setup - Ubuntu terminal should auto-open
2. [Enable `systemd`](https://devblogs.microsoft.com/commandline/systemd-support-is-now-available-in-wsl/):
   ```sh
   sudo nano /etc/wsl.conf
   ```
   ```sh
   # /etc/wsl.conf
   [boot]
   systemd=true
   ```
   ```sh
   wsl.exe --terminate Ubuntu
   ```
3. [Enable Docker Desktop integration with WSL2 Ubuntu](https://docs.microsoft.com/en-us/windows/wsl/media/docker-dashboard.png)
4. [Open Terminal and switch to Ubuntu](https://user-images.githubusercontent.com/17856665/192830999-f8f9c5af-8b4e-41c4-8f5e-c9c159fcf9ca.png)
5. [Make Ubuntu your default Terminal profile](https://user-images.githubusercontent.com/17856665/192833271-5a3170a0-caf6-45bf-b378-ac6eb1f2dfbc.png)
6. Perform Internet connection test in WSL2 by running:
   ```sh
   curl google.com
   ```
   > 💡 If connection fails with `Could not resolve host`, and you have a VPN program installed, see _WSL2 VPN fix_ below
WSL2 VPN fix
See [wsl-vpnkit documentation](https://github.com/sakai135/wsl-vpnkit/#wsl-vpnkit) for more details.
    ```powershell
    # powershell as administrator
    wget -o wsl-vpnkit.tar.gz https://github.com/sakai135/wsl-vpnkit/releases/latest/download/wsl-vpnkit.tar.gz
    wsl --import wsl-vpnkit $env:USERPROFILE\wsl-vpnkit wsl-vpnkit.tar.gz --version 2
    ```
    ```sh
    # wsl2 ubuntu
    wsl.exe -d wsl-vpnkit --cd /app cat /app/wsl-vpnkit.service | sudo tee /etc/systemd/system/wsl-vpnkit.service
    sudo systemctl enable wsl-vpnkit
    sudo systemctl start wsl-vpnkit
    systemctl status wsl-vpnkit # should be Active
    # test internet connection again
    curl google.com
    ```
Debian users (and Windows without Docker Desktop)
See [Install Docker Engine documentation](https://docs.docker.com/engine/install) for more details and other distro steps. \
This is also an alternative for Windows users running WSL2.

> 💡 If using WSL2, be sure to:
> 1. Enable `systemd` - see the _Windows users_ section
> 2. If installed, [disable Docker Desktop integration with WSL2](https://docs.microsoft.com/en-us/windows/wsl/media/docker-dashboard.png)

```sh