To replicate this problem, run docker run zookeeperand then docker-compose upin the file yaml.
I am using the latest zookeeper image, wurstmeister / kafka: 0.9.0.0-1 and sheepkiller / kafka-manager: the latter . I ran docker-compose upand finallzy worked, but now I get the following error:

I searched for git and flowed through the stream to no avail. Everything looks fine until I save the cluster. In Kafka magazines I get:
[warn] oazClientCnxn - 0x0 session for null server, unexpected error, closing socket connection and trying to reconnect kafka-manager_1 | java.net.ConnectException: connection rejected kafka-manager_1 | in sun.nio.ch.SocketChannelImpl.checkConnect (native method) ~ [na: 1.8.0_151] kafka-manager_1 | at sun.nio.ch.SocketChannelImpl.finishConnect (SocketChannelImpl.java:717) ~ [na: 1.8.0_151] kafka-manager_1 | in org.apache.zookeeper.ClientCnxnSocketNIO.doTransport (ClientCnxnSocketNIO.java{61) ~ [Org.apache.zookeeper.zookeeper-3.4.6.jar: 3.4.6-1569965] kafka-manager_1 | at org.apache.zookeeper.ClientCnxn $ SendThread.run (ClientCnxn.java:1081) ~ [Org.apache.zookeeper.zookeeper-3.4.6.jar: 3.4.6-1569965]
I also saw this:
INFO Got user-level KeeperException when processing sessionid:0x160fb22e9f50000 type:create cxid:0x2a zxid:0x3e txntype:-1 reqpath:n/a Error Path:/brokers/ids Error:KeeperErrorCode = NodeExists for /brokers/ids (org.apache.zookeeper.server.PrepRequestProcessor)
, zookeeper yaml docker-compose up. , .
Yaml:
zookeeper:
image: confluent/zookeeper
ports:
- "2181:2181"
kafka:
image: wurstmeister/kafka:0.9.0.0-1
ports:
- "9092:9092"
links:
- zookeeper:zk
environment:
- KAFKA_ADVERTISED_HOST_NAME
- KAFKA_ADVERTISED_PORT=9092
- KAFKA_DELETE_TOPIC_ENABLE=true
- KAFKA_LOG_RETENTION_HOURS=1
- KAFKA_MESSAGE_MAX_BYTES=10000000
- KAFKA_REPLICA_FETCH_MAX_BYTES=10000000
- KAFKA_GROUP_MAX_SESSION_TIMEOUT_MS=60000
- KAFKA_NUM_PARTITIONS=2
- KAFKA_DELETE_RETENTION_MS=1000
kafka-manager:
image: sheepkiller/kafka-manager:latest
ports:
- "9000:9000"
links:
- zookeeper
- kafka
environment:
ZK_HOSTS: zookeeper:2181
APPLICATION_SECRET: letmein
KM_ARGS: -Djava.net.preferIPv4Stack=true
:

:
:

:

docker run -it -d zookeeper, docker- yml . , .
Docker:
: 53 : 2 : 0 : 51 : 13 : 17.12.0-ce : overlay2 : extfs d_type: true Native Overlay Diff: true Logging : json-file Cgroup Driver: cgroupfs : : : host ipvlan macvlan null overlay Log: awslogs fluentd gcplogs gelf journald json-file logentries splunk syslog : inactive Runtimes: runc Runtime: runc Init Binary: docker-init containerd : 89623f28b87a6004d4b785663257362d1658a729 runc : b2567b37d7b75eb4cf325b77297b140ea686ce8f : 949e6fa : seccomp : Kernel : 4.9.60-linuxkit-aufs : Docker Windows OSType: linux : x86_64 : 2 : 1.934GiB : linuxkit-00155dc95329 ID: YJE3: ZJKS: BJCF: TY4W: BU2Y: U7ZO: 5P4B: PYMQ: SLVH: KTXD: V2OS: XKCD Docker Root Dir:/var/lib/docker (): (): true : 19 : 36 : 2018-01-23T09: 47: 18.7698506Z EventsListeners: 1 : https://index.docker.io/v1/ : Experimental: true Insecure : 127.0.0.0/8 Live Restore Enabled: false