testcontainers-java icon indicating copy to clipboard operation
testcontainers-java copied to clipboard

Windows container (WCOW) support

Open gesellix opened this issue 3 years ago • 5 comments

Module

Core

Proposal

Is there any shortlist of issues/tasks to be solved to make Testcontainers work on WCOW? I'd like to help and enable native WCOW support. Creating multi-arch/multi-platform images for Ryuk (draft) should only be a matter of time (been there for my own projects), but I suspect there might be harder issues to be solved?

Some details have already been discussed at #2960 with the docs stating that native support for WCOW isn't currently avilable.

Related: https://github.com/testcontainers/moby-ryuk/issues/35

gesellix avatar Jul 30 '22 10:07 gesellix

Hey @gesellix,

that's a pretty awesome suggestion and we'd be happy to work with you on bringing WCOW support to Testcontainers Java. From my past experience, AFAIK the first initial blocker is indeed only the missing Windows Container images of our internal images, such as Ryuk. Back then I could do some basic examples if I disabled Ryuk. So with this in place, we might already come pretty far.

Here are a couple of other internal images:

  • https://github.com/testcontainers/vnc-recorder
  • https://github.com/testcontainers/sshd-docker
  • https://github.com/testcontainers/helloworld (used internally in our own test suite)

kiview avatar Aug 08 '22 12:08 kiview

That's great, I'll try to prepare WCOW variants. Maybe we can extract a shared meta-workflow to consolidate the image publishing in a follow-up.

gesellix avatar Aug 08 '22 14:08 gesellix

In case you want to run Java on Containers in Process Isolation mode (Docker-style), consider trying wcjvm: https://github.com/brunoborges/wcjvm

brunoborges avatar Nov 03 '23 21:11 brunoborges

Ryuk is available as multi-arch image including Windows as of v0.7.0: https://github.com/testcontainers/moby-ryuk/releases/tag/0.7.0

gesellix avatar Mar 09 '24 13:03 gesellix

The Docker image for testcontainers/helloworld got some love, too: https://github.com/testcontainers/helloworld/pull/5

gesellix avatar Mar 12 '24 19:03 gesellix