MQ

 View Only
Expand all | Collapse all

MQ Docker container exists with error: You cannot run more than one instance of this program

  • 1.  MQ Docker container exists with error: You cannot run more than one instance of this program

    Posted Thu July 21, 2022 10:25 AM
    Trying to run MQ in a Docker container exits with the error "You cannot run more than one instance of this program".
    There are no other containers running on the machine.

    I am running an AMD64 container on a Mac M1 through the emulation provided by Docker, but I don't think this error would be related to the use o emulation.

    Any ideas?

    % docker run --platform=linux/amd64 --env LICENSE=accept --env MQ_QMGR_NAME=QM1 --env MFT_AGENT_NAME=QM1 --volume qm1data:/mnt/mqm --publish 1414:1414 --publish 9443:9443 --env MQ_APP_PASSWORD=passw0rd --env DEBUG=true icr.io/ibm-messaging/mq:latest
    2022-07-21T00:31:56.258Z CPU architecture: amd64
    2022-07-21T00:31:56.262Z Linux kernel version: 5.10.104-linuxkit
    2022-07-21T00:31:56.264Z Base image: Red Hat Enterprise Linux 8.6 (Ootpa)
    2022-07-21T00:31:56.264Z Running as user ID 1001 with primary group 0
    2022-07-21T00:31:56.266Z Capabilities (bounding set): chown,dac_override,fowner,fsetid,kill,setgid,setuid,setpcap,net_bind_service,net_raw,sys_chroot,mknod,audit_write,setfcap
    2022-07-21T00:31:56.267Z seccomp enforcing mode: filtering
    2022-07-21T00:31:56.267Z Process security attributes: none
    2022-07-21T00:31:56.268Z Detected 'ext4' volume mounted to /mnt/mqm
    2022-07-21T00:31:56.711Z You cannot run more than one instance of this program



    % docker version

    Client:
     Cloud integration: v1.0.24
     Version:           20.10.14
     API version:       1.41
     Go version:        go1.16.15
     Git commit:        a224086
     Built:             Thu Mar 24 01:49:20 2022
     OS/Arch:           darwin/arm64
     Context:           default
     Experimental:      true

    Server: Docker Desktop 4.8.2 (79419)
     Engine:
      Version:          20.10.14
      API version:      1.41 (minimum version 1.12)
      Go version:       go1.16.15
      Git commit:       87a90dc
      Built:            Thu Mar 24 01:45:44 2022
      OS/Arch:          linux/arm64
      Experimental:     false
     containerd:
      Version:          1.5.11
      GitCommit:        3df54a852345ae127d1fa3092b95168e4a88e2f8
     runc:
      Version:          1.0.3
      GitCommit:        v1.0.3-0-gf46b6ba
     docker-init:
      Version:          0.19.0
      GitCommit:        de40ad0



    ------------------------------
    Gabriel Oliveira
    ------------------------------


  • 2.  RE: MQ Docker container exists with error: You cannot run more than one instance of this program

    Posted Mon July 25, 2022 04:21 AM
    Hi.  This is a known problem, and is related to using Apple silicon.  See this issue: Apple M1 or ARM64 support. I'm afraid there isn't a work around at the moment.

    ------------------------------
    Arthur Barr
    Container Architect, IBM MQ
    IBM
    ------------------------------



  • 3.  RE: MQ Docker container exists with error: You cannot run more than one instance of this program

    Posted Thu May 04, 2023 11:13 AM

    Is there an ETA for when M1/M2 (ARM) support for MQ will be available? ARM macbooks have been available for quite some time and are given to engineers who then are unable to do any work due to this lack of support. 



    ------------------------------
    Adam Shannon
    ------------------------------