1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00

Merge pull request #4758 from crosbymichael/redis-bind

Be explicit about binding to all interfaces in redis example
This commit is contained in:
Sven Dowideit 2014-03-19 13:04:02 +10:00
commit 9bbc11b2ae

View file

@ -18,11 +18,11 @@ Firstly, we create a ``Dockerfile`` for our new Redis image.
.. code-block:: bash
FROM ubuntu:12.10
RUN apt-get update
RUN apt-get -y install redis-server
FROM debian:jessie
RUN apt-get update && apt-get install -y redis-server
EXPOSE 6379
ENTRYPOINT ["/usr/bin/redis-server"]
CMD ["--bind", "0.0.0.0"]
Next we build an image from our ``Dockerfile``. Replace ``<your username>``
with your own user name.