Docker containers for UBNT Discovery Tool - scan and manage Ubiquiti devices via CLI interface
216
Docker container for discovering Ubiquiti network devices on local network.
This Docker image contains a Python script for discovering Ubiquiti devices on LAN segments. The script is based on the original python-ubnt-discovery project by nitefood (archived September 4, 2022).
The script uses Ubiquiti's proprietary discovery protocol:
01 00 00 00# Download and run
docker run --rm --privileged --network host pepr90210/ubnt-discovery:latest
# Or with explicit execution
docker run --rm --privileged --network host pepr90210/ubnt-discovery:latest python /app/ubnt_discovery.py
version: '3.8'
services:
ubnt-discovery:
image: pepr90210/ubnt-discovery:latest
container_name: ubnt-discovery
network_mode: host
privileged: true
cap_add:
- NET_ADMIN
- NET_RAW
restart: unless-stopped
stdin_open: true
tty: true
# Run
docker-compose up
--privileged: Required for raw socket operations--network host: Access to local networkNET_ADMIN and NET_RAW capabilitiesThe script has been tested with these devices:
Discovery in progress...
Discovered 4 radio(s):
--- [airCube AC] ---
IP Address : 192.168.200.6
Name : airCube-AC-6
Model : ACB-AC
Firmware : ACB.ar934x.v2.8.9.63297e8f6e.230619.1229
ESSID : netsprint-hotspot
MAC Address : E0:63:DA:4F:2D:23
--- [mFi mPowerMini] ---
IP Address : 192.168.200.152
Name : mFi-mPowerMini-6A5709
Model : P1E
Firmware : MF.ar933x.v2.1.11.1309.150406.1423
ESSID : netsprint-hotspot
MAC Address : 24:A4:3C:6B:57:09
# Clone and build
git clone <this-repo>
cd ubnt-discovery
docker build -t ubnt-discovery:latest .
# Run
docker run --rm --privileged --network host ubnt-discovery:latest
├── Dockerfile # Docker configuration
├── docker-compose.yml # Docker Compose configuration
├── ubnt_discovery.py # Main Python script
└── README.md # This documentation
python:3.11-slimtcpdumpscapy\x01\x00\x00\x00⚠️ Important Notice: This script is marked as outdated and unmaintained. Use for educational purposes only.
This project is licensed under the MIT License. See original project: https://github.com/nitefood/python-ubnt-discovery
Docker image created based on the original Python script by nitefood.
Image available on Docker Hub:
docker pull pepr90210/ubnt-discovery:latestFor Docker image issues:
For original script issues, visit: https://github.com/nitefood/python-ubnt-discovery
Content type
Image
Digest
sha256:d0329c283…
Size
57.1 MB
Last updated
over 1 year ago
docker pull pepr90210/ubnt-discovery