Hi all , Trying to push to the docker registry `GI...
# general
b
Hi all , Trying to push to the docker registry
GIT_COMMIT="jokes_on_you" ./pants publish ::
Am getting the following error
Copy code
The push refers to repository [<http://docker.io/ineeddockeragain/play|docker.io/ineeddockeragain/play>]
dfc49893f785: Preparing 
07d2d7aa362e: Preparing 
7c1610cf2397: Preparing 
16427a3bb904: Preparing 
449a28044116: Preparing 
f11bbd657c82: Waiting 
denied: requested access to the resource is denied

āœ• ineeddockeragain/play:jokes_on_you failed.
āœ… 1
h
Presumably some auth setup to your remote docker repository is required?
b
Not sure. Am able to run
docker push
command
Copy code
docker push ineeddockeragain/play:jokes_on_you
The push refers to repository [<http://docker.io/ineeddockeragain/play|docker.io/ineeddockeragain/play>]
dfc49893f785: Pushed 
07d2d7aa362e: Layer already exists 
7c1610cf2397: Layer already exists 
16427a3bb904: Layer already exists 
449a28044116: Layer already exists 
f11bbd657c82: Layer already exists 
jokes_on_you: digest: sha256:8d1aa2f13190a0408b9fbbdf89c20aec7d5fdcaa9fa9ab21957f7377394a5365 size: 1582
Am running this in windows
WSL
Ok. this is really strange. Earlier i had done
docker login
Then typed out user and password combination. i just deleted
~/.docker/config.json
and ran full command with flags
docker login -u "username" -p "password" <http://docker.io|docker.io>
And now it works. šŸ˜†
šŸŽ‰ 1