You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
DOCKER_CONTAINER_FILTERS - comma separated list of container filters for inclusion by docker-gen.
90
+
Filters supplied through this variable override filters supplied through the -container-filter options.
89
91
`)
90
92
println(`For more information, see https://github.com/nginx-proxy/docker-gen`)
91
93
}
@@ -121,6 +123,13 @@ func initFlags() {
121
123
"include stopped containers. Bypassed when providing a container status filter (-container-filter status=foo).")
122
124
flag.Var(&containerFilter, "container-filter",
123
125
"container filter for inclusion by docker-gen. You can pass this option multiple times to combine filters with AND. https://docs.docker.com/engine/reference/commandline/ps/#filter")
126
+
// override containerFilter with DOCKER_CONTAINER_FILTERS environment variable
0 commit comments