From 735d0a41b10f7d271c5b4eab91e662d0a259e7b4 Mon Sep 17 00:00:00 2001 From: Mathieu Virbel Date: Wed, 30 Jul 2025 15:58:36 -0600 Subject: [PATCH] fix: changes the image name to match docker --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 9c991b3..fc5f66a 100644 --- a/README.md +++ b/README.md @@ -18,7 +18,7 @@ The filter operates at the network level, meaning any container that shares its ```bash docker run --cap-add NET_ADMIN \ -e ALLOWED_DOMAINS="github.com,api.github.com" \ - network-filter + monadicalsas/network-filter ``` ### Docker Compose @@ -30,7 +30,7 @@ This ensures the container can only access domains specified in `ALLOWED_DOMAINS ```yaml services: network-filter: - build: . + image: monadicalsas/network-filter:latest cap_add: - NET_ADMIN environment: @@ -89,7 +89,7 @@ Enable self-test on startup to verify the configuration: docker run --cap-add NET_ADMIN \ -e ALLOWED_DOMAINS="github.com" \ -e RUN_SELFTEST=true \ - network-filter + monadicalsas/network-filter ``` Or run the self-test manually: @@ -103,7 +103,7 @@ Test that allowed domains work while others are blocked: ```bash # Start the network filter container -docker run -d --name net-filter --cap-add NET_ADMIN -e ALLOWED_DOMAINS="github.com" network-filter +docker run -d --name net-filter --cap-add NET_ADMIN -e ALLOWED_DOMAINS="github.com" monadicalsas/network-filter # This will work - github.com is in the allowed list docker run --rm --network "container:net-filter" alpine ping -c 3 github.com