Ran into this Docker error with one of my projects:
invalid reference format: repository name must be lowercase
What are the various causes for
In my case DockerFile contained the image name in mixed case instead of lower case.
Earlier line in my DockerFile
FROM CentOs
and when I changed above to FROM centos, it worked smoothly.
FROM centos