Sign inSign up

marlic/rpi-logrotate

By marlic

Updated over 9 years ago

Dockerized Logrotate for Raspberry Pi (rpi)

Image
0

2.3K

marlic/rpi-logrotate repository overview

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

Tag summary

Content type

Image

Digest

Size

4.9 MB

Last updated

over 9 years ago

docker pull marlic/rpi-logrotate