Heim > Fragen und Antworten > Hauptteil
docker search g++
FATA[0000] Error response from daemon: Invalid repository name (g++), only [a-z0-9-_.] are allowed
咋回事?
名字里就是有加号,为啥不能搜:(
迷茫2017-04-21 11:18:43
错误很清楚[a-z0-9-_.]
一个合法的容器名称只有包含以下字符
https://github.com/docker/docker/blob/6870bde5847d4484d87f91baf58edc52f575ea5d/registry/config.go#L36