Skip to content

Docker push #2

Open
Open

Description

@masonjamali

Hi, In the final stage I get this error:

`
[getintodevops-hellonode] Running shell script

  • docker push registry.hub.docker.com/getintodevops/hellonode:21
    The push refers to a repository [registry.hub.docker.com/getintodevops/hellonode]
    cba63da76181: Preparing
    6c433c4837ac: Preparing
    a6e26591f7fe: Preparing
    2895be281ac1: Preparing
    ab90d83fa34a: Preparing
    8ee318e54723: Preparing
    e6695624484e: Preparing
    da59b99bbd3b: Preparing
    5616a6292c16: Preparing
    f3ed6cb59ab0: Preparing
    654f45ecb7e3: Preparing
    2c40c66f7667: Preparing
    8ee318e54723: Waiting
    e6695624484e: Waiting
    da59b99bbd3b: Waiting
    5616a6292c16: Waiting
    f3ed6cb59ab0: Waiting
    654f45ecb7e3: Waiting
    2c40c66f7667: Waiting
    denied: requested access to the resource is denied
    script returned exit code 1
    `

Activity

  1. margi123 commented on Mar 5, 2019

    @margi123

    Hi,

    Even i have the same problem. How to push the image to docker hub ?

  2. NL-TCH commented on Feb 23, 2021

    @NL-TCH

    This error states that you do not have push rights to the getintodevops/hellonode docker repository.
    Make a dockeraccount like "dockeracc" and change getintodevops into dockeracc.
    The jenkinsfile should look as following:

    stage('Build image') {
            /* This builds the actual image; synonymous to
             * docker build on the command line */
    
            app = docker.build("dockeracc/hellonode")
        }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions