Skip to content

Commit

Permalink
Better terminate (#1481)
Browse files Browse the repository at this point in the history
  • Loading branch information
yorickdowne authored Aug 15, 2023
1 parent 5a777cd commit e33cfae
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 e33cfae

Please sign in to comment.