Skip to content

aisuhua/docker-logrotate

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Fork from https://github.com/linkyard/docker-logrotate

Usages

docker build -t aisuhua/logrotate:latest .
sudo chown root:root logrotate.conf
sudo chmod 644 logrotate.conf
docker run --rm --name logrotate -e LOGROTATE_CRON=hourly -v "./logrotate.conf":/etc/logrotate.conf aisuhua/logrotate:latest

About

Logrotate in an Alpine Linux docker container

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 72.8%
  • Dockerfile 27.2%