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

Allow setting shared memory size #395

Closed
pbillaut opened this issue Sep 9, 2022 · 1 comment · Fixed by #394
Closed

Allow setting shared memory size #395

pbillaut opened this issue Sep 9, 2022 · 1 comment · Fixed by #394

Comments

@pbillaut
Copy link
Contributor

pbillaut commented Sep 9, 2022

Allow users to set the shared memory size (--shm-size=N) when creating a runnable container image.

An example for a container where this is useful would be solace/solace-pubsub-standard, which requires at least 1GB of shared memory to be able to run (see Solace Docs > Resource Requirements for Container Images). By default, the docker run command sets the shared memory size to 64MB (see option --shm-size).

Analog feature in testcontainers for Java: testcontainers/testcontainers-java#952.

@thomaseizinger
Copy link
Collaborator

Sounds reasonable to me, thank you for creating a PR!

@bors bors bot closed this as completed in b168d9d Sep 15, 2022
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

Successfully merging a pull request may close this issue.

2 participants