NuGet server using the official package - https://www.nuget.org/packages/NuGet.Server/
docker run -d -p 80:80 -v C:\Packages:C:\Packages hbuckle/nugetserver desiredapikey
Use -p to map a port from the host to port 80 on the container
Use -v to map a volume from the host to C:\Packages on the container - this is where packages will be saved to
Pass in your desired apikey as a parameter - note that this key will be stored in plain text in the web.config within the container.