title: Docker Compose does not allow to use local images
body: <p>The following command fails, trying to pull image from the Docker Hub:</p>
  
  <pre><code>$ docker-compose up -d
  Pulling web-server (web-server:staging)...
  ERROR: repository web-server not found: does not exist or no pull access
  </code></pre>
  
  <p>But I just want to use a local version of the image, which exists:</p>
  
  <pre><code>$ docker images
  REPOSITORY           TAG                 IMAGE ID            CREATED             SIZE
  web-server           staging             b94573990687        7 hours ago         365MB
  </code></pre>
  
  <p>Why Docker doesn't search among locally stored images?</p>
  
  <hr>
  
  <p>This is my Docker Compose file:</p>
  
  <pre><code>version: '3'
  services:
    chat-server:
      image: chat-server:staging
      ports:
        - "8110:8110"
    web-server:
      image: web-server:staging
      ports:
        - "80:80"
        - "443:443"
        - "8009:8009"
        - "8443:8443"
  </code></pre>
  
  <p>and my .env file:</p>
  
  <pre><code>DOCKER_HOST=tcp://***.***.**.**:2376
  DOCKER_TLS_VERIFY=true 
  DOCKER_CERT_PATH=/Users/Victor/Documents/Development/projects/.../target/docker
  </code></pre>