Jq修改docker-daemon.json开启关闭live-restore
来自三线的随记
use jq tool to enable or disable docker live-restore feature
enable
jq '. + {"live-restore": true}' /etc/docker/daemon.json systemctl reload docker docker info | grep -i live
disable
jq '. + {"live-restore": false}' /etc/docker/daemon.json kill -SIGHUP $(pidof dockerd) docker info | grep Live