Docker error: invalid reference format: repository name must be lowercase

前端 未结 22 1805
孤独总比滥情好
孤独总比滥情好 2020-12-12 23:07

Ran into this Docker error with one of my projects:

invalid reference format: repository name must be lowercase

What are the various causes for

22条回答
  •  有刺的猬
    2020-12-12 23:55

    "docker build -f Dockerfile -t SpringBoot-Docker ." As in the above commend, we are creating an image file for docker container. commend says create image use file(-f refer to docker file) and -t for the target of the image file we are going to push to docker. the "." represents the current directory

    solution for the above problem: provide target image name in lowercase

提交回复
热议问题