Skip to content

Commit 84e573b

Browse files
committed
Refs #21670: Edit Docker network prune
Signed-off-by: cferreiragonz <carlosferreira@eprosima.com>
1 parent 4d5563c commit 84e573b

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

ddsrouter_test/compose/docker-compose.sh

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -120,8 +120,7 @@ main ()
120120
echo "${TEST_NAME} exited with code ${EXIT_CODE}"
121121

122122
# Clean containers and networks before exiting and do not prompt for confirmation
123-
docker container prune --force
124-
docker network prune --force
123+
docker compose -f ${COMPOSE_FILE} down --remove-orphans --timeout 20
125124

126125
exit ${EXIT_CODE}
127126
}

0 commit comments

Comments
 (0)