@Override
    public void accept(OutputFrame frame) {
        frames.add(frame);
    }
A consumer for container output that buffers lines in a {@link java.util.concurrent.BlockingDeque} and enables tests
to wait for a matching condition.
core/src/main/java/org/testcontainers/containers/output/WaitingConsumer.java