From 5763df0d2406f59f1d455e8294d3d07b500e2021 Mon Sep 17 00:00:00 2001 From: "W. Trevor King" Date: Fri, 27 Dec 2013 08:56:55 -0800 Subject: [PATCH] redis/Dockerfile.template: Bind to all interfaces It's not much good to have a Redis container that's only listening to localhost ;). --- redis/Dockerfile.template | 3 +++ 1 file changed, 3 insertions(+) diff --git a/redis/Dockerfile.template b/redis/Dockerfile.template index 0148eff..081956f 100644 --- a/redis/Dockerfile.template +++ b/redis/Dockerfile.template @@ -29,6 +29,9 @@ RUN emerge -v dev-db/redis RUN eselect news read new RUN rc-update add redis default +# Bind to all interfaces +RUN sed -i 's/bind /#bind /' /etc/redis.conf + # Container networking happens automatically RUN sed -i 's/need net$/use net/' /etc/init.d/* -- 2.26.2