Skip to content

Conversation

@smcroskey
Copy link
Contributor

@smcroskey smcroskey commented Mar 12, 2025

Fixes #884

Adds support for committing a container to an image (docker container commit).

Unfortunately @types/dockerode don't expose the commit options so I've included the type in types.ts.

@netlify
Copy link

netlify bot commented Mar 12, 2025

Deploy Preview for testcontainers-node ready!

Name Link
🔨 Latest commit 5a4b78e
🔍 Latest deploy log https://app.netlify.com/sites/testcontainers-node/deploys/67d3782015ad2e0008d623dd
😎 Deploy Preview https://deploy-preview-923--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 site configuration.

@cristianrgreco cristianrgreco added enhancement New feature or request minor Backward compatible functionality labels Mar 12, 2025
@cristianrgreco
Copy link
Collaborator

cristianrgreco commented Mar 12, 2025

@smcroskey thanks for raising the PR! This feature will be very useful. Left a few comments, LMK if you have any Qs.

The lint is failing, you should be able to run npm run lint to resolve.

@cristianrgreco cristianrgreco changed the title feat: add support for container.commit() [#884] Add support for container commit Mar 12, 2025
@smcroskey smcroskey marked this pull request as ready for review March 12, 2025 23:33
@cristianrgreco
Copy link
Collaborator

@smcroskey thanks for making the changes! Just a few more nitpicks

@cristianrgreco
Copy link
Collaborator

@smcroskey thanks for the contribution!

@cristianrgreco cristianrgreco merged commit 3574498 into testcontainers:main Mar 14, 2025
462 of 464 checks passed
@smcroskey
Copy link
Contributor Author

Thank you for the prompt review(s) @cristianrgreco!

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

Labels

enhancement New feature or request minor Backward compatible functionality

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Commit images / duplicate containers / etc

2 participants