OS:      Rocky Linux release 9.0 (Blue Onyx)

kenel:   5.14.0-70.22.1.el9_0.x86_64

Docker£º 20.10.21, build baeda1f

Docker-Compose£º v2.11.2


I use docker compose to run a container activemq£¬The contents are as follows£¬Error encountered£¬How can I solve it£¿please help me.


version: '3'

services:

  nacos:

    image: webcenter/activemq

    container_name: activemq

    hostname: activemq

    restart: always

    deploy:

      mode: replicated

      replicas: 1

      resources:

        limits:

          cpus: '2'

          memory: 2G

        reservations:

          memory: 200M

    env_file:

      - /data/activemq/env/activemq.env

    ports:

      - "8161:8161"

      - "61613:61613"

      - "61616:61616"

      - "1883:1883"

    volumes:

      - /data/activemq/data:/data/activemq

      - /data/activemq/logs:/var/log/activemq

¢Ù
¢Ú
¢Û
¢Ü