ibm-messaging / mq-container

Container images for IBM® MQ
Apache License 2.0
255 stars 189 forks source link

You cannot run more than one instance of this program #492

Closed savdeev closed 2 years ago

savdeev commented 2 years ago

Hey,

I'm trying to start a ibm mq container locally on Apple M1 and I am getting this error:

$ docker run --rm --platform linux/x86_64  --env LICENSE=accept --env MQ_QMGR_NAME=QM1 --volume qm1data:/mnt/mqm --publish 1414:1414 --publish 9443:9443 --env MQ_APP_PASSWORD=passw0rd ibmcom/mq:latest

2022-03-29T13:10:25.085Z CPU architecture: amd64
2022-03-29T13:10:25.089Z Linux kernel version: 5.10.104-linuxkit
2022-03-29T13:10:25.090Z Base image: Red Hat Enterprise Linux 8.5 (Ootpa)
2022-03-29T13:10:25.091Z Running as user ID 1001 with primary group 0
2022-03-29T13:10:25.092Z Capabilities (bounding set): chown,dac_override,fowner,fsetid,kill,setgid,setuid,setpcap,net_bind_service,net_raw,sys_chroot,mknod,audit_write,setfcap
2022-03-29T13:10:25.093Z seccomp enforcing mode: filtering
2022-03-29T13:10:25.093Z Process security attributes: none
2022-03-29T13:10:25.094Z Detected 'ext4' volume mounted to /mnt/mqm
2022-03-29T13:10:25.509Z You cannot run more than one instance of this program

I see that number of instances verification is done here https://github.com/ibm-messaging/mq-container/blob/master/cmd/runmqserver/process.go#L44 however, I'm not quite sure what causes it to detect a second instance of runmqdevserver

arthurbarr commented 2 years ago

Closing as duplicated of #476. Apple M1 is not supported.

fatso83 commented 5 months ago

Just a little pingback for web crawlers to note that it's possible to run on ARM now: https://github.com/ibm-messaging/mq-container/issues/562#issuecomment-2134635123