Docker Community Forums

Share and learn in the Docker community.

Shared memory across containers

(Yashgt) #1


If Websphere MQ is used as a XA(Distributed Transaction) Transaction Manager using Java MQ classes, not JTA, the Java application and the WMQ, both need to reside on the same host machine. I have been told this is because shared memory is used as Inter Process Communication mechanism. The Java application and the Websphere MQ both need access to shared memory to make XA work.

If we deploy WMQ in a docker container and keep our Java application in another docker container, both on the same host, will we be able to use the WMQ as a XA coordinator?

Will we have to use certain special configuration of the container to get it working? Can we allow the two containers to use common shared memory?