Skip to content

Update the default SocatContainer image to alpine/socat 1.8.1.3 - #1601

Merged
cristianrgreco merged 1 commit into
mainfrom
claude/update-socat-image
Oct 13, 2026
Merged

cristianrgreco merged 1 commit into
mainfrom
claude/update-socat-image

Conversation

@cristianrgreco

Copy link
Copy Markdown
Collaborator

Summary

SocatContainer defaults to an image tag written in core's source, which Dependabot does not see. It was still alpine/socat:1.7.4.3-r0; the latest tag is alpine/socat:1.8.1.3 (pushed 2026-10-10, amd64 and arm64).

Follows #1600, which did the same for the two images hardcoded in module source. Core's other built-in images, testcontainers/ryuk:0.14.0 and testcontainers/sshd:1.4.0, are already on their latest tags.

Verification

Local, macOS arm64, Docker Desktop:

  • npx vitest run packages/testcontainers/src/socat: 2 passed with the new image (forwarding on the same port and on a different port).
  • npm run format, npm run lint, npm run knip, npm run check-compiles: clean.
  • No module uses SocatContainer, and the docs section about it names no tag.

Left to CI: Podman, Node 22 and 24, linux/amd64. This touches packages/testcontainers, so CI runs every module.

Not breaking

The constructor still takes an image, so new SocatContainer("alpine/socat:1.7.4.3-r0") keeps the old one. The container is started the same way (socat TCP-LISTEN:<port>,fork,reuseaddr TCP:<target>), and only the default image users pull changes.

@cristianrgreco cristianrgreco added dependencies Pull requests that update a dependency file patch Backward compatible bug fix labels Oct 13, 2026
@cristianrgreco
cristianrgreco marked this pull request as ready for review October 13, 2026 15:52
@cristianrgreco
cristianrgreco merged commit ebc3753 into main Oct 13, 2026
191 checks passed
@cristianrgreco
cristianrgreco deleted the claude/update-socat-image branch October 13, 2026 17:52
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.

1 participant