We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
In the instructions you use the following to kill remaining Docker processes
ps aux | grep docker | awk '{print $2}' | sudo xargs kill -9 2>/dev/null
Of course it does the job, but imho you should use awk to its potential as in
ps aux | awk '/docker/ {print "kill -9", $2}' | sudo -i 2>/dev/null
Fewer processes, no xargs as root.
root
The text was updated successfully, but these errors were encountered:
No branches or pull requests
In the instructions you use the following to kill remaining Docker processes
ps aux | grep docker | awk '{print $2}' | sudo xargs kill -9 2>/dev/null
Of course it does the job, but imho you should use awk to its potential as in
ps aux | awk '/docker/ {print "kill -9", $2}' | sudo -i 2>/dev/null
Fewer processes, no xargs as
root
.The text was updated successfully, but these errors were encountered: