Skip to content

Commit

Permalink
mark all containers started by TestContainers with "org.testcontainer…
Browse files Browse the repository at this point in the history
…s: true" label
  • Loading branch information
bsideup authored and rnorth committed Mar 1, 2017
1 parent 8c14b99 commit 935a2db
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -418,6 +418,8 @@ private void applyConfiguration(CreateContainerCmd createCommand) {
if (privilegedMode) {
createCommand.withPrivileged(privilegedMode);
}

createCommand.withLabels(Collections.singletonMap("org.testcontainers", "true"));
}

/**
Expand Down

0 comments on commit 935a2db

Please sign in to comment.