docker run \
-p 9092:9092 \
-v /opt/kafka/config/server.properties:/opt/kafka/config/server.properties \
-v /opt/kafka/data:/tmp/kafka-logs \
vungle/kafka2:dev
There are Ansible playbooks to help provision up a CoreOS machine with the folders and files it needs: