Docker Community Forums

Share and learn in the Docker community.

Getting "denied: requested access to the resource is denied" during automated build

(Erlend Klakegg Bergheim) #1

I’m having problems push images created during execution of “post_push” hook.

During the initial build:


During hook:

Tag: base => master-base
denied: requested access to the resource is denied

I’ve tested this on both Docker Hub and Docker Cloud, and I basically end up with the same problems both places.

How may I get on with publishing my images created by using hook?

(Manmedia) #2

Try docker login first, before pushing.

(Erlend Klakegg Bergheim) #3

I’m using automated builds on Docker Cloud/Hub. I’m not running this on my own machine.