Sitelet https://github.com/testcontainers/testcontainers-node/pull/1364
Skip to content

Bump testcontainers/sshd image from 1.3.0 to 1.4.0 - #1364

Merged
cristianrgreco merged 2 commits into
mainfrom
bump/sshd-docker-1.4.0
Jun 17, 2026
Merged

cristianrgreco merged 2 commits into
mainfrom
bump/sshd-docker-1.4.0

Conversation

@mdelapenya

Copy link
Copy Markdown
Member

Bumps the default testcontainers/sshd image from 1.3.0 to 1.4.0 in packages/testcontainers/src/port-forwarder/port-forwarder.ts.

What's new in 1.4.0:

  • Base image updated to Alpine 3.23
  • AddressFamily any added to the sshd config (fixes SSH connections on dual-stack hosts)

Verification:

Tests found:

  • packages/testcontainers/src/port-forwarder/port-forwarder.test.ts (3 tests)
  • packages/testcontainers/src/port-forwarder/port-forwarder-reuse.test.ts (2 tests)

Tests were run locally. All 5 failed due to sandbox networking constraints (host.testcontainers.internal unreachable from inside containers in the local environment) — the same failures occur with 1.3.0 via SSHD_CONTAINER_IMAGE=testcontainers/sshd:1.3.0. The testcontainers/sshd:1.4.0 image was confirmed available on Docker Hub and was successfully pulled during test runs.

Not a breaking change — only the default image tag is updated; users can still override via SSHD_CONTAINER_IMAGE.

@mdelapenya mdelapenya added dependencies Pull requests that update a dependency file patch Backward compatible bug fix labels Jun 16, 2026

@chatgpt-codex-connector chatgpt-codex-connector Bot 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.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: b4edc7029d

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread packages/testcontainers/src/port-forwarder/port-forwarder.ts
@netlify

netlify Bot commented Jun 16, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for testcontainers-node ready!

Name Link
🔨 Latest commit b4edc70
🔍 Latest deploy log https://app.netlify.com/projects/testcontainers-node/deploys/6a317c1fd6289f000884be2b
😎 Deploy Preview https://deploy-preview-1364--testcontainers-node.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@mdelapenya

Copy link
Copy Markdown
Member Author

Fixed in the follow-up commit — docs/configuration.md now shows testcontainers/sshd:1.4.0 as the default.

@cristianrgreco
cristianrgreco merged commit 79f9707 into main Jun 17, 2026
263 checks passed
@cristianrgreco
cristianrgreco deleted the bump/sshd-docker-1.4.0 branch June 17, 2026 09:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file patch Backward compatible bug fix

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants