Created
April 22, 2018 20:06
-
-
Save mwin007/149fc417a5f6cfbadb4d475107f981d6 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
docker stop $(docker ps -a -q); docker rm $(docker ps -a -q); docker volume rm $(docker volume ls -qf dangling=true) | |
docker network rm $(docker network ls -q) | |
sudo lsof -nP | grep LISTEN | |
sudo kill -9 1548 | |
# Where on the last line, 1548 was a service that was using port 80 as returned by the penultimate line. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment