I have this question on StackOverflow but haven’t got a solution.
I’m working through the Getting Started documents, step 9.
I have a repo at https://hub.docker.com/r/banksysan/docker-whale/
and have a config.json
in the form
{
"auths": {
"https://index.docker.io/v1/": {
"auth": "secret_string",
"email": "BanksySan@googlemail.com"
}
}
}
However, when I push the image I get `unauthorised:
$ docker images
REPOSITORY TAG IMAGE ID CREATED VIRTUAL SIZE
docker-whale latest 654156f34320 47 hours ago 274.2 MB
banksysan/docker-whale latest 654156f34320 47 hours ago 274.2 MB
hello-world latest 0a6ba66e537a 3 months ago 960 B
kitematic/hello-world-nginx latest 38502dd72c08 7 months ago 7.913 MB
docker/whalesay latest ded5e192a685 8 months ago 247 MB
David@Plod MINGW64 ~
$ docker push banksysan/docker-whale
The push refers to a repository [docker.io/banksysan/docker-whale] (len: 1)
654156f34320: Preparing
unauthorized: access to the requested resource is not authorized
I’m stuck at the first hurdle. Any help sorting this out would be gratefully appreciated.
Thanks
Dave