public class LogConfig extends DockerObject implements Serializable
json-file (default) syslog journald none
If a driver is specified that is NOT supported,docker will default to null. If configs are supplied that are not supported by the type docker will ignore them. In most cases setting the config option to null will suffice. Consult the docker remote API for a more detailed and up-to-date explanation of the available types and their options.
Modifier and Type | Class and Description |
---|---|
static class |
LogConfig.LoggingType |
Modifier and Type | Field and Description |
---|---|
Map<String,String> |
config |
LogConfig.LoggingType |
type |
Constructor and Description |
---|
LogConfig() |
LogConfig(LogConfig.LoggingType type) |
LogConfig(LogConfig.LoggingType type,
Map<String,String> config) |
Modifier and Type | Method and Description |
---|---|
Map<String,String> |
getConfig() |
LogConfig.LoggingType |
getType() |
LogConfig |
setConfig(Map<String,String> config) |
LogConfig |
setType(LogConfig.LoggingType type) |
getRawValues
public LogConfig.LoggingType type
public LogConfig(LogConfig.LoggingType type, Map<String,String> config)
public LogConfig(LogConfig.LoggingType type)
public LogConfig()
public LogConfig.LoggingType getType()
public LogConfig setType(LogConfig.LoggingType type)
Copyright © 2021. All rights reserved.