首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >在我的码头上运行ActiveMQ Artemis,特别是在mac M1上

在我的码头上运行ActiveMQ Artemis,特别是在mac M1上
EN

Stack Overflow用户
提问于 2022-08-22 15:54:18
回答 1查看 399关注 0票数 0

我正试图在我的码头上运行ActiveMQ Artemis,但是我收到了很多错误,试图让它正常工作。我不确定这是否与我的yml文件有关。

这是我使用的命令:docker-compose up

这是我的yml文件:

代码语言:javascript
复制
version: '2'

services:

  artemis:
    image: quay.io/artemiscloud/activemq-artemis-broker
    ports:
      - "8161:8161"
      - "61616:61616"
      - "5672:5672"
    environment:
       ARTEMIS_USERNAME: "admin"
       ARTEMIS_PASSWORD: "admin"
    networks:
      - amqp-quickstart-network
networks:
  amqp-quickstart-network:

我收到了这个错误,不知道如何解决这个问题。

代码语言:javascript
复制
Attaching to infrastructure-artemis-1
infrastructure-artemis-1  | Creating Broker with args --role admin --name broker --allow-anonymous --http-host 172.19.0.2 --host 172.19.0.2  --force
infrastructure-artemis-1  | Cannot initialize queue:Function not implemented
infrastructure-artemis-1  |
infrastructure-artemis-1  | usage: artemis <command> [<args>]
infrastructure-artemis-1  |
infrastructure-artemis-1  | The most commonly used artemis commands are:
infrastructure-artemis-1  |     address    Address tools group (create|delete|update|show) (example ./artemis address create)
infrastructure-artemis-1  |     browser    It will browse messages on an instance
infrastructure-artemis-1  |     check      Check tools group (node|queue) (example ./artemis check node)
infrastructure-artemis-1  |     consumer   It will consume messages from an instance
infrastructure-artemis-1  |     create     creates a new broker instance
infrastructure-artemis-1  |     data       data tools group (print|recover) (example ./artemis data print)
infrastructure-artemis-1  |     help       Display help information
infrastructure-artemis-1  |     mask       mask a password and print it out
infrastructure-artemis-1  |     perf       Perf tools group (example ./artemis perf client)
infrastructure-artemis-1  |     producer   It will send messages to an instance
infrastructure-artemis-1  |     queue      Queue tools group (create|delete|update|stat|purge) (example ./artemis queue create)
infrastructure-artemis-1  |     transfer   Moves Messages from one destination towards another destination
infrastructure-artemis-1  |     version    print version information
infrastructure-artemis-1  |
infrastructure-artemis-1  | See 'artemis help <command>' for more information on a specific command.
infrastructure-artemis-1  |
infrastructure-artemis-1  | Running Broker
infrastructure-artemis-1  | /opt/amq/bin/launch.sh: line 47: /home/jboss/broker/bin/artemis: No such file or directory
infrastructure-artemis-1 exited with code 127
EN

回答 1

Stack Overflow用户

发布于 2022-08-22 16:20:01

您的停靠-撰写文件(检查网络)有问题。Ican用简单的一个衬垫运行它

代码语言:javascript
复制
docker run -e AMQ_USER=admin -e AMQ_PASSWORD=admin -p8161:8161 --name artemis quay.io/artemiscloud/activemq-artemis-broker

码头检查显示(网络)

代码语言:javascript
复制
"NetworkSettings": {
    "Bridge": "",
    "SandboxID": "fdd6c31e6e984369e592b968c7eaa465ee67233dd8d8d3d048c9fc99898089f5",
    "HairpinMode": false,
    "LinkLocalIPv6Address": "",
    "LinkLocalIPv6PrefixLen": 0,
    "Ports": {
        "8080/tcp": null,
        "8161/tcp": [
            {
                "HostIp": "0.0.0.0",
                "HostPort": "8161"
            },
            {
                "HostIp": "::",
                "HostPort": "8161"
            }
        ],
        "8443/tcp": null
    },

顺便说一下我在Ubuntu。

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/73447886

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档