Oops! I think I had forgotten to execute:

eval "$(docker-machine env metron-machine)"

Having said that, when I now run docker-compose up, I still fail with:

Step 16/23 : RUN chmod 755 /opt/kafka/bin/wait-for-it.sh
 ---> Running in 768c0e9ac680
chmod: cannot access '/opt/kafka/bin/wait-for-it.sh': No such file or
directory
ERROR: Service 'kafkazk' failed to build: The command '/bin/sh -c chmod 755
/opt/kafka/bin/wait-for-it.sh' returned a non-zero code: 1

I've since updated docker-compose to 1.25.0-rc1, build 8552e8e2 from 1.8
and some other errors seemed to go away.

Can anybody please confirm that Metron's Docker config is working for them?

Thanks,

Phillip





On Mon, Jun 17, 2019 at 10:26 AM Phillip Henry <londonjava...@gmail.com>
wrote:

> I was following the instructions at:
>
>
> https://metron.apache.org/current-book/metron-contrib/metron-docker/index.html
>
> and when executing:
>
> $ docker-compose up -d
>
>
> it failed with:
>
> .
> .
> .
> Building elasticsearch
> Step 1/7 : FROM elasticsearch:2.3
> 2.3: Pulling from library/elasticsearch
> 386a066cd84a: Pull complete
> 75ea84187083: Pull complete
> 3e2e387eb26a: Pull complete
> eef540699244: Pull complete
> 1624a2f8d114: Pull complete
> 7018f4ec6e0a: Pull complete
> 6ca3bc2ad3b3: Pull complete
> 424638b495a6: Pull complete
> 2ff72d0b7bea: Pull complete
> 9d25542ccc02: Pull complete
> 35456bfab3fd: Pull complete
> c206de1a2db8: Pull complete
> 3fd5839fafc9: Pull complete
> e11632209e5b: Pull complete
> Digest:
> sha256:336e82bf4a8edee630efcd112ee388fd52b1dd04b0c47300f3efa60ed67a266e
> Status: Downloaded newer image for elasticsearch:2.3
>  ---> 1c3e7681c53c
> Step 2/7 : RUN /usr/share/elasticsearch/bin/plugin install
> mobz/elasticsearch-head
>  ---> Running in e95862076175
> -> Installing mobz/elasticsearch-head...
> Trying https://github.com/mobz/elasticsearch-head/archive/master.zip ...
> Downloading
> ....................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................DONE
> Verifying https://github.com/mobz/elasticsearch-head/archive/master.zip
> checksums if available ...
> NOTE: Unable to verify checksum for downloaded plugin (unable to find
> .sha1 or .md5 file to verify)
> Installed head into /usr/share/elasticsearch/plugins/head
> Removing intermediate container e95862076175
>  ---> 6e6cdead0273
> Step 3/7 : ADD ./es_templates /es_templates
> ERROR: Service 'elasticsearch' failed to build: ADD failed: stat
> /var/lib/docker/tmp/docker-builder838578399/es_templates: no such file or
> directory
>
> I'm using:
>
> $ docker --version
> Docker version 18.09.2, build 6247962
>
> on
>
> $ uname -a
> Linux corsair 4.4.0-141-generic #167-Ubuntu SMP Wed Dec 5 10:40:15 UTC
> 2018 x86_64 x86_64 x86_64 GNU/Linux
>
> Should I file a JIRA?
>
> Thanks,
>
> Phillip
>
>
>

Reply via email to