lensesio / fast-data-dev

Kafka Docker for development. Kafka, Zookeeper, Schema Registry, Kafka-Connect, Landoop Tools, 20+ connectors

Home Page:https://lenses.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Docker For Mac - How To Start lensesio/fast-data-dev:latest

dcs3spp opened this issue · comments

Finally got this working on macOS Catalina. Not sure if documentation has been updated, but could not locate anywhere easily on gihutb page, so.....

Would it be possible to update the README documentation to save new users on macOS some effort?

docker-machine has been superceded by Docker Desktop

For any macOS users struggling to get started:

docker run --rm -p 2181:2181 -p 3030:3030 -p 8081-8083:8081-8083 -p 9581-9585:9581-9585 -p 9092:9092 -e ADV_HOST=127.0.0.1 lensesio/fast-data-dev:latest

or use the following docker-compose service:

kafka:
    image: lensesio/fast-data-dev:2.5.1-L0
    container_name: kafka
    networks:
      - yourNetworkName
    ports:
      - 2181:2181 # zookeeper
      - 3030:3030 # ui
      - 9092:9092 # broker
      - 8081:8081 # schema registry
      - 8082:8082 # rest proxy
      - 8083:8083 # kafka connect
    environment:
      - ADV_HOST=127.0.0.1
      - SAMPLEDATA=0
      - REST_PORT=8082
      - FORWARDLOGS=0
      - RUNTESTS=0
      - DISABLE_JMX=1
      - CONNECTORS=${CONNECTOR}
      - WEB_PORT=3030
      - DISABLE=hive-1.1

Finally, visit http://localhost:3030 in suitable browser.

This worked great! Thank you very much!

I confirm that this command works like a charm. Thanks, @dcs3spp!

I hope this gets approved and merged

Thanks @dcs3spp 👍 for getting this working.
It should be added to MAcOS README section