docker container never comes up

have a docker compose file with 2 containers to bring up. my current docker compose file looks like:

version: ‘3’

  • Access PostgreSQL running in Docker container in Vagrant
  • Determine if docker image built locally or pulled from repo?
  • Setting docker with nginx and php5
  • Docker compose - access data from container A in container B
  • Jenkins and docker: uri was not specified
  • lstate error: no such file or directory while building Docker from a custom image with Docker build command
  • services:
      db:
        image: <image repo url>
        ports:
          - "5500:5500"
    
      web:
        image: <image repo url>
        ports:
         - "7001:7001"
    

    I can see images are downloaded however doing a docker service ls shows:

    vskumar-mac:~ vskumar$ docker service ls
    ID            NAME                 MODE        REPLICAS  IMAGE
    8xpb4o1mqp3n  ora-tools-stack_db   replicated  1/1       imagerepo:5000/oradb:v1.1
    lgqfpyspg9v0  ora-tools-stack_web  replicated  0/1       imagerepo:5000/orawls:v1.6
    

    I have waited for hours to see if it comes up. but no luck.

  • Do I have to enable firewall on docker container?
  • Docker: Container keeps on restarting again on again
  • Access to a docker container on Heroku
  • NPM install via git+https//x-oauth-basic within Docker container fails
  • Create docker image without source image (OS)
  • Production ready LAMP stack - in Docket, Rocket etc
  • One Solution collect form web for “docker container never comes up”

    to check if container is up & running please type:

    docker ps
    
    Docker will be the best open platform for developers and sysadmins to build, ship, and run distributed applications.