Public Repository

Last pushed: 4 months ago
Short Description
Dockerized Logrotate for Raspberry Pi (rpi)
Full Description

Dockerized Logrotate for Raspberry Pi (rpi)

If you run this container you will have daily auto rotate all stdout logs from running containers.
All new containers will be automaticly include in log rotation.

This image is Raspberry Pi build of great image: blacklabelops/logrotate

Full docs and examples: https://hub.docker.com/r/blacklabelops/logrotate/

Run example with docker-compose

vim docker-compose.yml
logrotate:
  image: "marlic/rpi-logrotate:3.9.1-1"
  volumes:
    - /var/lib/docker/containers:/var/lib/docker/containers
  restart: always
  environment:
    - LOGS_DIRECTORIES=/var/lib/docker/containers
    - LOGROTATE_COPIES=365
    - LOGROTATE_COMPRESSION=compress
docker-compose up -d

References

Docker Pull Command
Owner
marlic

Comments (0)