Windows Installation Guide

Local Windows Environment Setup using docker-compose

What is docker?

Docker is a platform where service products use OS-level virtualization to deliver software in packages called containers. Containers are isolated from one another and bundle their own software, libraries, and configuration files; they can communicate with each other through well-defined channels. Want to insert a picture from your files or add a shape, text box, or table? You got it! On the Insert tab of the ribbon, just tap the option you need.

Step 1: Make sure your Windows 10 version is 2004 or later

· Select the Start button > Settings > System > About

· Under Windows Specifications, you will see which version of Windows 10 you’re running

· If your version is lower than 2004, go to Windows Update in your settings and update Windows. Version 2004 and 20H2 are compatible.

If the v2004 update doesn't show up, you can use the Update Assistant to update Windows 10

Step 2: Getting your machine ready to use WSL 2

· Search for ‘’Turn Windows features on or off in your search bar on the bottom left of your screen

· Enable both ‘Virtual Machine Platform’ and ‘Windows Subsystem for Linux’

· Restart your computer

Step 3: Installing Docker on Windows 10

· Download the latest release of Docker Desktop


· Follow the usual installation instructions to install Docker Desktop

· Start Docker Desktop from the Windows Start menu

Step 4: Using Docker in Windows 10

Open Windows PowerShell and type “docker” to verify docker installation.

Step 5: Download cdefense latest windows binary from GitHub


· Download windows binary

Step 6: Setup Windows Environment Variables

· Click on the environment variables button

· Setup your tool path

1. Go to the system variables section (As shown above)

2. click on a path

3. click on the edit

4. click on new

5. add your binary path.

· Now add a new user variable

1. Go to the user variables section

2. click on new

3. add “SCAN_URL”

4. add “http://cdefense.local”

Step 7: Add a hosts entry

· Press the Windows key.

· Type Notepad in the search field.

· In the search results, right-click Notepad and select Run as administrator.

· From Notepad, open the following file: c:\Windows\System32\Drivers\etc\hosts.

Step 8: Verify