Docker failing to start rails
问题 I'm trying to start my rails application using rails. It depends on redis, which seems to be working but when rails server starts it fails with Cannot assign requested address - connect(2) for [::1]:6379 (Errno::EADDRNOTAVAIL) . Dockerfile FROM ruby:2.6.1 RUN apt-get update -yqq && \ apt-get install -yqq --no-install-recommends \ nodejs \ nano COPY Gemfile* /usr/src/app/ WORKDIR /usr/src/app RUN bundle install RUN gem install foreman RUN gem install rake -v 12.3.2 COPY . /usr/src/app/ CMD [