Pre-release of the v2 hcsshim package and runhcs.exe
Pre-release
Pre-release
New Features
- runhcs
- Adds support for OCI
mount.Type
"physical-disk" and "virtual-disk" for WCOW and LCOW.m := &oci.Mount{ Type: "physical-disk", Source: "\\\\.\\PHYSICALDRIVE1", Destination: "C:\\test" // LCOW '/mnt/test'
m := &oci.Mount{ Type: "virtual-disk", Source: "C:\\test.vhdx", // OR 'C:\\test.vhd' Destination: "C:\\test" // LCOW '/mnt/test'
- Stop loading
ole32
to improve process activation - Set
TerminateOnLastHandleClosed
for all UVM activation's to guarantee resource cleanup onrunhcs.exe
exit. - Set
StopOnReset
for all UVM activation's so that the guest VM does not try to restart on reset. - Change default LCOW activation's to use
rootfs.vhd
when present overinitrd.img
by default. - On builds
>= 18286
add support to LCOW for booting directly from the kernel (compressed or uncompressed) - Adds LCOW HNS network namespace support.
- Adds support for logging all
logrus
messages to ETW for allrunhcs.exe
invocations. - Various performance and logging improvements for diagnostics.
- Adds support for OCI
- uvmboot
- Introduces the
uvmboot.exe
tool for creating/starting/measuring performance of various LCOW configurations. This does not activate any containers but can be useful for creating/testing different LCOW options with various HCS/kernel features.
- Introduces the
Bug Fixes
- runhcs
- Properly set all Plan9 shares
ReadOnly
when OCI optsro
is set. - Properly convert from Docker
TERM
,KILL
,15
,9
signals for Windows container Kill requests using Unix semantics.
- Properly set all Plan9 shares