Subject: please help me

From: 林兴隆 <[email-masked]>
Date: Mon, 21 Nov 2022 17:21:08 +0800 (CST)

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

①
②
③
④