Dockerized Logrotate for Raspberry Pi (rpi)
2.3K
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/
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
Content type
Image
Digest
Size
4.9 MB
Last updated
over 9 years ago
docker pull marlic/rpi-logrotate