Build a docker image for unifi controller Planning Requirements (minimal req. to manage just a few devices) Ubuntu 22.04 / Debian 11 CPU x86-64 RAM 2Gb Network 100Mb HDD min 10Gb, 20Gb recommanded Java JRE 8 Mongo DB > 3.2 (unclear if newest version is supported) Source:
deciding to go with debian because I’m more familiar with it.
LAB CCP1 CMP2 - Docker Task 3 install MongoDB only needed so we know the commands for our Dockerfile
but the image worked only after we added wget and gnupg2, too
mongodb 3.4 was not available anymore for ubuntu focal
curl -fsSL https://www.mongodb.org/static/pgp/server-4.4.asc | sudo apt-key add - echo "deb [ arch=amd64,arm64 ] https://repo.mongodb.org/apt/ubuntu focal/mongodb-org/4.4 multiverse" | sudo tee /etc/apt/sources.list.d/mongodb-org-4.4.list apt update apt install mongodb-org create Docker File # syntax=docker/dockerfile:1 FROM ubuntu:20.