Getting Started with Vulhub

Follow this guide to set up and run your first vulnerable environment with Vulhub. All environments are containerized with Docker, making them easy to deploy and isolate.

Prerequisites

Before you begin, make sure you have Docker installed on your system. Vulhub environments are designed to run in isolated containers.

Docker Setup

Vulhub requires Docker to run. Follow these instructions to set up Docker on your system.

Install Docker

Linux

Install Docker using the convenience script:

curl -fsSL https://get.docker.com | sh
MacOS & Windows

Download and install Docker Desktop from the official website.

Download Docker Desktop

Verify Installation

Verify that Docker is installed correctly:

docker version

Also verify that Docker Compose is available:

docker compose version

If the compose command is not found, you may be using an older version of Docker. Please upgrade to the latest version of Docker which includes Docker Compose as a built-in command.