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.
Topic: Security Tools, Authorized Labs & CTFs in Cybersecurity & Ethical Hacking · Tutorial
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?
- How Do You Install Apple's Container Tool?
- How Do You Run Kali?
- How Do You Install Kali Tools?
- How Do You Keep Your Work?
- How Do You Practise Against a Target?
- What If Something Does Not Work?
- References
What Do You Need?
| Item | Requirement |
|---|---|
| Mac | Apple silicon (M-series) |
| macOS | macOS 26 recommended; macOS 15 with limitations |
| Disk | Several GB free for images and tools |
| Software | The apple/container installer package |
How Do You Install Apple's Container Tool?
- Download the latest signed installer package from the project's GitHub Releases page.
- Open it and follow the installer; it places the
containercommand in your path. - 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?
| Problem | Try |
|---|---|
| Command not found | Reopen Terminal after installing; check /usr/local/bin in PATH |
| Service not running | container system start, then check container system status |
| Network errors on macOS 15 | Known limitations; upgrade to macOS 26 if possible |
| Need a GUI or Wi-Fi adapter | Use 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
What's Your Reaction?
Like
0
Dislike
0
Love
0
Funny
0
Wow
0
Sad
0
Angry
0