title: Docker container based on microsoft/aspnet can't load Kestrel
body: <p>I'm trying out all kind of new features of asp.net 5 and documenting it and now I hit the first obstacle. I can't get my code to run in a docker container, I'm not even trying to get the container to listen to changes, I just want it to run.</p>
  
  <p>I've based my image on <code>microsoft/aspnet</code> and added code to install <code>node</code>, <code>npm</code>, <code>bower</code> and <code>grunt</code> so I can build the application in the container. I know I probably can build it in the client before I add it to the container, but I want to give this a try. The image builds fine, but when I start the container it can't find <code>Kestrel</code>.</p>
  
  <pre><code>System.IO.FileNotFoundException: Could not load file or assembly 'Kestrel' or one of its dependencies. The system cannot find the file specified.
  File name: 'Kestrel'
    at System.AppDomain.Load (System.Reflection.AssemblyName assemblyRef, System.Security.Policy.Evidence assemblySecurity) [0x00000] in &lt;filename unknown&gt;:0
  
    at (wrapper remoting-invoke-with-check) System.AppDomain:Load (System.Reflection.AssemblyName,System.Security.Policy.Evidence)
    at System.AppDomain.Load (System.Reflection.AssemblyName assemblyRef) [0x00000] in &lt;filename unknown&gt;:0
    at (wrapper remoting-invoke-with-check) System.AppDomain:Load (System.Reflection.AssemblyName)
    at System.Reflection.Assembly.Load (System.Reflection.AssemblyName assemblyRef) [0x00000] in &lt;filename unknown&gt;:0
    at Microsoft.AspNet.Hosting.Server.ServerLoader.LoadServerFactory (System.String serverFactoryIdentifier) [0x00000] in &lt;filename unknown&gt;:0
    at Microsoft.AspNet.Hosting.HostingEngine.EnsureServerFactory (Microsoft.AspNet.Hosting.HostingContext context) [0x00000] in &lt;filename unknown&gt;:0
    at Microsoft.AspNet.Hosting.HostingEngine.Start (Microsoft.AspNet.Hosting.HostingContext context) [0x00000] in &lt;filename unknown&gt;:0
    at Microsoft.AspNet.Hosting.Program.Main (System.String[] args) [0x00000] in &lt;filename unknown&gt;:0
    at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (System.Reflection.MonoMethod,object,object[],System.Exception&amp;)
    at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in &lt;filename unknown&gt;:0
  </code></pre>
  
  <p>Shouldn't <code>Kestrel</code> already exist since I base it on <code>microsoft/aspnet</code>? </p>
  
  <p>The code to my Dockerfile: <a href="https://github.com/mastoj/OneManBlog/blob/master/src/OneManBlog/Dockerfile" rel="nofollow">https://github.com/mastoj/OneManBlog/blob/master/src/OneManBlog/Dockerfile</a></p>