docker-daemon.json配置详解
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了docker-daemon.json配置详解相关的知识,希望对你有一定的参考价值。
参考技术A多个配置一定要加逗号,否则启动不成功,先给个例子:我修改了docker0的网络和使用私有镜像库
参数参考
转自:
https://blog.csdn.net/xujiamin0022016/article/details/122740435
Redis 配置参数详解
参考技术A client-output-buffer-limit normalclient-output-buffer-limit slave
client-output-buffer-limit pubsub
bind
port
daemonize
-是否以后台守护的方式运行。
loglevel
logfile
timeout
maxclients
maxmemory
maxmemory-policy
slowlog-log-slower-than
slowlog-max-len
tcp-backlog
tcp-keepalive
requirepass
masterauth
rename-command CONFIG ""
dir
dbfilename
save
stop-writes-on-bgsave-error
rdbcompression
rdbchecksum
appendonly
appendfilename
appendfsync
aof-use-rdb-preamble
auto-aof-rewrite-percentage
auto-aof-rewrite-min-size
aof-load-truncated
no-appendfsync-on-rewrite
slave-serve-stale-data
slave-read-only
repl-diskless-sync
repl-diskless-sync-delay
repl-disable-tcp-nodelay
repl-backlog-size
repl-backlog-ttl
slave-prority
min-slaves-to-write N
min-slaves-max-lag M
cluster-enabled
cluster-config-file
cluster-node-timeout
cluster-replica-validity-factor 5
cluster-migration-barrier 1
cluster-require-full-coverage
cluster-replica-no-failover no
以上是关于docker-daemon.json配置详解的主要内容,如果未能解决你的问题,请参考以下文章