HUB
Sign inSign up
munki logo

didstopia/munki

By didstopia

•Updated over 7 years ago

Docker container with nginx and Munki Repo.

Image
0

367

didstopia/munki repository overview

⁠docker-munki

A container that serves static files at http://munki/repo⁠ using nginx. nginx expect the munki repo content to be located at /munki_repo. use a volume container and the --volumes-from option to add files.

⁠Creating a Data Container.

The following command will create a lightweight container with a folder at /munki_repo.

/usr/bin/docker run --name munki-data -v /munki_repo busybox

My files are located on the host, so I mount that folder as well:

/usr/bin/docker run --name munki-data -v /mnt/docker_data/munki_repo:/munki_repo busybox

For more info on data containers read Tom Offermann⁠'s blog post and the official documentation⁠.

⁠Running the munki container.

The following command will launch the nginx container with the mounted volume.

docker run --name munki --rm -p 80:80 --volumes-from munki-data groob/docker-munki

⁠TODO

  • Configure SSL option
Tag summary
Recent tags
Content type
Image
Digest
Size
48.3 MB
Last updated
over 7 years ago
docker pull didstopia/munki:latest