Skip to content

Commit

Permalink
Better terminate
Browse files Browse the repository at this point in the history
  • Loading branch information
yorickdowne committed Aug 15, 2023
1 parent 5a777cd commit 8d1e944
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ethd
Original file line number Diff line number Diff line change
Expand Up @@ -1741,7 +1741,7 @@ terminate() {
stop
# In this case I want the word splitting, so rm can remove all volumes
# shellcheck disable=SC2046
dodocker volume rm $(dodocker volume ls -q -f "name=^$(basename "$(realpath .)")_.+")
dodocker volume rm $(dodocker volume ls -q -f "name=^$(basename "$(realpath .)")_[^_]+")
echo ""
echo "All containers stopped and all volumes deleted"
echo ""
Expand Down

0 comments on commit 8d1e944

Please sign in to comment.