Docker container for Ubiquiti device discovery via command line. No Java install required.
268
A lightweight Docker container for the UBNT Discovery Tool CLI - Network discovery tool for Ubiquiti devices. This containerized version provides an easy way to scan for Ubiquiti devices on your network without installing dependencies on your host system.
# Show help
docker run --rm --network=host pepr90210/ubnt-discovery-cli:latest
# Scan for devices (5 seconds)
docker run --rm --network=host pepr90210/ubnt-discovery-cli:latest -sec 5
# Scan with grouped output
docker run --rm --network=host pepr90210/ubnt-discovery-cli:latest -sec 10 -grouped
# Scan specific network interface
docker run --rm --network=host pepr90210/ubnt-discovery-cli:latest -interface eth0 -sec 10
# Extended scan with custom ratio
docker run --rm --network=host pepr90210/ubnt-discovery-cli:latest -sec 30 -ratio 50
# Save results to file
docker run --rm --network=host pepr90210/ubnt-discovery-cli:latest -sec 10 > ubnt-devices.txt
| Option | Description | Default |
|---|---|---|
-help | Shows usage information | - |
-sec | Seconds to listen for packets | 10000 |
-ratio | Internal loop ratio | 20 |
-grouped | Enable grouped output | false |
-interface | Specific network interface names | all |
-file | Read from XML file instead of scanning | - |
--network=host to properly discover devices on your local network# Quick 5-second scan of your home network
docker run --rm --network=host pepr90210/ubnt-discovery-cli:latest -sec 5
# Long-running scan for monitoring
docker run --rm --network=host pepr90210/ubnt-discovery-cli:latest -sec 300
# Scan only through specific interface
docker run --rm --network=host pepr90210/ubnt-discovery-cli:latest -interface wlan0 -sec 10
The tool will display discovered devices in the following format:
============ 'airCube AC' v0x001@wlan0 ============
HW_ADDRESS (0x1): 224.99.218.76
IPINFO (0x2): IpInfo{mac='E0:63:DA:4D:8D:42', ip='192.168.1.100'}
FW_VERSION (0x3): ACB.ar934x.v2.8.9.63297e8f6e.230619.1229
UPTIME (0xa): 15519
HOSTNAME (0xb): airCube-AC-Office
PLATFORM (0xc): ACB-AC
MODEL (0x14): airCube AC
LOCATING (0x18): false
--network=host-sec 30--privileged flag if neededdocker run --rm --network=host alpine ip link show-interface <name>version: '3.8'
services:
ubnt-discovery:
image: pepr90210/ubnt-discovery-cli:latest
network_mode: host
command: ["-sec", "10", "-grouped"]
restart: "no"
git clone https://github.com/MatrixEditor/ubnt-discovery-tool.git
cd ubnt-discovery-tool
docker build -t ubnt-discovery-cli .
This project follows the same license as the original UBNT Discovery Tool. See the original repository for license details.
latest - Latest stable version1.3.3 - Specific version tagNote: This tool is designed for network discovery and management purposes. Always ensure you have permission to scan networks you don't own.
Content type
Image
Digest
sha256:c4bee54e2…
Size
199.4 MB
Last updated
about 1 year ago
docker pull pepr90210/ubnt-discovery-cli