Skip to content

Instantly share code, notes, and snippets.

@joelnitta
Created December 23, 2020 05:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save joelnitta/094aee59d4c7e2e505f09e95de5d6f94 to your computer and use it in GitHub Desktop.
Save joelnitta/094aee59d4c7e2e505f09e95de5d6f94 to your computer and use it in GitHub Desktop.
Stop rootless docker daemon
#!/usr/bin/bash
# Kill the job using the saved ID
kill -9 `cat dockerd.pid`
rm dockerd.pid
rm dockerd.log
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment