I have a “team” subscription to docker hub.
I have a team called seamanpaperteam, and a private repository called seamanpaperteam/seaman-private.
I logged in (on linux) like this:
jeff.dickens@ad.seamanpaper.com@demos:~$ docker login -u "seamanpaper" -p "<password>"
WARNING! Using --password via the CLI is insecure. Use --password-stdin.
WARNING! Your password will be stored unencrypted in /home/jeff.dickens@ad.seamanpaper.com/.docker/config.json.
Configure a credential helper to remove this warning. See
https://docs.docker.com/engine/reference/commandline/login/#credentials-store
Login Succeeded
I tagged and pushed an image (actually twice) like this:
jeff.dickens@ad.seamanpaper.com@demos:~$ docker tag btprint-server:rc121 seamanpaperteam/btprint-server:rc121
jeff.dickens@ad.seamanpaper.com@demos:~$ docker push !$
docker push seamanpaperteam/btprint-server:rc121
The push refers to repository [docker.io/seamanpaperteam/btprint-server]
19fd8bc4b5cf: Pushed
16580c01a279: Pushed
f65ee70fb257: Pushed
565841a8dc24: Pushed
4f3fa622950e: Pushed
31edccaafabd: Pushed
4511e195cfa8: Pushed
8d3ac3489996: Pushed
rc121: digest: sha256:0267532ff88a3a2aa6c48c1cfde0ebd37e5409ed62398640625ed8d5078f4580 size: 1994
That created a new public repository called btprint-server, which is not what I wanted.
I then tried again like this:
jeff.dickens@ad.seamanpaper.com@demos:~$ docker tag btprint-server:rc121 seamanpaper/seaman-private/btprint-server:rc121
jeff.dickens@ad.seamanpaper.com@demos:~$ docker push !$
docker push seamanpaperteam/btprint-server:rc121
The push refers to repository [docker.io/seamanpaperteam/btprint-server]
19fd8bc4b5cf: Layer already exists
16580c01a279: Layer already exists
f65ee70fb257: Layer already exists
565841a8dc24: Layer already exists
4f3fa622950e: Layer already exists
31edccaafabd: Layer already exists
4511e195cfa8: Layer already exists
8d3ac3489996: Layer already exists
rc121: digest: sha256:0267532ff88a3a2aa6c48c1cfde0ebd37e5409ed62398640625ed8d5078f4580 size: 1994
That did nothing. It seems to have disregarded the “seaman-private” part.
How do I push my image btprint-server:rc121 to my seaman-private repository ?
Thanks in advance!