-
-
Notifications
You must be signed in to change notification settings - Fork 251
Add support for container commit #923
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
✅ Deploy Preview for testcontainers-node ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
packages/testcontainers/src/generic-container/generic-container-commit.test.ts
Outdated
Show resolved
Hide resolved
packages/testcontainers/src/container-runtime/clients/container/docker-container-client.ts
Outdated
Show resolved
Hide resolved
packages/testcontainers/src/generic-container/generic-container-commit.test.ts
Outdated
Show resolved
Hide resolved
|
@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 |
packages/testcontainers/src/generic-container/started-generic-container.ts
Outdated
Show resolved
Hide resolved
packages/testcontainers/src/generic-container/started-generic-container.ts
Outdated
Show resolved
Hide resolved
packages/testcontainers/src/generic-container/generic-container-commit.test.ts
Outdated
Show resolved
Hide resolved
packages/testcontainers/src/container-runtime/clients/image/docker-image-client.ts
Outdated
Show resolved
Hide resolved
packages/testcontainers/src/container-runtime/clients/container/docker-container-client.ts
Outdated
Show resolved
Hide resolved
|
@smcroskey thanks for making the changes! Just a few more nitpicks |
|
@smcroskey thanks for the contribution! |
|
Thank you for the prompt review(s) @cristianrgreco! |
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.