Skip to content
This repository has been archived by the owner on Mar 24, 2022. It is now read-only.

QuickStart question #38

Closed
vilinski opened this issue May 30, 2016 · 2 comments
Closed

QuickStart question #38

vilinski opened this issue May 30, 2016 · 2 comments

Comments

@vilinski
Copy link

Im using your quick start instructions to evaluate the confluent platform.

  • started zookeeper,
  • started kafka.
  • the problem with schema-registry: It runs without any errors, but than stops immediately. I have first overseen this,
  • started rest-proxy and got an error message about not running container.

Have you some insights, what can be the cause for it or where to look for hidden errors? To be honest, I'm not an experienced docker user.

# works
# Start Zookeeper and expose port 2181 for use by the host machine
docker run -d --name zookeeper -p 2181:2181 confluent/zookeeper

# works
docker run -d --name kafka -p 9092:9092 --link zookeeper:zookeeper confluent/kafka

# doesn't run - stops without error messages
docker run -d --name schema-registry -p 8081:8081 --link zookeeper:zookeeper \
    --link kafka:kafka confluent/schema-registry

# doesn't work because linked container isn't running
docker run -d --name rest-proxy -p 8082:8082 --link zookeeper:zookeeper \
    --link kafka:kafka --link schema-registry:schema-registry confluent/rest-proxy
@jcustenborder
Copy link
Contributor

Hi @vilinski!

Can you give the docker-compose example a try? This might be easier to work with.

@vilinski
Copy link
Author

vilinski commented Jun 6, 2016

Thanks, it worked. I just added http_proxy environment variables to each container in the docker-compose.yml

@vilinski vilinski closed this as completed Jun 6, 2016
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