https://github.com/jmb12686/docker-kibana
Multi-architecture (arm, x86) Docker image for Kibana
https://github.com/jmb12686/docker-kibana
arm buildx docker docker-kibana elasticstack elk-stack kibana multi-arch-images raspberry-pi
Last synced: 29 days ago
JSON representation
Multi-architecture (arm, x86) Docker image for Kibana
- Host: GitHub
- URL: https://github.com/jmb12686/docker-kibana
- Owner: jmb12686
- Created: 2020-01-17T18:39:27.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2020-06-03T17:47:58.000Z (over 5 years ago)
- Last Synced: 2025-04-02T19:40:47.781Z (6 months ago)
- Topics: arm, buildx, docker, docker-kibana, elasticstack, elk-stack, kibana, multi-arch-images, raspberry-pi
- Language: Dockerfile
- Size: 62.5 KB
- Stars: 5
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# docker-kibana
Containerized, multiarch version of [Kibana](https://github.com/elastic/kibana). Designed to be usable within x86-64, armv6, and armv7 based Docker Swarm clusters. Compatible with all Raspberry Pi models (armv6 + armv7).
## Usage
Run on a single Docker engine node:
```bash
sudo docker run --rm -p 5601:5601 \
-v ${PWD}/config/example/kibana.yml:/opt/kibana/config/kibana.yml \
jmb12686/kibana
```Run with with Compose on Docker Swarm:
```yml
version: "3.7"
services:
kibana:
image: jmb12686/kibana
ports:
- 5601:5601
configs:
- source: kibana_config
target: /opt/kibana/config/kibana.yml
networks:
- elk
deploy:
mode: replicated
replicas: 1
resources:
limits:
memory: 1024M
reservations:
memory: 1024M
configs:
kibana_config:
name: kibana_config-${CONFIG_VERSION:-0}
file: ./kibana/config/kibana.yml
networks:
elk:
driver: overlay
```## TODO Errors
When navigating to the 'Discovery' tab, receive following error in UI:
`No indices match pattern "apm-*"`
This may be resolved simply by adding configuration in filebeat to setup index template on startup
## TODO Fixes
1. Tweak the `apt install` blocks. I had to break them apart while debugging hanging build.
2. Break the dockerfile into multistage build, push builder stage as described here:
## How to Build
Build using `buildx` for multiarchitecture image and manifest support
Setup buildx
```bash
docker buildx create --name multiarchbuilder
docker buildx use multiarchbuilder
docker buildx inspect --bootstrap
[+] Building 0.0s (1/1) FINISHED
=> [internal] booting buildkit 5.7s
=> => pulling image moby/buildkit:buildx-stable-1 4.6s
=> => creating container buildx_buildkit_multiarchbuilder0 1.1s
Name: multiarchbuilder
Driver: docker-containerNodes:
Name: multiarchbuilder0
Endpoint: npipe:////./pipe/docker_engine
Status: running
Platforms: linux/amd64, linux/arm64, linux/ppc64le, linux/s390x, linux/386, linux/arm/v7, linux/arm/v6
```Build
```bash
docker buildx build --platform linux/arm,linux/amd64 -t jmb12686/kibana:latest --push .
```