The following command fails, trying to pull image from the Docker Hub:
$ docker-compose up -d Pulling web-server (web-server:staging)... ERROR: repository we
One can reference the local image name without a tag as well
docker build -t imagename .
can be referenced as:
version: "3" services: web: image: imagename
in the docker-compose yaml.