Docker Install Windows
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.

Getting Started

Please utilize this link while doing Docker install.

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 here
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 Latest Windows Binary here
Download Release from GitHub

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

Last modified 1mo ago