Skip to content

Update sshd options: AddressFamily=any#33

Merged
mdelapenya merged 1 commit into
testcontainers:mainfrom
andrewradamis-vividseats:ipv6-patch
Jun 5, 2026
Merged

Update sshd options: AddressFamily=any#33
mdelapenya merged 1 commit into
testcontainers:mainfrom
andrewradamis-vividseats:ipv6-patch

Conversation

@andrewradamis-vividseats

Copy link
Copy Markdown
Contributor

Update sshd option AddressFamily=any

Fixes #29

@mdelapenya mdelapenya requested a review from Copilot June 5, 2026 18:12
@mdelapenya mdelapenya self-assigned this Jun 5, 2026
@mdelapenya mdelapenya added the bug Something isn't working label Jun 5, 2026

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the container’s sshd startup options to allow both IPv4 and IPv6 connections, addressing CI failures on IPv6-enabled Docker networks (per Issue #29) where Docker-in-Docker port forwarding may attempt IPv6 connections first.

Changes:

  • Switch sshd AddressFamily from inet (IPv4-only) to any (IPv4+IPv6).

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@mdelapenya mdelapenya left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks for your patience 🙏

We still need to produce a release, and update the downstream projects consuming it

@mdelapenya mdelapenya merged commit b729bcd into testcontainers:main Jun 5, 2026
1 check passed
@andrewradamis-vividseats

Copy link
Copy Markdown
Contributor Author

LGTM, thanks for your patience 🙏

We still need to produce a release, and update the downstream projects consuming it

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Issues with IPv6 enabled docker networks

3 participants