docker日志驱动和存储驱动

docker支持的日志驱动

none            无日志
json-file       将日志写入json-file,默认值
syslog         将日志写入syslog,syslog必须在机器上启动
journald      将日志写入journald,journald必须在机器上启动
gelf             将日志写入GELF端点,如Graylog或Logstash
fluentd        将日志吸入fluentd,fluentd必须在机器上启动
awslogs      将日志写入亚马逊Cloudwatch
splunk         使用HTTP事件收集器将日志写入splunk
etwlogs       将日志消息作为windows时间跟踪。仅在windows平台可用
gcplogs       将日志写入Google云平台
nats             将日志发布到NATS服务器

docker支持的存储驱动

猜你喜欢

转载自www.cnblogs.com/lfl17718347843/p/13178134.html
今日推荐