[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.

fix: Increase client json payload size limit

64k is too small. Increase to 2MB for safe ceiling

FoxxMD (Oct 10, 2025, 4:16 PM UTC) ab5ce74f 31abaf72

+12 -1
+12 -1
src/proxy.rs
··· 46 46 if new_url.path().contains("containers/json") { 47 47 let _list_span = span!(Level::DEBUG, "Container List").entered(); 48 48 49 - let containers = &res.json::<Vec<ContainerSummary>>().await.unwrap(); 49 + let container_res = &res.json::<Vec<ContainerSummary>>() 50 + // 2mb in bytes 51 + .limit(2097152).await; 52 + 53 + let containers = match container_res { 54 + Ok(list_res) => { 55 + list_res 56 + } 57 + Err(e) => { 58 + panic!("{e}"); 59 + } 60 + }; 50 61 51 62 // filter all containers to only those that have values from CONTAINER_NAMES includes in their names 52 63 let filtered_containers = containers.into_iter()