Skip to content
This repository was archived by the owner on Mar 4, 2026. It is now read-only.

fz42net/kali-on-macos

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

kali-on-macos

A cleaned-up version from my Running Kali under Docker with X11 Forwarding on Mac OS X article.

While Homebrew contains a lot of the packages I use for security testing, I wanted to see if I could replace OffSec's Kali VM for PWK with my own linux distribution running in Docker under my macbook.

Repo contents

  • .env: The environment file that contains values used by our other files.
  • Dockerfile: This file defines the image which includes all of the dependencies and initial configuration we want included in our base image.
  • docker-compose.yml: This file performs a build of the image and creates a running container.
  • Makefile: Because I'm lazy, I just want to type make and have it start and configure XQuartz (for x11 forwarding) and start my container and put me directly into a shell.

Requirements

Install/Setup/Run

  1. Edit the .env file.
  2. Copy any files/directories into the data directory that you want brought into your home folder.
  3. docker-compose up -d
  4. make

If you make subsequent changes to the Dockerfile, we can issue docker-compose up -d --build so that it makes use of the other cached layers, rather than doing a full rebuild with --no-cache.

About

Run Kali Linux in Docker on Mac OS with X11 Forwarding

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors