title: Docker can't connect containers
body: <p>So I want to run a redis container and a jupyter container that makes requests to the redis server and plots that data. I run</p>
  
  <pre><code>sudo docker run --name=redis -p 6379:6379 -d redis
  sudo docker run -d --name=jupyter -p 8888:8888 hantaowang/visualizer start-notebook.sh --NotebookApp.token=''
  </code></pre>
  
  <p>But the notebook will not run. It says <code>ConnectionError: Error 111 connecting to 127.0.0.1:6379. Connection refused.</code> Can anyone help? Thanks in advance.</p>
  
  <p>EDIT: I use my own dockerfile instead. </p>
  
  <pre><code>FROM jupyter/scipy-notebook
  ADD visualizer.ipynb visualizer.ipynb
  RUN pip3 install redis
  </code></pre>