Skip to content
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

Support for creating custom volume binds from the citrus docker module #1085

Open
blessedchitamba opened this issue Dec 12, 2023 · 0 comments

Comments

@blessedchitamba
Copy link
Contributor

User story
As a backend tester, my specific use case requirement is that my Citrus test starts up docker containers, run IT tests, then stop them afterwards. The citrus docker module is quite helpful; however the volumes option in the ContainerCreateBuilder class only creates anonymous volumes mounted to a default path according to the Docker API spec. To create custom volume mounts, the Docker API expects me to add those to a Binds field under HostConfig. Currently there is no implementation for populating that field in the JSON request to the Docker API. Could we please add it?

https://docs.docker.com/engine/api/v1.43/#tag/Container/operation/ContainerCreate

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant