Skip to content

A Docker Container for Greg Neagle's MunkiWebAdmin2 web service

Notifications You must be signed in to change notification settings

grahampugh/docker-mwa2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

docker-mwa2

This Docker container runs MunkiWebAdmin2. The container expects that your munki repo is mounted in /munki_repo.

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, the 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.


Munki container

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.


Image Creation

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 $MUNKI_REPO and $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 password.

About

A Docker Container for Greg Neagle's MunkiWebAdmin2 web service

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published