Git Product home page Git Product logo

dotnet-computevirtualization's Introduction

dotnet-computevirtualization

Sample class library for interfacing with Windows host compute service to create containers and (eventually) virtual machines.

Development Builds

build status

The following information will allow you to install development builds -- do understand that these are early builds and will change (hopefully with your feedback).

The dev builds are updated for every commit to master and are released to https://ci.appveyor.com/nuget/dotnet-computevirtualization-dev .

Contributions

We welcome contributions to this project in the form of issues (bugs, suggestions, proposals, etc.) and pull requests.

For pull requests, we do require that you sign the Microsoft Contribution License Agreement. It is a simple process that you only need to complete once.

This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact [email protected] with any additional questions or comments.

dotnet-computevirtualization's People

Contributors

craje-microsoft avatar darstahl avatar jstarks avatar jterry75 avatar microsoft-github-policy-service[bot] avatar msabansal avatar msftgits avatar swernli avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

dotnet-computevirtualization's Issues

Cgroup limits

How can I get the cgroup resource limits on CPU and RAM?

Move test code into this repo

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.

Command line Arguments for Container RUn Sample

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.

Update to nuget 0.1.0-alpha4

When #1 and #2 are merged we need to update the nuget package to 0.1.0-alpha4 so the new build targets and HNS functionality is consumable.

Storing containers on a network driver

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.