artemiscloud / activemq-artemis-broker-image

ActiveMQ Artemis Broker Image Reposifory
Apache License 2.0
10 stars 14 forks source link

Cannot initialize queue:Function not implemented #30

Closed sbmaggarwal closed 1 year ago

sbmaggarwal commented 1 year ago

Describe the bug Not able to launch the Basic Broker Image on Mac Apple M1 Pro Ventura 13.4.

To Reproduce Steps to reproduce the behavior:

  1. Get Docker running
  2. Use this command:
    docker run -e AMQ_USER=artemisuser -e AMQ_PASSWORD=artemispwd --name project-artemis --platform linux/x86_64 -p 80:8161 -p 61616:61616 quay.io/artemiscloud/activemq-artemis-broker:dev.latest

Platform (please complete the following information):

Expected behavior Above command should deploy the image on the tutorial.

Screenshots Screenshot 2023-06-14 at 07 47 34

Additional context The error during docker run is:

Cannot initialize queue:Function not implemented
brusdev commented 1 year ago

@sbmaggarwal the M1 is an ARM processor, not an x86 processor, could you try --platform linux/arm64:

docker run -e AMQ_USER=artemisuser -e AMQ_PASSWORD=artemispwd --name project-artemis --platform linux/arm64 -p 80:8161 -p 61616:61616 quay.io/artemiscloud/activemq-artemis-broker:dev.latest
sbmaggarwal commented 1 year ago

That was silly of me, thank you!