Skip to content
This repository has been archived by the owner on Oct 1, 2020. It is now read-only.

Run kafka with an external volume #86

Open
yosoyfucho opened this issue Apr 9, 2018 · 1 comment
Open

Run kafka with an external volume #86

yosoyfucho opened this issue Apr 9, 2018 · 1 comment

Comments

@yosoyfucho
Copy link

Hi

I'm newbie to kafka.

I run this docker, and in almost three hours my docker lvs get to 100% making it unavailable

How can I change this docker to an external volume to not exhaust my docker?

@StefanSchrass
Copy link

I run it with

docker run -d
--name=kafka
-p 2181:2181
-p 9092:9092
--env ADVERTISED_HOST=localhost
--env ADVERTISED_PORT=9092
-v d:/Data/docker-volumes/kafka-logs:/tmp/kafka-logs //volume host_path:container_path
spotify/kafka

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants