mirror of
https://github.com/containers/podman.git
synced 2025-05-20 00:27:03 +08:00
Podman info output plugin information
For docker compat include information about available volume, log and network drivers which should be listed under the plugins key. Fixes #11265 Signed-off-by: Paul Holzinger <pholzing@redhat.com>
This commit is contained in:
@ -14,6 +14,13 @@ import (
|
||||
"github.com/sirupsen/logrus"
|
||||
)
|
||||
|
||||
// logDrivers stores the currently available log drivers, do not modify
|
||||
var logDrivers []string
|
||||
|
||||
func init() {
|
||||
logDrivers = append(logDrivers, define.KubernetesLogging, define.NoLogging)
|
||||
}
|
||||
|
||||
// Log is a runtime function that can read one or more container logs.
|
||||
func (r *Runtime) Log(ctx context.Context, containers []*Container, options *logs.LogOptions, logChannel chan *logs.LogLine) error {
|
||||
for _, ctr := range containers {
|
||||
|
Reference in New Issue
Block a user