[
https://issues.apache.org/jira/browse/METRON-622?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15762369#comment-15762369
]
ASF GitHub Bot commented on METRON-622:
---------------------------------------
Github user merrimanr commented on the issue:
https://github.com/apache/incubator-metron/pull/393
@kylerichardson thank you for reviewing it! I updated the documentation to
include Docker for Mac or Docker for Windows. One of the primary requirements
for the way I use this is that containers must be accessible from my local
environment where my IDE is running so services that broadcast their host
address are tricky. The Kafka advertised listener thing was the single most
challenging issue I faced so not surprised you hit it too. The Kafka
Dockerfile is wired to pull the DOCKER_HOST from an input argument and the
compose file is wired to pass the local DOCKER_HOST environment variable as the
DOCKER_HOST input argument to the Kafka Dockerfile. So you should be able to
set your local DOCKER_HOST environment variable as such:
$ export DOCKER_HOST="tcp://<your docker host>:2376"
When you run "eval $(docker-machine env metron-machine)" that's pretty much
what Docker Machine is doing, setting local environment variables to match the
desired host. Then after you build the environment, the advertised.listener
property should be set to <your docker host> without you having to manually
change it.
I only used the virtualbox drive because that's what came out of the box.
> Create a Metron Docker Compose application
> -------------------------------------------
>
> Key: METRON-622
> URL: https://issues.apache.org/jira/browse/METRON-622
> Project: Metron
> Issue Type: New Feature
> Reporter: Ryan Merriman
>
> This is an alternative to the Vagrant quick-dev approach of creating a local
> Metron environment for development and testing. It is intended to be leaner
> and easier to manage. This compose application will contain separate images
> for each of the services that Metron depends on as well as the Metron
> services.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)