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’

  • How to get contents generated by a docker container on the local fileystem
  • Docker on Windows with Dart Docker Image
  • Avoid hard coding the mysql container ip in my apache container script
  • Can't acces docker container by IP address
  • Collectd not pushing data to influxdb
  • How can I structure my docker projects for easy deployment?
  • 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.

  • Running Docker Under Vagrant
  • maven-docker-plugin: how to get container ip address
  • DNS resolution with the container
  • Version error in AWS Elastic beanstalk for Multicontainer Docker Configuration
  • Dockerfile: Permission denied during build when running ssh-agent on /tmp
  • What's the difference between RUN and CMD in a docker file and when should I use one or the other?
  • 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.