Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions services
Original file line number Diff line number Diff line change
Expand Up @@ -127,9 +127,9 @@ stoppingContainers () {
CONTAINERS=$(docker ps --filter "label=org.fiware=tutorial" -aq)
if [[ -n "$CONTAINERS" ]]; then
echo "Stopping containers"
docker rm -f $CONTAINERS || true
docker rm -f -v $CONTAINERS || true
fi
VOLUMES=$(docker volume ls -qf dangling=true)
VOLUMES=$(docker volume ls -q --filter dangling=true --filter "label=com.docker.compose.project=fiware")
if [[ -n "$VOLUMES" ]]; then
echo "Removing old volumes"
docker volume rm $VOLUMES || true
Expand Down
Loading