Image size | RAM usage | CPU usage |
---|---|---|
360MB | 350MB | Low |
It is based on:
- Quentin McGaw Omada docker image
- Bebef Omada docker image
- Debian Buster Slim
- Omada controller software
-
Create directories and set their permissions:
mkdir -p volumenes/{logs,data,work} chown -R 1000 volumenes chmod 700 volumenes
-
Run using the following command:
docker run -d --rm \ --name omada-controller-example \ -e TZ=Europe/Madrid \ --network host \ -v $(pwd)/volumenes/logs:/omada/logs \ -v $(pwd)/volumenes/data:/omada/data \ -v $(pwd)/volumenes/data:/omada/work \ pcarorevuelta/omada-controller
or use docker-compose.yml with:
docker-compose up -d
Environment variable | Default | Possible values | Description |
---|---|---|---|
HTTPPORT | 8080 |
Port from 1025 to 65535 |
Internal HTTP port, useful for redirection |
HTTPSPORT | 8043 |
Port from 1025 to 65535 |
Internal HTTPS port, useful for redirection |
- The Omada Controller Software will only be able to find EAPs in the same network as itself. To make it work you need to use docker "host" networking and have the docker host in the same network as the EAPs. Standard network configuration with exposed ports, which creates a new network the container runs in, will not work because the controller runs in a different broadcast domain in that case.
- You only need to set the
TZ
environment variable when your traffic/client graph has an offset. - It is useful to change the HTTPSPORT as Omada redirects you to its internal
HTTPSPORT
. So if you want to run the container with-p 8000:8000
for the HTTPS port, you need to setHTTPSPORT=8000
. - From TP Link Omada's FAQ, Omada controller uses the ports:
- 8043 (TCP) for https
- 8088 (TCP) for http
- 27001 (UDP) for controller discovery
- 27002 (TCP) for controller searching
27017 (TCP) for mongo DB server(internally)- 29810 (UDP) for EAP discovery
- 29811 (TCP) for EAP management
- 29812 (TCP) for EAP adoption
- 29813 (TCP) for EAP upgrading
- Allow set user/group for running
- Instructions with proxy and port redirection