I'm looking for a solution to run IBM MQ Client under a Windows Docker instance. I know that Docker Hub only provides Linux implementations of MQ, however I do not need full MQ Server capability. Instead, I'm hoping there's a means to install MQ Client and simply connect to a Channel and Queues defined on another (non-Docker) system. To approach this, I've done the following:
- Spun up a Windows Docker container running under a command prompt (for proof of concept)
- Copied in and expanded MQ Client (9.0.0.8-IBM-MQC-Win64.zip)
- Silently installed MQ Client (e.g. msiexec /i "c:\temp\Windows\MSI\IBM MQ.msi" /l*v c:\temp\install.log /q TRANSFORMS="1033.mst" AGREETOLICENSE="yes" ADDLOCAL="Client"). Note: The installation was successful and without error.
- Established required enviornment variables (MQServer, etc.) and updated paths (classpath, lib, include, etc).
- Pinged MQ server system to verify connectivity.
I attempted to put a message on a working, verified queue using, "amqsputc.exe MYDOCKER.DS.Q". The immediate return code is: "MQCONNX ended with reason code 2195". Unforunately, 2195 is pretty generic and there are no other logs available to review.
I understand the differences of running under a VM versus a container, however since I only need Client access, I was hoping MQ Client was lightweight enough to be useable.
If MQ Client is not a viable direction, is there an MQ solution which might be doable via a Cloud connection?
Thanks in advance for all input.
------------------------------
J Cofer
------------------------------