-
Notifications
You must be signed in to change notification settings - Fork 5.2k
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
Add support for ipc: service
syntax
#7220
Comments
Just for the reference, |
Also, not sure if this might help you out, but as an ugly, non-production workaround, try using
|
@ArthurBir I haven't been able to get your example to work. I set the image names to
|
Description of the issue
docker
supports--ipc
flag, which according to docs:Assuming I have an application that makes use of shared memory, I can bring it up with
docker run --ipc=container:name ...
. All good here 👍However, if I'm using
docker-compose
- I am unable to get the same behaviour. This is because, according to docs, it's simply a pass-through option.Desired Behaviour
It would be amazing if
ipc
option indocker-compose
supportedservice:[service name]
syntax, similar to network_mode. For example:This would make the container for the target (i.e., myrtr) have
--ipc=shareable
and the container for the service (i.e, mysvc) have--ipc=container:<id of myrtr>
.Summary
What are your thoughts on this? I would be happy to contribute this feature if maintainers agree 🙂
The text was updated successfully, but these errors were encountered: