Docker Hub: https://hub.docker.com/r/srealmuto/chocolatey/
Run a chocolatey simple server inside a container.
Download the image:
docker pull srealmuto/chocolatey
Start the container:
docker run -d -p 80:80 --name chocolatey.server srealmuto/chocolatey
Create a data container to store your nupkg files:
docker create -v C:/tools/chocolatey.server/App_Data/Packages --name chocolatey.server-data microsoft/nanoserver
Start your app container using your data container:
docker run -d -p 80:80 --volumes-from chocolatey.server-data --name chocolatey.server srealmuto/chocolatey
Push packages:
choco push <nupkg_file> --source=<chocolatey.server_url> --api-key=<api_key> --force
Install Packages
choco install <package_name> --source=<chocolatey.server_url>/chocolatey/