Information about the package, docker-io-logrotate, which is shipped with common Linux distributions. The docker-io-logrotate package is designed for, cron job to run logrotate on docker containers.
Package Name:
docker-io-logrotate
Summary:
cron job to run logrotate on docker containers
Description:
This package installs cron job to run logrotate on docker containers. logrotate is assumed to be installed on containers for this to work, failures are silently ignored.
Architecture:
x86_64
Version:
1.7.1
Release:
2.el6
Size:
20 k
Repository:
epel
From Repository:
Licence:
ASL 2.0
Control the docker-io-logrotate package with the following handy commands outlined below.
yum install docker-io-logrotate
This command will install docker-io-logrotate on the server.
yum remove docker-io-logrotate
This command will un-install docker-io-logrotate on the server. When you run this command, you will be asked if you are sure that you want to remove docker-io-logrotate, so you have to manually confirm that you want to do this.
yum -y remove docker-io-logrotate
This command will un-install docker-io-logrotate on the server. When you run this command with th e -y flag, you will not be prompted to check that you are sure you want to remove the package - so be sure you absolutely want to remove docker-io-logrotate when using the -y flag.
yum update docker-io-logrotate
This command will update docker-io-logrotate to the latest version. When you run this command, you will be asked if you are sure that you want to remove docker-io-logrotate, so you have to manually confirm that you want to do this.
yum -y update docker-io-logrotate
This command will update docker-io-logrotate to the latest version. When you run this command with the -y flag, you will not be prompted to check that you are sure you want to remove the package - so be sure you absolutely want to remove docker-io-logrotate when using the -y flag.
yum info docker-io-logrotate
This command will show you core information about the docker-io-logrotate package.
yum deplist docker-io-logrotate
This command will show you the dependencies for docker-io-logrotate. Thankfully, when using Yum, if dependencies are required, these are also installed at the same time so you don't have to worry too much about that.
yum check-update docker-io-logrotate
This command will check if there is an update waiting on docker-io-logrotate. When you run this command this will return nothing if there is nothing to update, or, will return the package name if the package is due to be updated.