microsoft / dotnet-computevirtualization Goto Github PK
View Code? Open in Web Editor NEWSample class library for interfacing with Windows host compute service.
License: MIT License
Sample class library for interfacing with Windows host compute service.
License: MIT License
A bit of a cross post but as it effects both libraries directly
microsoft/hcsshim#708
We had to adjust the test runtime to win81-x64
as part of #19 to make sure tests could compile in appveyor. Once appveyor environment supports it, we should change it back to win10-x64
.
There are important files that Microsoft projects should all have that are not present in this repository. A pull request has been opened to add the missing file(s). When the pr is merged this issue will be closed automatically.
Microsoft teams can learn more about this effort and share feedback within the open source guidance available internally.
Rather than updating the main NuGet package with each bug fix or new feature, a dev package should be used to have a latest package available on NuGet.
The test code is currently in another repo, but should be moved here. It was initially separated due to concerns of potential internal tools being used in the tests, or required to run them. This does not seem to be the case, nor is it planned.
#11 introduces the ExpandSandboxSize method, which should get exposed through an object for convenience. At this point, we don't have a Sandbox object, but it would be handy to create one that give some object oriented wrappers around sandbox utilities and can be used as input to new container creation methods.
Hello,
I am trying to run the project with .net Wrapper.
But getting error as ENV Variable "CONTAINER_BASE _LAYER not set. - What is the value of this variable ?
And Please can anybody help me to find out the values of the command line arguments in both the samples, specially ContainerRun Executable.
How can I get the cgroup resource limits on CPU and RAM?
Hey
While testing samples from this project, I've tried to create a container from images stored on a network drive which was attached to the host.
This test was always unsuccessful and I do not understand what error I'm getting:
creating container HCS function call returned error. at Microsoft.Windows.ComputeVirtualization.HcsFactory.Hcs.ProcessHcsCall(Int32 resultCode, String result) in C:\test\dotnet-computevirtualization-0.1.0-alpha5\src\Microsoft.Windows.ComputeVirtualization\Hcs.cs:line 200 at Microsoft.Windows.ComputeVirtualization.HcsFactory.Hcs.Microsoft.Windows.ComputeVirtualization.IHcs.CreateComputeSystem(String id, String configuration, IntPtr identity, IntPtr& computeSystem) in C:\test\dotnet-computevirtualization-0.1.0-alpha5\src\Microsoft.Windows.ComputeVirtualization\Hcs.cs:line 25 at Microsoft.Windows.ComputeVirtualization.HostComputeService.CreateContainer(String id, ContainerSettings settings, IHcs hcs) in C:\test\dotnet-computevirtualization-0.1.0-alpha5\src\Microsoft.Windows.ComputeVirtualization\HostComputeService.cs:line 143 at SampleContainerRun.Program.Main(String[] args) in C:\test\dotnet-computevirtualization-0.1.0-alpha5\samples\ContainerRun\Program.cs:line 38
As there is no documentation on low level vmcompute interface, it would be helpful to get more informative error explanation.
Thanks.
HCS now can auto-terminate a container on last handle being closed. We should have KillOnClose use this behavior instead of doing it manually within the C# code so that this works even if the Container object is never disposed.
This causes all serializations of ProcessParameters to fail at runtime. Potentially due to a bug in netcoreapp1.0?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.