Setup Kali and Metasploitable2 containers with Docker

Hey guys,

In this video we’ll learn:

  • Basics of containers
  • Basics of Docker
  • How to setup Kali using Docker
  • How to setup Metasploitable2 using Docker

Useful Links

Commands Used

Install Docker

Basic Commands

  • sudo docker images
  • sudo docker ps
  • sudo docker ps -a
  • sudo usermod -aG docker your-user

Install Kali

  • docker search kali
  • docker pull kalilinux/kali-linux-docker
  • docker images
  • docker ps
  • docker ps -s
  • docker run -h “kali” -t -i kalilinux/kali-linuxdocker /bin/bash
  • apt update
  • apt install nmap

Install Metasploitable

  • docker search metasploitable
  • docker pull tleemcjr/metasploitable2
  • docker run -it tleemcjr/metasploitable2 /bin/bash