Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docker push #2

Open
masonjamali opened this issue Dec 19, 2017 · 2 comments
Open

Docker push #2

masonjamali opened this issue Dec 19, 2017 · 2 comments

Comments

@masonjamali
Copy link

masonjamali commented Dec 19, 2017

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
    `
@margi123
Copy link

margi123 commented Mar 5, 2019

Hi,

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

@NL-TCH
Copy link

NL-TCH commented Feb 23, 2021

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
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants