Skip to content

Conversation

buchdag
Copy link
Member

@buchdag buchdag commented Oct 1, 2025

Follow up to #623

ping @p12tic @eorea

Copy link

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR adds support for configuring container filters through the DOCKER_CONTAINER_FILTERS environment variable, which overrides any filters specified via the -container-filter command line options.

  • Introduces DOCKER_CONTAINER_FILTERS environment variable for container filter configuration
  • Updates help text and documentation to describe the new environment variable
  • Implements logic to parse comma-separated filters and override command line options

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.

File Description
cmd/docker-gen/main.go Adds environment variable parsing logic and updates help documentation
README.md Documents the new DOCKER_CONTAINER_FILTERS environment variable

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@buchdag buchdag force-pushed the feat/container-filter-env-var branch 2 times, most recently from e05feb8 to 782c9f3 Compare October 7, 2025 17:35
@buchdag buchdag requested a review from Copilot October 13, 2025 19:36
Copilot

This comment was marked as resolved.

@buchdag buchdag force-pushed the feat/container-filter-env-var branch from 782c9f3 to e11639b Compare October 13, 2025 19:39
@buchdag buchdag force-pushed the feat/container-filter-env-var branch from e11639b to 20e3958 Compare October 13, 2025 19:41
@buchdag buchdag merged commit 901d6c4 into main Oct 13, 2025
16 of 17 checks passed
@buchdag buchdag deleted the feat/container-filter-env-var branch October 13, 2025 20:45
@buchdag
Copy link
Member Author

buchdag commented Oct 13, 2025

Tested multiple times on my end, behave as expected, I think this can be merged.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant