https://github.com/pizycki/NugetServerContainer
Nuget Server in Windows Container
https://github.com/pizycki/NugetServerContainer
docker nuget-server windows-containers
Last synced: 5 months ago
JSON representation
Nuget Server in Windows Container
- Host: GitHub
- URL: https://github.com/pizycki/NugetServerContainer
- Owner: pizycki
- License: mit
- Created: 2017-01-26T18:55:01.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2017-01-27T12:43:00.000Z (about 8 years ago)
- Last Synced: 2024-08-09T02:16:18.947Z (8 months ago)
- Topics: docker, nuget-server, windows-containers
- Language: JavaScript
- Size: 3.75 MB
- Stars: 5
- Watchers: 1
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- jimsghstars - pizycki/NugetServerContainer - Nuget Server in Windows Container (JavaScript)
README
# Nuget Server in Windows Container
_[Official .NET Nuget Server](http://nugetserver.net/) in container._
_Based on [microsoft/aspnet](https://hub.docker.com/r/microsoft/aspnet/)._## Links
[DockerHub](https://hub.docker.com/r/pizycki/nugetserver/)
[GitHub](https://github.com/pizycki/NugetServerContainer/)## Version
NuGet.Server: `v2.11.3.0`
.NET: `4.6`## How to run
### Setup your Windows Server 2016 or Windows 10\* machine
I've created virtual machine on Azure with pre-installed Containers.
[Click here to create your own VM (require Azure account)](https://azure.microsoft.com/pl-pl/marketplace/partners/microsoft/windowsserver2016datacenterwithcontainers/)\* - To run Windows Containers you need at least Pro edition with Hyper-V feature.
**THIS IS WINDOWS BASED CONTAINER IMAGE AND WILL RUN NOT RUN ON ANY OTHER SYSTEM**
### Get your container image
You can **pull it from dockerhub** or **clone whole repository** and build it on your own. Completely up to you.The image contains [Official Nuget Server](http://nugetserver.net/) downloaded via [nuget](https://www.nuget.org/packages/NuGet.Server).
### Run your container
Once container image is in your repository, you can spin it up
```
docker run -p 8000:8000 pizycki/nugetserver
```You can replace `web.config` with your own. Use `-v` for mapping file with file inside container.
Sample `web.config` can be found [here](https://github.com/NuGet/NuGet.Server/blob/master/src/NuGet.Server/Web.config).