Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

use jq tool to enable/disable docker live-restore feature #18

Open
san3Xian opened this issue Mar 26, 2020 · 0 comments
Open

use jq tool to enable/disable docker live-restore feature #18

san3Xian opened this issue Mar 26, 2020 · 0 comments

Comments

@san3Xian
Copy link
Owner

san3Xian commented Mar 26, 2020

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

More examples

https://gist.github.com/joar/776b7d176196592ed5d8

@san3Xian san3Xian changed the title use jq tool to enable/disable docker live-restore use jq tool to enable/disable docker live-restore feature Mar 26, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant