Azure-docs: origin of field --docker-email <email-address> is unclear

Created on 6 Aug 2018  Â·  7Comments  Â·  Source: MicrosoftDocs/azure-docs

Hi everyone,
many thanks for this great guide. It worked out for me and my team in the most cases and I have just one question left.
Where do I get the email adress for "--docker-email <email-address>" from?

We have chosen various emails from time to time and it always worked out.
Is that intended? In the docs I can not see an explanation for this, yet.

Looking forward to your response.


Document Details

⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

assigned-to-author container-registrsvc doc-enhancement triaged

Most helpful comment

@erosinger You can use any well-formed email address for that value. In the future, this argument may no longer be required. In fact, the --docker-email argument is no longer required for docker login, and there is an issue in the Kubernetes repo regarding its removal.

For now, however, you can use any properly formatted email address.

All 7 comments

Thanks for the feedback! We are currently investigating and will update you shortly.

@erosinger When using the Docker command line to push images, you can authenticate to a given registry by running 'docker login DOCKER_REGISTRY_SERVER --username=DOCKER_USER --password=DOCKER_PASSWORD --email=DOCKER_EMAIL'. That produces a ~/.dockercfg file that is used by subsequent 'docker push' and 'docker pull' commands to authenticate to the registry.

When creating applications, you may have a Docker registry that requires authentication. In order for the nodes to pull images on your behalf, they have to have the credentials. You can provide this information by creating a dockercfg secret and attaching it to your service account.

--docker-email="": Email for Docker registry

@mmacy Can you please share your insights if this document needs further explanation about the email part?

@Karishma-Tiwari-MSFT thanks for the fast response and explanation. I now understand the purpose of the field.

Sadly I am not sure where to get the correct email from? Is it my personal one? Or the one of the Azure Subscription assigned to the ACR? Or any email Adresse which was configured to have access to the ACR?

I would be grateful if you can help me out on this one. And this could be an information we might want to include on the page for next readers.

Looking forward to your response. Best enosinger

@erosinger You can use any well-formed email address for that value. In the future, this argument may no longer be required. In fact, the --docker-email argument is no longer required for docker login, and there is an issue in the Kubernetes repo regarding its removal.

For now, however, you can use any properly formatted email address.

@Karishma-Tiwari-MSFT You can assign this one to me, I've added a work item to the backlog to update the article with a call-out for the email address argument.

in-progress

@mmacy Thank you for sharing the information. :)
@erosinger I have assigned the issue to the content author to evaluate and update as appropriate.

@mmacy @Karishma-Tiwari-MSFT Thank you very much for the explanation. Then everything is fine and I do not need to worry about this any more :) Thanks for the help.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

DeepPuddles picture DeepPuddles  Â·  3Comments

jharbieh picture jharbieh  Â·  3Comments

mrdfuse picture mrdfuse  Â·  3Comments

jamesgallagher-ie picture jamesgallagher-ie  Â·  3Comments

bdcoder2 picture bdcoder2  Â·  3Comments