Run Kali Linux on macOS With Apple Containers: Step-by-Step

Yes. On an Apple silicon Mac with a supported macOS version, install Apple's open-source container tool, start its service, then run the official kalilinux/kali-rolling image to get a Kali shell. The image is minimal, so install tools with apt, for example the kali-linux-headless metapackage.

Jul 29, 2025 - 16:50
Updated: 
106.1k

Security Tools, Authorized Labs & CTFs in Cybersecurity & Ethical Hacking · Tutorial

Run Kali Linux on macOS With Apple Containers: Step-by-Step

Quick answer: Yes. On an Apple silicon Mac with a supported macOS version, install Apple's open-source container tool, start its service, then run the official kalilinux/kali-rolling image to get a Kali shell. The image is minimal, so install tools with apt, for example the kali-linux-headless metapackage. You get command-line tools only; for the Kali desktop, Wi-Fi adapters or complex network labs, use a full virtual machine such as UTM.

Key takeaways

  • Requirements: Apple silicon and macOS 26 for full support; macOS 15 works with limits.
  • Install the signed package from the apple/container GitHub releases.
  • The Kali image starts almost empty; add tools with apt.
  • Mount a host folder so your work survives container removal.
  • Test only targets you own, such as a local vulnerable app.

Table of Contents

What Do You Need?

ItemRequirement
MacApple silicon (M-series)
macOSmacOS 26 recommended; macOS 15 with limitations
DiskSeveral GB free for images and tools
SoftwareThe apple/container installer package

How Do You Install Apple's Container Tool?

  1. Download the latest signed installer package from the project's GitHub Releases page.
  2. Open it and follow the installer; it places the container command in your path.
  3. Start the system service and confirm it runs.
container system start
container system status
container --version

The first start may offer to download a default Linux kernel; accept it.

How Do You Run Kali?

# pull the official rolling image from Docker Hub
container image pull docker.io/kalilinux/kali-rolling:latest

# start an interactive shell named kali
container run --name kali -it docker.io/kalilinux/kali-rolling:latest /bin/bash

# inside the container
cat /etc/os-release | head -3

The image is documented on kali.org.

How Do You Install Kali Tools?

apt update
apt -y install kali-linux-headless     # broad command-line tool set
# or install only what you need
apt -y install nmap sqlmap john hydra python3-pip

The Kali metapackages page lists other bundles. Large metapackages take time and disk space, so install selectively if space is tight.

How Do You Keep Your Work?

Containers are disposable. Mount a folder from your Mac so notes, scripts and output survive:

mkdir -p ~/kali-work
container run --name kali2 -it \
  --volume ~/kali-work:/root/work \
  docker.io/kalilinux/kali-rolling:latest /bin/bash

# later sessions
container ls --all
container start kali2
container exec -it kali2 /bin/bash

How Do You Practise Against a Target?

Run a deliberately vulnerable app in another container and test it from Kali:

# on the Mac
container run --name juice -d docker.io/bkimminich/juice-shop:latest
container ls        # note the juice container's IP address

# inside Kali
nmap -sV -p 3000 <juice-ip>
curl -s http://<juice-ip>:3000 | head

Never point these tools at systems you are not authorised to test.

What If Something Does Not Work?

ProblemTry
Command not foundReopen Terminal after installing; check /usr/local/bin in PATH
Service not runningcontainer system start, then check container system status
Network errors on macOS 15Known limitations; upgrade to macOS 26 if possible
Need a GUI or Wi-Fi adapterUse a full VM; Kali documents UTM on Apple silicon

For background on how this differs from Docker Desktop, read Apple's native containers explained. To learn the tools themselves, see learning Kali Linux or talk to a WebAsha training advisor.

References

Frequently Asked Questions

Yes, as a command-line container using Apple’s container tool on Apple silicon.

The official kalilinux/kali-rolling image from Docker Hub.

The image is minimal by design; install tools with apt or a metapackage such as kali-linux-headless.

No. For the desktop, install Kali in a full VM such as UTM.

Mount a Mac folder into the container with the --volume option.

No. Apple’s container tool requires Apple silicon.

No. USB Wi-Fi adapters cannot be passed through; use a full VM or another machine.

A local vulnerable app such as OWASP Juice Shop running in another container.

What's Your Reaction?

Like Like 0
Dislike Dislike 0
Love Love 0
Funny Funny 0
Wow Wow 0
Sad Sad 0
Angry Angry 0
Vaishnavi

Vaishnavi is a skilled tech professional at the Ethical Hacking Training Institute in Pune, responsible for managing and optimizing the technical infrastructure that supports advanced cybersecurity education. With deep expertise in network security, backend operations, and system performance, she ensures that practical labs, online modules, and assessments run smoothly and securely. Her behind-the-scenes contributions play a vital role in delivering a seamless and secure learning experience for aspiring ethical hackers.