diff --git a/testsuite/dockerdata/test-container-entrypoint b/testsuite/dockerdata/test-container-entrypoint
index 49771c15..8c3b3552 100755
--- a/testsuite/dockerdata/test-container-entrypoint
+++ b/testsuite/dockerdata/test-container-entrypoint
@@ -78,7 +78,7 @@ mkdir /isar
 
 busybox syslogd
 squid
-export http_proxy=http://localhost:3128
+export http_proxy=http://127.0.0.1:3128
 
 # Reuse the existing entrypoint script, exploiting that entry without
 # parameters drops us into a shell, rather then calling kas.
