Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-30837

Restriction on image names

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      When trying to use a short repository name, I get the following error:

      2015/10/08 09:40:13 Invalid namespace name (abc), only [a-z0-9_] are allowed, size between 4 and 30

      Since this is not an error docker generates (I have no problems to use that name with Docker 1.7.1 when building the image manually) but rather is a constraint by the official Docker Hub Registry, this should not be enforced at plugin level. Or at least not for any other Docker Registry than the official one.

        Attachments

          Activity

          Hide
          csanchez Carlos Sanchez added a comment -

          That error comes from Docker, not the Jenkins plugin, either during build, tag or push

          Show
          csanchez Carlos Sanchez added a comment - That error comes from Docker, not the Jenkins plugin, either during build, tag or push
          Hide
          kummerer94 Alexander Kammerer added a comment - - edited

          I do not have any problems to tag and push that image when using only the docker CLI. Thus, this error must have anything to do with the way the plugin uses docker.

          Show
          kummerer94 Alexander Kammerer added a comment - - edited I do not have any problems to tag and push that image when using only the docker CLI. Thus, this error must have anything to do with the way the plugin uses docker.
          Hide
          csanchez Carlos Sanchez added a comment -

          As you can see at https://github.com/docker/docker/issues/2935 that error comes from docker build

          Show
          csanchez Carlos Sanchez added a comment - As you can see at https://github.com/docker/docker/issues/2935 that error comes from docker build

            People

            Assignee:
            csanchez Carlos Sanchez
            Reporter:
            kummerer94 Alexander Kammerer
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: