This Docker container runs MunkiWebAdmin2.
The container expects that your munki repo is mounted in
To retain data, you should also create a folder on your host for the SQLite database
to store its data.
In order to function fully, munki-tools needs to be accessible (specifically,
makecatalogs command). This is achievable
by running a munki container and linking it.
Several options, such as the timezone and admin password are customisable using environment variables.
You can run a linked munki container as follows:
docker run -d --restart=always --name="munki" -v $MUNKI_REPO:/munki_repo \ -p 8000:80 -h munki groob/docker-munki
This exposes the Munki repository at http://your-host:8000/repo. You could change the port 8000 to 80 if you are not running an existing web service on port 80.
The official guide on linking containers is very helpful.
If you want to edit this container in any way, you can clone this repository, make your edits, and then build it as follows:
$ docker build -t grahamrpugh/mwa2 .
Running the MunkiWebAdmin2 Container
Run the following command. You need to set the host values of
$MWA2_DB either in a script or by altering the command:
docker run -d --restart=always --name mwa2 \ -p 8000:8000 \ -v $MUNKI_REPO:/munki_repo \ -v $MWA2_DB:/mwa2-db \ grahamrpugh/mwa2
The default admin username is
admin and the default password is