Docker container not starting when connect to postgresql external

I have docker container with redmine in it and I have postgresql-95 running on my host machine, and I want to connect my redmine container to my postgresql. I followed this step :, to connect my container with external postgresql.

assuming my host machine with ip, so I ran this command :

  • boot2docker bash command line is very slow
  • Docker container EXIT IP on system with multiple ip aliases and gateways, iptables iproute2
  • Docker fails to start due to “volume store metadata database: timeout”
  • Import pandas on docker with tensorflow
  • pcregrep with multiple capturing groups
  • How do i get Google Container Registry to accept my json credentials?
  • docker run --name redmine -it -d \
    --publish=10083:80 \
    --env='REDMINE_PORT=10083' \
    --env='DB_ADAPTER=postgresql' \
    --env='DB_HOST=' \
    --env='DB_NAME=redmine_production' \
    --env='DB_USER=redmine' --env='DB_PASS=password' \

    The container running for 1 minute but suddenly it stopped even before it runs nginx and redmine in it. I Need help about this configuration. Thank you.

  • Docker push: Image depends on an unauthorized parent
  • Met “/bin/bash: no such file” when building docker image from scratch
  • Docker network (namespaces): how to tag network packages?
  • Create and mount data-only containers with docker-compose
  • Docker LAMP Stack
  • Pycharm and remote interpreter (Docker) shows errors but runs fine
  • Docker will be the best open platform for developers and sysadmins to build, ship, and run distributed applications.