Filebeat with alpine version, more tiny, more lighter
5.9K
filebeat with alpine, more tiny, more lighter, only 16M disk cost.
Dockerfile linksgit clone https://github.com/easonlau02/filebeat-alpine.git
PATH/application/logs/*.log
volumes:
- PATH:/home/user/
Will auto-scan your log folder by this path: PATH/*/logs/*.log
docker-compose up -d
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
8b7a1d8a35c0 eason02/filebeat-alpine:5.3.1 "filebeat -e filebeat" 18 seconds ago Up 17 seconds filebeat-alpine-5.3.1
结合微服务和容器化的思想,将无关的、无用的资源去掉,封装成一个单一,纯净的image镜像,使用当前最轻量级的OS-alpine来封装filebeat,更轻量级,大小只有16M左右,方便快速启动
git clone https://github.com/easonlau02/filebeat-alpine.git
PATH/application/logs/*.log
volumes:
- PATH:/home/user/
filebeat会通过如下的路径自动扫描日志: PATH/*/logs/*.log
docker-compose up -d
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
8b7a1d8a35c0 eason02/filebeat-alpine:5.3.1 "filebeat -e filebeat" 18 seconds ago Up 17 seconds filebeat-alpine-5.3.1
Content type
Image
Digest
Size
26.5 MB
Last updated
over 7 years ago
docker pull eason02/filebeat-alpine