【docker】invalid argument "" for "-t, --tag" flag: invalid reference format: repository name must be

错误信息:

Work@Shi MINGW64 /f/_Test/Sthxn.MonitorService_v0.11
$ docker build -t Sthxn.MonitorService:v0.11 .
invalid argument "Sthxn.MonitorService:v0.11" for "-t, --tag" flag: invalid reference format: repository name must be lowercase
See 'docker build --help'.

错误原因:
存在大写字母

解决方法:
全部使用小写字母

Work@Shi MINGW64 /f/_Test/Sthxn.MonitorService_v0.11
$ docker build -t sthxn.monitorservice:v0.11 .

你可能感兴趣的:(Exception)