Graylog failed to run when transfering images to another centos machine

Hi, I tried to run graylog on CentOS Linux release 7.6.1810 (Core) machine A and everything works well.
Then I copyied docker images and docker-compose.yml to another CentOS Linux release 7.6.1810 (Core) machine B, repeat same but failed

docker-compose.yml:

version: '3'
services:
    # MongoDB: https://hub.docker.com/_/mongo/
    mongo:
      image: mongo:4.2
      networks:
        - graylog
    # Elasticsearch: https://www.elastic.co/guide/en/elasticsearch/reference/7.10/docker.html
    elasticsearch:
      image: docker.elastic.co/elasticsearch/elasticsearch-oss:7.10.2
      environment:
        - http.host=0.0.0.0
        - transport.host=localhost
        - network.host=0.0.0.0
        - "ES_JAVA_OPTS=-Dlog4j2.formatMsgNoLookups=true -Xms512m -Xmx512m"
      ulimits:
        memlock:
          soft: -1
          hard: -1
      deploy:
        resources:
          limits:
            memory: 1g
      networks:
        - graylog
     # Graylog: https://hub.docker.com/r/graylog/graylog/
    graylog:
      image: graylog/graylog:4.3
      environment:
        # CHANGE ME (must be at least 16 characters)!
        - GRAYLOG_PASSWORD_SECRET=somepasswordpepper
        # Password: admin
        - GRAYLOG_ROOT_PASSWORD_SHA2=8c6976e5b5410415bde908bd4dee15dfb167a9c873fc4bb8a81f6f2ab448a918
        - GRAYLOG_HTTP_BIND_ADDRESS=0.0.0.0:9005
        - GRAYLOG_HTTP_EXTERNAL_URI=http://127.0.0.1:9005/
      entrypoint: /usr/bin/tini -- wait-for-it elasticsearch:9200 --  /docker-entrypoint.sh
      networks:
        - graylog
      restart: always
      depends_on:
        - mongo
        - elasticsearch
      ports:
        # Graylog web interface and REST API
        - 9005:9005
        # Syslog TCP
        - 1515:1515
        # Syslog UDP
        - 1515:1515/udp
        # GELF TCP
        - 12202:12202
        # GELF UDP
        - 12202:12202/udp
networks:
    graylog:
      driver: bridge

I tried to load saved image and run another centos machine with commands below:

docker load -i es.tar
docker load -i graylog.tar
docker load -i mongo.tar

docker-compose up

docker log

graylog_1          | realpath: missing operand
graylog_1          | Try 'realpath --help' for more information.
graylog_1          | wait-for-it: waiting 15 seconds for elasticsearch:9200
graylog_1          | wait-for-it:  elasticsearch:9200 is available after 0 seconds
graylog_1          | find '/plugins-default': No such file or directory
cp_graylog_1 exited with code 1
graylog_1          | wait-for-it:  elasticsearch:9200 is available after 0 seconds
graylog_1          | find '/plugins-default': No such file or directory
cp_graylog_1 exited with code 1

log shows:

docker ps shows elasticsearch and mongo works well.

Hello,

Posting multiple time will not help you issue

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.