From: W. Trevor King Date: Fri, 27 Dec 2013 16:56:55 +0000 (-0800) Subject: redis/Dockerfile.template: Bind to all interfaces X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=5763df0d2406f59f1d455e8294d3d07b500e2021;p=dockerfile.git redis/Dockerfile.template: Bind to all interfaces It's not much good to have a Redis container that's only listening to localhost ;). --- 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/*