groot-windows

command module
v0.0.0-...-bde581b Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 5, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

README

groot-windows

A Garden image plugin for Windows.

Building

Make sure GOPATH is set. Then run:

GOOS=windows go build .

It generates a groot-windows.exe in the current directory.

Usage

groot-windows.exe [global options] command [command options] [arguments...]
Notes

groot pull: Downloads the layers from the image registry if remote, and unpacks each layer into directories of the same name/digest located at <driver-store>/layers. If <driver-store>/layers already contain the same unpacked layers, this is a NOOP.

groot create: Runs a groot pull, uses the relevant layers to create a virtual Hard disk file inside <driver-store>/volumes, mounts it as a Windows Volume path and returns a valid runtime spec on stdout.

Examples
groot-windows.exe --driver-store="c:\ProgramData\groot" create "oci:///C:/hydratorOutput" container1
groot-windows.exe --driver-store="c:\ProgramData\groot" delete container1

Use groot-windows.exe --help to show detailed usage.

Testing

Requirements

You must be in a windows environment to run these tests.

To run the entire suite of tests, run ginkgo -r -race -p .

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
fakes
Code generated by counterfeiter.
Code generated by counterfeiter.
hcs
fakes
Code generated by counterfeiter.
Code generated by counterfeiter.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL