Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

CLI tool for spawning and running containers on Windows according to the OCI specification

License

NotificationsYou must be signed in to change notification settings

cloudfoundry/winc

Repository files navigation

clippy

winc

winc is a CLI tool for spawning and running containers on Windows according to the OCI specification.

Building

Requirements

  • Golang
    • Make sure you have set aGOPATH
  • Git
  • mingw-w64
    • Selectx86_64 as the target architecture
    • After install, ensure thatgcc.exe is in yourPATH

To clone and buildwinc.exe:

go get -d code.cloudfoundry.org/winc/...cd $GOPATH/src/code.cloudfoundry.org/wincgo build ./cmd/winc

Testing

Set the following environment variables first:

WINDOWS_VERSION to your version of Windows.

WINC_TEST_ROOTFS to the path to a container image.

GROOT_BINARY to the path of the groot executable to use while running integration test.

GROOT_IMAGE_STORE to the path of the directory that groot uses for layers and the volume.

E.g.

$env:WINDOWS_VERSION="2019"$env:WINC_TEST_ROOTFS="docker:///cloudfoundry/windows2016fs:2019"$env:GROOT_BINARY="$env:GOPATH\bin\groot.exe"$env:GROOT_IMAGE_STORE="C:\ProgramData\groot"ginkgo -r integration/

To installGinkgo and run the tests:

go get github.com/onsi/ginkgo/...cd $GOPATH/src/code.cloudfoundry.org/wincginkgo -r -race -keepGoing

Using

Check outwinc bosh release readme for creating new containers using winc.

About

CLI tool for spawning and running containers on Windows according to the OCI specification

Topics

Resources

License

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

[8]ページ先頭

©2009-2025 Movatter.jp