testcontainers-java
testcontainers-java copied to clipboard
Windows container (WCOW) support
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
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)
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.
In case you want to run Java on Containers in Process Isolation mode (Docker-style), consider trying wcjvm: https://github.com/brunoborges/wcjvm
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
The Docker image for testcontainers/helloworld got some love, too: https://github.com/testcontainers/helloworld/pull/5