metron-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nickwallen <...@git.apache.org>
Subject [GitHub] metron-bro-plugin-kafka issue #21: METRON-1911 Docker setup for testing bro ...
Date Fri, 07 Dec 2018 21:55:35 GMT
Github user nickwallen commented on the issue:

    https://github.com/apache/metron-bro-plugin-kafka/pull/21
  
    I ran this up, but seemed to get a couple errors.
    ```
    ./scripts/docker_run_bro_container.sh: line 152: DOCKER_CMD_BASE: command not found
    ```
    ```
    ./scripts/docker_run_bro_container.sh: line 162: metron-bro-docker-container:latest: command
not found
    ```
    
    This is the command that I ran along with what I saw when the errors popped up.
    ```
    $ ./scripts/download_sample_pcaps.sh --data-path=~/tmp/data  &&  ./example_script.sh
 --leave-running --data-path=/Users/me/tmp/pcap_data && ./scripts/docker_execute_process_data_dir.sh
&&  ./scripts/docker_run_consume_bro_kafka.sh
    
    ...
    
    make[1]: Leaving directory `/root/bro-2.5.5/librdkafka-0.11.5/src-cpp'
    Removing intermediate container c4b01dee8e27
     ---> 4301bf29af13
    Step 23/23 : WORKDIR /root
     ---> Running in 3fac0790cfdc
    Removing intermediate container 3fac0790cfdc
     ---> 02b3e630af02
    Successfully built 02b3e630af02
    Successfully tagged metron-bro-docker-container:latest
    Running docker_run_bro_container with
    CONTAINER_NAME = bro
    NETWORK_NAME = bro-network
    SCRIPT_PATH =
    LOG_PATH = /Users/nallen/tmp/metron-bro-plugin-kafka-pr21/docker/logs
    DATA_PATH = /Users/me/tmp/pcap_data
    DOCKER_PARAMETERS =
    ===================================================
    Log will be found on host at /Users/nallen/tmp/metron-bro-plugin-kafka-pr21/docker/logs/bro-test-Fri_Dec__7_16:51:06_EST_2018.log
    ./scripts/docker_run_bro_container.sh: line 143: DOCKER_CMD_BASE: command not found
    ./scripts/docker_run_bro_container.sh: line 144: DOCKER_CMD_BASE: command not found
    ./scripts/docker_run_bro_container.sh: line 145: DOCKER_CMD_BASE: command not found
    ./scripts/docker_run_bro_container.sh: line 146: DOCKER_CMD_BASE: command not found
    ./scripts/docker_run_bro_container.sh: line 147: DOCKER_CMD_BASE: command not found
    ./scripts/docker_run_bro_container.sh: line 152: DOCKER_CMD_BASE: command not found
    ===============Running Docker===============
    
    eval command is:
    bro bash
    
    ============================================
    
    ./scripts/docker_run_bro_container.sh: line 162: metron-bro-docker-container:latest: command
not found
    Running stop_container with
    CONTAINER_NAME= kafka
    ===================================================
    kafka
    kafka
    Running stop_container with
    CONTAINER_NAME= zookeeper
    ===================================================
    zookeeper
    zookeeper
    Running destroy_docker_network with
    NETWORK_NAME = bro-network
    ===================================================
    bro-network
    ```
    
    And I see no containers running.
    ```
    $ docker ps
    CONTAINER ID        IMAGE               COMMAND             CREATED             STATUS
             PORTS               NAMES
    ```
    
    Docker Engine 18.09.0


---

Mime
View raw message