Created
September 27, 2018 20:55
-
-
Save btomasini/deae1a8548910a19665ee58e2bfe0f70 to your computer and use it in GitHub Desktop.
Kafka, Zookeeper Docker Config with Host Config
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Last login: Thu Sep 27 20:48:49 2018 from 10.0.2.2 | |
vagrant@instance1:~$ ifconfig | |
br-55fc58917ab3 Link encap:Ethernet HWaddr 02:42:e8:23:24:45 | |
inet addr:172.18.0.1 Bcast:172.18.255.255 Mask:255.255.0.0 | |
inet6 addr: fe80::42:e8ff:fe23:2445/64 Scope:Link | |
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 | |
RX packets:4 errors:0 dropped:0 overruns:0 frame:0 | |
TX packets:8 errors:0 dropped:0 overruns:0 carrier:0 | |
collisions:0 txqueuelen:0 | |
RX bytes:112 (112.0 B) TX bytes:648 (648.0 B) | |
docker0 Link encap:Ethernet HWaddr 02:42:ba:93:56:2b | |
inet addr:172.17.0.1 Bcast:172.17.255.255 Mask:255.255.0.0 | |
inet6 addr: fe80::42:baff:fe93:562b/64 Scope:Link | |
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 | |
RX packets:9132 errors:0 dropped:0 overruns:0 frame:0 | |
TX packets:17381 errors:0 dropped:0 overruns:0 carrier:0 | |
collisions:0 txqueuelen:0 | |
RX bytes:700109 (700.1 KB) TX bytes:1332602 (1.3 MB) | |
enp0s3 Link encap:Ethernet HWaddr 02:00:84:9a:cf:24 | |
inet addr:10.0.2.15 Bcast:10.0.2.255 Mask:255.255.255.0 | |
inet6 addr: fe80::84ff:fe9a:cf24/64 Scope:Link | |
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 | |
RX packets:527677 errors:0 dropped:0 overruns:0 frame:0 | |
TX packets:156353 errors:0 dropped:0 overruns:0 carrier:0 | |
collisions:0 txqueuelen:1000 | |
RX bytes:539387833 (539.3 MB) TX bytes:10576589 (10.5 MB) | |
enp0s8 Link encap:Ethernet HWaddr 08:00:27:9b:2e:75 | |
inet addr:172.28.128.15 Bcast:172.28.128.255 Mask:255.255.255.0 | |
inet6 addr: fe80::a00:27ff:fe9b:2e75/64 Scope:Link | |
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 | |
RX packets:17324 errors:0 dropped:0 overruns:0 frame:0 | |
TX packets:8809 errors:0 dropped:0 overruns:0 carrier:0 | |
collisions:0 txqueuelen:1000 | |
RX bytes:1429245 (1.4 MB) TX bytes:811057 (811.0 KB) | |
lo Link encap:Local Loopback | |
inet addr:127.0.0.1 Mask:255.0.0.0 | |
inet6 addr: ::1/128 Scope:Host | |
UP LOOPBACK RUNNING MTU:65536 Metric:1 | |
RX packets:294 errors:0 dropped:0 overruns:0 frame:0 | |
TX packets:294 errors:0 dropped:0 overruns:0 carrier:0 | |
collisions:0 txqueuelen:1 | |
RX bytes:25683 (25.6 KB) TX bytes:25683 (25.6 KB) | |
veth080072c Link encap:Ethernet HWaddr 62:b7:3f:74:0c:ec | |
inet6 addr: fe80::60b7:3fff:fe74:cec/64 Scope:Link | |
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 | |
RX packets:8987 errors:0 dropped:0 overruns:0 frame:0 | |
TX packets:17195 errors:0 dropped:0 overruns:0 carrier:0 | |
collisions:0 txqueuelen:0 | |
RX bytes:813556 (813.5 KB) TX bytes:1317625 (1.3 MB) | |
vetha759f70 Link encap:Ethernet HWaddr 7a:e5:34:66:ef:ff | |
inet6 addr: fe80::78e5:34ff:fe66:efff/64 Scope:Link | |
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 | |
RX packets:4412 errors:0 dropped:0 overruns:0 frame:0 | |
TX packets:8513 errors:0 dropped:0 overruns:0 carrier:0 | |
collisions:0 txqueuelen:0 | |
RX bytes:456532 (456.5 KB) TX bytes:628316 (628.3 KB) | |
vethbeeb86b Link encap:Ethernet HWaddr 22:6e:74:2d:46:e7 | |
inet6 addr: fe80::206e:74ff:fe2d:46e7/64 Scope:Link | |
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 | |
RX packets:879 errors:0 dropped:0 overruns:0 frame:0 | |
TX packets:493 errors:0 dropped:0 overruns:0 carrier:0 | |
collisions:0 txqueuelen:0 | |
RX bytes:67672 (67.6 KB) TX bytes:67464 (67.4 KB) | |
vethc44d49e Link encap:Ethernet HWaddr a2:63:e3:f9:17:9f | |
inet6 addr: fe80::a063:e3ff:fef9:179f/64 Scope:Link | |
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 | |
RX packets:31 errors:0 dropped:0 overruns:0 frame:0 | |
TX packets:57 errors:0 dropped:0 overruns:0 carrier:0 | |
collisions:0 txqueuelen:0 | |
RX bytes:3587 (3.5 KB) TX bytes:4757 (4.7 KB) | |
vagrant@instance1:~$ | |
vagrant@instance1:~$ | |
vagrant@instance1:~$ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
{ | |
"Id": "85a1cdfb49f8caa252719ab098f8abc17afb5b33ec63133c4896a0d82f0b0920", | |
"Created": "2018-09-27T20:40:43.777107967Z", | |
"Path": "start-kafka.sh", | |
"Args": [], | |
"State": { | |
"Status": "running", | |
"Running": true, | |
"Paused": false, | |
"Restarting": false, | |
"OOMKilled": false, | |
"Dead": false, | |
"Pid": 22782, | |
"ExitCode": 0, | |
"Error": "", | |
"StartedAt": "2018-09-27T20:40:52.054251923Z", | |
"FinishedAt": "2018-09-27T20:40:51.508248456Z" | |
}, | |
"Image": "sha256:e4c6cedf70f9238b48289a7d05da8ecce163187fda3b86ca917c2b01da7301df", | |
"ResolvConfPath": "/var/lib/docker/containers/85a1cdfb49f8caa252719ab098f8abc17afb5b33ec63133c4896a0d82f0b0920/resolv.conf", | |
"HostnamePath": "/var/lib/docker/containers/85a1cdfb49f8caa252719ab098f8abc17afb5b33ec63133c4896a0d82f0b0920/hostname", | |
"HostsPath": "/var/lib/docker/containers/85a1cdfb49f8caa252719ab098f8abc17afb5b33ec63133c4896a0d82f0b0920/hosts", | |
"LogPath": "/var/lib/docker/containers/85a1cdfb49f8caa252719ab098f8abc17afb5b33ec63133c4896a0d82f0b0920/85a1cdfb49f8caa252719ab098f8abc17afb5b33ec63133c4896a0d82f0b0920-json.log", | |
"Name": "/kafka", | |
"RestartCount": 1, | |
"Driver": "overlay2", | |
"Platform": "linux", | |
"MountLabel": "", | |
"ProcessLabel": "", | |
"AppArmorProfile": "docker-default", | |
"ExecIDs": null, | |
"HostConfig": { | |
"Binds": [ | |
"/var/run/docker.sock:/var/run/docker.sock:rw" | |
], | |
"ContainerIDFile": "", | |
"LogConfig": { | |
"Type": "json-file", | |
"Config": {} | |
}, | |
"NetworkMode": "default", | |
"PortBindings": { | |
"9092/tcp": [ | |
{ | |
"HostIp": "0.0.0.0", | |
"HostPort": "9092" | |
} | |
], | |
"9094/tcp": [ | |
{ | |
"HostIp": "0.0.0.0", | |
"HostPort": "9094" | |
} | |
] | |
}, | |
"RestartPolicy": { | |
"Name": "unless-stopped", | |
"MaximumRetryCount": 0 | |
}, | |
"AutoRemove": false, | |
"VolumeDriver": "", | |
"VolumesFrom": null, | |
"CapAdd": null, | |
"CapDrop": null, | |
"Dns": null, | |
"DnsOptions": null, | |
"DnsSearch": null, | |
"ExtraHosts": null, | |
"GroupAdd": null, | |
"IpcMode": "shareable", | |
"Cgroup": "", | |
"Links": null, | |
"OomScoreAdj": 0, | |
"PidMode": "", | |
"Privileged": false, | |
"PublishAllPorts": false, | |
"ReadonlyRootfs": false, | |
"SecurityOpt": null, | |
"UTSMode": "", | |
"UsernsMode": "", | |
"ShmSize": 67108864, | |
"Runtime": "runc", | |
"ConsoleSize": [ | |
0, | |
0 | |
], | |
"Isolation": "", | |
"CpuShares": 0, | |
"Memory": 0, | |
"NanoCpus": 0, | |
"CgroupParent": "", | |
"BlkioWeight": 0, | |
"BlkioWeightDevice": null, | |
"BlkioDeviceReadBps": null, | |
"BlkioDeviceWriteBps": null, | |
"BlkioDeviceReadIOps": null, | |
"BlkioDeviceWriteIOps": null, | |
"CpuPeriod": 0, | |
"CpuQuota": 0, | |
"CpuRealtimePeriod": 0, | |
"CpuRealtimeRuntime": 0, | |
"CpusetCpus": "", | |
"CpusetMems": "", | |
"Devices": null, | |
"DeviceCgroupRules": null, | |
"DiskQuota": 0, | |
"KernelMemory": 0, | |
"MemoryReservation": 0, | |
"MemorySwap": 0, | |
"MemorySwappiness": null, | |
"OomKillDisable": false, | |
"PidsLimit": 0, | |
"Ulimits": null, | |
"CpuCount": 0, | |
"CpuPercent": 0, | |
"IOMaximumIOps": 0, | |
"IOMaximumBandwidth": 0, | |
"MaskedPaths": [ | |
"/proc/acpi", | |
"/proc/kcore", | |
"/proc/keys", | |
"/proc/latency_stats", | |
"/proc/timer_list", | |
"/proc/timer_stats", | |
"/proc/sched_debug", | |
"/proc/scsi", | |
"/sys/firmware" | |
], | |
"ReadonlyPaths": [ | |
"/proc/asound", | |
"/proc/bus", | |
"/proc/fs", | |
"/proc/irq", | |
"/proc/sys", | |
"/proc/sysrq-trigger" | |
], | |
"Init": false | |
}, | |
"GraphDriver": { | |
"Data": { | |
"LowerDir": "/var/lib/docker/overlay2/023472e5dd547aae3eb5ad372095b27fc0cf92a6908460476169a0b9c3c9c1f6-init/diff:/var/lib/docker/overlay2/869a0ad7b1c7dcd3bfa3f250c60651213b9e158254265c4def89ef6ac87a98db/diff:/var/lib/docker/overlay2/5fb4ee177d7efd3af242a5c377e97b4ac50c39e0948bab41dd0a86584f013d36/diff:/var/lib/docker/overlay2/71d1ab269f9ea2632e3c5377aab7cdb939088435f46cc5b3cf2f9162721ccd00/diff:/var/lib/docker/overlay2/3405555809b585f984927b7d45165b234735fd1bde42157c704de33daa42e8e7/diff:/var/lib/docker/overlay2/4fef33db47f1715d0e407951cc954567805e60d0023b15b3aacecb26ea68d611/diff:/var/lib/docker/overlay2/2a593d4e296a8c886be817e5ca7c8994495cb7ed9cde1dd71be94c62f3ba9f09/diff", | |
"MergedDir": "/var/lib/docker/overlay2/023472e5dd547aae3eb5ad372095b27fc0cf92a6908460476169a0b9c3c9c1f6/merged", | |
"UpperDir": "/var/lib/docker/overlay2/023472e5dd547aae3eb5ad372095b27fc0cf92a6908460476169a0b9c3c9c1f6/diff", | |
"WorkDir": "/var/lib/docker/overlay2/023472e5dd547aae3eb5ad372095b27fc0cf92a6908460476169a0b9c3c9c1f6/work" | |
}, | |
"Name": "overlay2" | |
}, | |
"Mounts": [ | |
{ | |
"Type": "bind", | |
"Source": "/var/run/docker.sock", | |
"Destination": "/var/run/docker.sock", | |
"Mode": "rw", | |
"RW": true, | |
"Propagation": "rprivate" | |
}, | |
{ | |
"Type": "volume", | |
"Name": "fd85cd114f91c4912fef32629d211fbffe3d57b0cdf91f71ae5669642aa59df0", | |
"Source": "/var/lib/docker/volumes/fd85cd114f91c4912fef32629d211fbffe3d57b0cdf91f71ae5669642aa59df0/_data", | |
"Destination": "/kafka", | |
"Driver": "local", | |
"Mode": "", | |
"RW": true, | |
"Propagation": "" | |
} | |
], | |
"Config": { | |
"Hostname": "85a1cdfb49f8", | |
"Domainname": "", | |
"User": "", | |
"AttachStdin": false, | |
"AttachStdout": false, | |
"AttachStderr": false, | |
"ExposedPorts": { | |
"9092/tcp": {}, | |
"9094/tcp": {} | |
}, | |
"Tty": false, | |
"OpenStdin": false, | |
"StdinOnce": false, | |
"Env": [ | |
"KAFKA_ADVERTISED_LISTENERS=INSIDE://:9092,OUTSIDE://172.28.128.15:9094", | |
"KAFKA_INTER_BROKER_LISTENER_NAME=INSIDE", | |
"KAFKA_ADVERTISED_HOSTNAME=172.28.128.15", | |
"KAFKA_ZOOKEEPER_CONNECT=zookeeper:2181", | |
"KAFKA_LISTENER_SECURITY_PROTOCOL_MAP=INSIDE:PLAINTEXT,OUTSIDE:PLAINTEXT", | |
"KAFKA_LISTENERS=INSIDE://:9092,OUTSIDE://:9094", | |
"PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/lib/jvm/java-1.8-openjdk/jre/bin:/usr/lib/jvm/java-1.8-openjdk/bin:/opt/kafka/bin", | |
"LANG=C.UTF-8", | |
"JAVA_HOME=/usr/lib/jvm/java-1.8-openjdk/jre", | |
"JAVA_VERSION=8u171", | |
"JAVA_ALPINE_VERSION=8.171.11-r0", | |
"KAFKA_VERSION=2.0.0", | |
"SCALA_VERSION=2.11", | |
"KAFKA_HOME=/opt/kafka", | |
"GLIBC_VERSION=2.27-r0" | |
], | |
"Cmd": [ | |
"start-kafka.sh" | |
], | |
"ArgsEscaped": true, | |
"Image": "wurstmeister/kafka:2.11-2.0.0", | |
"Volumes": { | |
"/kafka": {}, | |
"/var/run/docker.sock": {} | |
}, | |
"WorkingDir": "", | |
"Entrypoint": null, | |
"OnBuild": null, | |
"Labels": {} | |
}, | |
"NetworkSettings": { | |
"Bridge": "", | |
"SandboxID": "6e48114defddacaf6e0f11b3d6a0cf6dd7eea52e44b3faed8460fbac8ad2f195", | |
"HairpinMode": false, | |
"LinkLocalIPv6Address": "", | |
"LinkLocalIPv6PrefixLen": 0, | |
"Ports": { | |
"9092/tcp": [ | |
{ | |
"HostIp": "0.0.0.0", | |
"HostPort": "9092" | |
} | |
], | |
"9094/tcp": [ | |
{ | |
"HostIp": "0.0.0.0", | |
"HostPort": "9094" | |
} | |
] | |
}, | |
"SandboxKey": "/var/run/docker/netns/6e48114defdd", | |
"SecondaryIPAddresses": null, | |
"SecondaryIPv6Addresses": null, | |
"EndpointID": "af94d8a5b745fd4ecca9e66ba4fc7680a64f9765b150d6dbc0839f31065c94ef", | |
"Gateway": "172.17.0.1", | |
"GlobalIPv6Address": "", | |
"GlobalIPv6PrefixLen": 0, | |
"IPAddress": "172.17.0.3", | |
"IPPrefixLen": 16, | |
"IPv6Gateway": "", | |
"MacAddress": "02:42:ac:11:00:03", | |
"Networks": { | |
"bridge": { | |
"IPAMConfig": null, | |
"Links": null, | |
"Aliases": null, | |
"NetworkID": "24c8f37e224bdc26178902ffee7a0c7614f48a82c8864f700ce30164143fa88e", | |
"EndpointID": "af94d8a5b745fd4ecca9e66ba4fc7680a64f9765b150d6dbc0839f31065c94ef", | |
"Gateway": "172.17.0.1", | |
"IPAddress": "172.17.0.3", | |
"IPPrefixLen": 16, | |
"IPv6Gateway": "", | |
"GlobalIPv6Address": "", | |
"GlobalIPv6PrefixLen": 0, | |
"MacAddress": "02:42:ac:11:00:03", | |
"DriverOpts": null | |
}, | |
"kafka": { | |
"IPAMConfig": null, | |
"Links": null, | |
"Aliases": [ | |
"85a1cdfb49f8" | |
], | |
"NetworkID": "55fc58917ab3f8ca3b5dfe13a477d8b82d531b1fb42358a90ce677aeeb110492", | |
"EndpointID": "290d7c6900da4b5bafdd6f800f1ad23ea454ec2307986738763bd7412241ebb4", | |
"Gateway": "172.18.0.1", | |
"IPAddress": "172.18.0.3", | |
"IPPrefixLen": 16, | |
"IPv6Gateway": "", | |
"GlobalIPv6Address": "", | |
"GlobalIPv6PrefixLen": 0, | |
"MacAddress": "02:42:ac:12:00:03", | |
"DriverOpts": null | |
} | |
} | |
} | |
} | |
] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
{ | |
"Id": "efbe60808904e961c0a4f7b95459aca74ef064950d9ad0a0a2a815cd574a4236", | |
"Created": "2018-09-27T18:35:53.955499193Z", | |
"Path": "/docker-entrypoint.sh", | |
"Args": [ | |
"zkServer.sh", | |
"start-foreground" | |
], | |
"State": { | |
"Status": "running", | |
"Running": true, | |
"Paused": false, | |
"Restarting": false, | |
"OOMKilled": false, | |
"Dead": false, | |
"Pid": 14735, | |
"ExitCode": 0, | |
"Error": "", | |
"StartedAt": "2018-09-27T18:35:54.32790414Z", | |
"FinishedAt": "0001-01-01T00:00:00Z" | |
}, | |
"Image": "sha256:89f7884dcc4e061160ecfe62914386b512e346c5643957f2db21ba2f4dc7733e", | |
"ResolvConfPath": "/var/lib/docker/containers/efbe60808904e961c0a4f7b95459aca74ef064950d9ad0a0a2a815cd574a4236/resolv.conf", | |
"HostnamePath": "/var/lib/docker/containers/efbe60808904e961c0a4f7b95459aca74ef064950d9ad0a0a2a815cd574a4236/hostname", | |
"HostsPath": "/var/lib/docker/containers/efbe60808904e961c0a4f7b95459aca74ef064950d9ad0a0a2a815cd574a4236/hosts", | |
"LogPath": "/var/lib/docker/containers/efbe60808904e961c0a4f7b95459aca74ef064950d9ad0a0a2a815cd574a4236/efbe60808904e961c0a4f7b95459aca74ef064950d9ad0a0a2a815cd574a4236-json.log", | |
"Name": "/zookeeper", | |
"RestartCount": 0, | |
"Driver": "overlay2", | |
"Platform": "linux", | |
"MountLabel": "", | |
"ProcessLabel": "", | |
"AppArmorProfile": "docker-default", | |
"ExecIDs": null, | |
"HostConfig": { | |
"Binds": [], | |
"ContainerIDFile": "", | |
"LogConfig": { | |
"Type": "json-file", | |
"Config": {} | |
}, | |
"NetworkMode": "default", | |
"PortBindings": { | |
"2181/tcp": [ | |
{ | |
"HostIp": "0.0.0.0", | |
"HostPort": "2181" | |
} | |
], | |
"2888/tcp": [ | |
{ | |
"HostIp": "0.0.0.0", | |
"HostPort": "2888" | |
} | |
], | |
"3888/tcp": [ | |
{ | |
"HostIp": "0.0.0.0", | |
"HostPort": "3888" | |
} | |
] | |
}, | |
"RestartPolicy": { | |
"Name": "unless-stopped", | |
"MaximumRetryCount": 0 | |
}, | |
"AutoRemove": false, | |
"VolumeDriver": "", | |
"VolumesFrom": null, | |
"CapAdd": null, | |
"CapDrop": null, | |
"Dns": null, | |
"DnsOptions": null, | |
"DnsSearch": null, | |
"ExtraHosts": null, | |
"GroupAdd": null, | |
"IpcMode": "shareable", | |
"Cgroup": "", | |
"Links": null, | |
"OomScoreAdj": 0, | |
"PidMode": "", | |
"Privileged": false, | |
"PublishAllPorts": false, | |
"ReadonlyRootfs": false, | |
"SecurityOpt": null, | |
"UTSMode": "", | |
"UsernsMode": "", | |
"ShmSize": 67108864, | |
"Runtime": "runc", | |
"ConsoleSize": [ | |
0, | |
0 | |
], | |
"Isolation": "", | |
"CpuShares": 0, | |
"Memory": 0, | |
"NanoCpus": 0, | |
"CgroupParent": "", | |
"BlkioWeight": 0, | |
"BlkioWeightDevice": null, | |
"BlkioDeviceReadBps": null, | |
"BlkioDeviceWriteBps": null, | |
"BlkioDeviceReadIOps": null, | |
"BlkioDeviceWriteIOps": null, | |
"CpuPeriod": 0, | |
"CpuQuota": 0, | |
"CpuRealtimePeriod": 0, | |
"CpuRealtimeRuntime": 0, | |
"CpusetCpus": "", | |
"CpusetMems": "", | |
"Devices": null, | |
"DeviceCgroupRules": null, | |
"DiskQuota": 0, | |
"KernelMemory": 0, | |
"MemoryReservation": 0, | |
"MemorySwap": 0, | |
"MemorySwappiness": null, | |
"OomKillDisable": false, | |
"PidsLimit": 0, | |
"Ulimits": null, | |
"CpuCount": 0, | |
"CpuPercent": 0, | |
"IOMaximumIOps": 0, | |
"IOMaximumBandwidth": 0, | |
"MaskedPaths": [ | |
"/proc/acpi", | |
"/proc/kcore", | |
"/proc/keys", | |
"/proc/latency_stats", | |
"/proc/timer_list", | |
"/proc/timer_stats", | |
"/proc/sched_debug", | |
"/proc/scsi", | |
"/sys/firmware" | |
], | |
"ReadonlyPaths": [ | |
"/proc/asound", | |
"/proc/bus", | |
"/proc/fs", | |
"/proc/irq", | |
"/proc/sys", | |
"/proc/sysrq-trigger" | |
], | |
"Init": false | |
}, | |
"GraphDriver": { | |
"Data": { | |
"LowerDir": "/var/lib/docker/overlay2/005f1b16f949c88c7cb843e5cf7c0bd9857382ba3b2a2ed42114017aae984208-init/diff:/var/lib/docker/overlay2/2b82178be768db92adbc48dfacbdd4e427eec105bd054eb02902c0bd8ab3d46a/diff:/var/lib/docker/overlay2/95dd86c1d2c67a6ad5cc07a42b543f36c16437948a3a9aa90c5cd173b82a0022/diff:/var/lib/docker/overlay2/25c941ffa8eecdcbc6689b28042a6ed708c2605df4b17d24351db567e797973f/diff:/var/lib/docker/overlay2/eb29e41e031b0070cc5edf924b84f1d8e65cc6525497c114ad94eecf38f747cb/diff:/var/lib/docker/overlay2/027961ba6d6e6f2328fdb0b3be9c4834a48849c9b34e03d7835f44a07e0a539c/diff:/var/lib/docker/overlay2/7f56c5d8532e2fad9606c3bd3d8f80672bc88bfb15c2c365542870358d2de2b1/diff:/var/lib/docker/overlay2/3f8423702b74d64a27b9407094e08227cfad6e5fd1868ec6cfaea4f345aff311/diff", | |
"MergedDir": "/var/lib/docker/overlay2/005f1b16f949c88c7cb843e5cf7c0bd9857382ba3b2a2ed42114017aae984208/merged", | |
"UpperDir": "/var/lib/docker/overlay2/005f1b16f949c88c7cb843e5cf7c0bd9857382ba3b2a2ed42114017aae984208/diff", | |
"WorkDir": "/var/lib/docker/overlay2/005f1b16f949c88c7cb843e5cf7c0bd9857382ba3b2a2ed42114017aae984208/work" | |
}, | |
"Name": "overlay2" | |
}, | |
"Mounts": [ | |
{ | |
"Type": "volume", | |
"Name": "5cabbe51c882f461ccf47e4bf467a10a914502a8c99aa206a8b5f1f12a71770c", | |
"Source": "/var/lib/docker/volumes/5cabbe51c882f461ccf47e4bf467a10a914502a8c99aa206a8b5f1f12a71770c/_data", | |
"Destination": "/data", | |
"Driver": "local", | |
"Mode": "", | |
"RW": true, | |
"Propagation": "" | |
}, | |
{ | |
"Type": "volume", | |
"Name": "d1b9b825ee2f16a820e25cd83f80617e3ce035704dccfafc3df55124aa63f6f8", | |
"Source": "/var/lib/docker/volumes/d1b9b825ee2f16a820e25cd83f80617e3ce035704dccfafc3df55124aa63f6f8/_data", | |
"Destination": "/datalog", | |
"Driver": "local", | |
"Mode": "", | |
"RW": true, | |
"Propagation": "" | |
}, | |
{ | |
"Type": "volume", | |
"Name": "92a5db923940c6010afabf3462a1903ff91f0019e90250c8c842a1890d47ae15", | |
"Source": "/var/lib/docker/volumes/92a5db923940c6010afabf3462a1903ff91f0019e90250c8c842a1890d47ae15/_data", | |
"Destination": "/logs", | |
"Driver": "local", | |
"Mode": "", | |
"RW": true, | |
"Propagation": "" | |
} | |
], | |
"Config": { | |
"Hostname": "efbe60808904", | |
"Domainname": "", | |
"User": "", | |
"AttachStdin": false, | |
"AttachStdout": false, | |
"AttachStderr": false, | |
"ExposedPorts": { | |
"2181/tcp": {}, | |
"2888/tcp": {}, | |
"3888/tcp": {} | |
}, | |
"Tty": false, | |
"OpenStdin": false, | |
"StdinOnce": false, | |
"Env": [ | |
"ZOO_MY_ID=1", | |
"ZOO_SERVERS=server.2=172.28.128.16:2888:3888 server.3=172.28.128.17:2888:3888 server.1=0.0.0.0:2888:3888", | |
"PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/lib/jvm/java-1.8-openjdk/jre/bin:/usr/lib/jvm/java-1.8-openjdk/bin:/zookeeper-3.4.13/bin", | |
"LANG=C.UTF-8", | |
"JAVA_HOME=/usr/lib/jvm/java-1.8-openjdk/jre", | |
"JAVA_VERSION=8u171", | |
"JAVA_ALPINE_VERSION=8.171.11-r0", | |
"ZOO_USER=zookeeper", | |
"ZOO_CONF_DIR=/conf", | |
"ZOO_DATA_DIR=/data", | |
"ZOO_DATA_LOG_DIR=/datalog", | |
"ZOO_LOG_DIR=/logs", | |
"ZOO_PORT=2181", | |
"ZOO_TICK_TIME=2000", | |
"ZOO_INIT_LIMIT=5", | |
"ZOO_SYNC_LIMIT=2", | |
"ZOO_AUTOPURGE_PURGEINTERVAL=0", | |
"ZOO_AUTOPURGE_SNAPRETAINCOUNT=3", | |
"ZOO_MAX_CLIENT_CNXNS=60", | |
"ZOOCFGDIR=/conf" | |
], | |
"Cmd": [ | |
"zkServer.sh", | |
"start-foreground" | |
], | |
"ArgsEscaped": true, | |
"Image": "zookeeper", | |
"Volumes": { | |
"/data": {}, | |
"/datalog": {}, | |
"/logs": {} | |
}, | |
"WorkingDir": "/zookeeper-3.4.13", | |
"Entrypoint": [ | |
"/docker-entrypoint.sh" | |
], | |
"OnBuild": null, | |
"Labels": {} | |
}, | |
"NetworkSettings": { | |
"Bridge": "", | |
"SandboxID": "6640af35f1dd30269a816e7e33cfef4525c6d992a5c4ca98390034caf3a84436", | |
"HairpinMode": false, | |
"LinkLocalIPv6Address": "", | |
"LinkLocalIPv6PrefixLen": 0, | |
"Ports": { | |
"2181/tcp": [ | |
{ | |
"HostIp": "0.0.0.0", | |
"HostPort": "2181" | |
} | |
], | |
"2888/tcp": [ | |
{ | |
"HostIp": "0.0.0.0", | |
"HostPort": "2888" | |
} | |
], | |
"3888/tcp": [ | |
{ | |
"HostIp": "0.0.0.0", | |
"HostPort": "3888" | |
} | |
] | |
}, | |
"SandboxKey": "/var/run/docker/netns/6640af35f1dd", | |
"SecondaryIPAddresses": null, | |
"SecondaryIPv6Addresses": null, | |
"EndpointID": "cd5804decc97ed39c867d75bb56671b109f42b1fb7caaeb1eaf89aa999abfbd5", | |
"Gateway": "172.17.0.1", | |
"GlobalIPv6Address": "", | |
"GlobalIPv6PrefixLen": 0, | |
"IPAddress": "172.17.0.2", | |
"IPPrefixLen": 16, | |
"IPv6Gateway": "", | |
"MacAddress": "02:42:ac:11:00:02", | |
"Networks": { | |
"bridge": { | |
"IPAMConfig": null, | |
"Links": null, | |
"Aliases": null, | |
"NetworkID": "24c8f37e224bdc26178902ffee7a0c7614f48a82c8864f700ce30164143fa88e", | |
"EndpointID": "cd5804decc97ed39c867d75bb56671b109f42b1fb7caaeb1eaf89aa999abfbd5", | |
"Gateway": "172.17.0.1", | |
"IPAddress": "172.17.0.2", | |
"IPPrefixLen": 16, | |
"IPv6Gateway": "", | |
"GlobalIPv6Address": "", | |
"GlobalIPv6PrefixLen": 0, | |
"MacAddress": "02:42:ac:11:00:02", | |
"DriverOpts": null | |
}, | |
"kafka": { | |
"IPAMConfig": null, | |
"Links": null, | |
"Aliases": [ | |
"efbe60808904" | |
], | |
"NetworkID": "55fc58917ab3f8ca3b5dfe13a477d8b82d531b1fb42358a90ce677aeeb110492", | |
"EndpointID": "49a8db78fa1a19dc1507443cd608c6d4694243d164e56c2203ad2e24693ed38a", | |
"Gateway": "172.18.0.1", | |
"IPAddress": "172.18.0.2", | |
"IPPrefixLen": 16, | |
"IPv6Gateway": "", | |
"GlobalIPv6Address": "", | |
"GlobalIPv6PrefixLen": 0, | |
"MacAddress": "02:42:ac:12:00:02", | |
"DriverOpts": null | |
} | |
} | |
} | |
} | |
] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment