无法使用docker 命令搜g++?
PHPz
PHPz 2017-04-21 11:16:43
0
1
827

docker search g++
FATA[0000] Error response from daemon: Invalid repository name (g++), only [a-z0-9-_.] are allowed
咋回事?
名字里就是有加号,为啥不能搜:(

PHPz
PHPz

学习是最好的投资!

reply all(1)
迷茫

The error is very clear[a-z0-9-_.]
A valid container name only contains the following characters

  1. lower case letters a-z
  2. Underline
  3. polka dots
  4. Horizontal line

https://github.com/docker/docker/blob/6870bde5847d4484d87f91baf58edc52f575ea5d/registry/config.go#L36

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template