Public Repository

Last pushed: a year ago
Short Description
Chocolatey Simple Server in a Container
Full Description

Chocolatey Simple Server

Project URL: https://github.com/takhyon/docker-chocolatey.server

Overview

Run a chocolatey simple server inside a container.

How To Use This Image

Download the image:

docker pull srealmuto/chocolatey:latest

Start the container:

docker run -d -p 80:80 --name chocolatey.server srealmuto/chocolatey

Get 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/

Better Yet

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

Get 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/
Docker Pull Command
Owner
srealmuto