[READ-ONLY] Mirror of https://github.com/FoxxMD/docker-proxy-filter. Filter the contents of Docker API responses
docker docker-socket-proxy filter
0

Configure Feed

Select the types of activity you want to include in your feed.

feat: Add warning on empty filters

FoxxMD (Oct 9, 2025, 7:14 PM UTC) 0a9c86eb 756f790b

+4 -1
+4
src/main.rs
··· 35 35 } 36 36 }; 37 37 38 + if config.container_labels.is_empty() && config.container_names.is_empty() { 39 + warn!("You have not defined any filters! All containers will be exposed. If you are using docker-proxy-filter only for SCRUB_ENVS then this is expected behavior, otherwise check your environmental variables."); 40 + } 41 + 38 42 let cm = AppStateWithContainerMap { 39 43 container_map: Arc::new(Mutex::new(HashMap::<String, Option<bool>>::new())) 40 44 };
-1
src/utils.rs
··· 1 1 use crate::config::ContainerLabels; 2 - use core::num; 3 2 use std::collections::HashMap; 4 3 use tracing::*; 5 4