Commit b3844179 authored by Cooper, Caleb's avatar Cooper, Caleb

Update rse-bash-modules.sh

parent ba1b6266
......@@ -16,7 +16,7 @@ func_rse_docker_cleanup() {
sudo usermod -a -G docker "${USER}"
fi
sudo docker stop $(docker ps -aq) 2>/dev/null || true
sudo docker rm $(docker ps -a -q) 2>/dev/null|| true
sudo docker rm $(docker ps -a -q) 2>/dev/null || true
sudo docker rmi $(docker images -q) 2>/dev/null || true
sudo docker image prune -fa || sudo systemctl restart docker
sudo docker system prune -fa || sudo systemctl restart docker
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment