Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[improvement][doc] Should add note about docker image repository name #2335

Closed
udomsak opened this issue Feb 19, 2017 · 4 comments
Closed

[improvement][doc] Should add note about docker image repository name #2335

udomsak opened this issue Feb 19, 2017 · 4 comments
Labels
stage/waiting-reply theme/docs Documentation issues and enhancements

Comments

@udomsak
Copy link

udomsak commented Feb 19, 2017

Driver docker

for docker repository that not use default or private repo ( hub.docker.com ) they must include authentication otherwise nomad can't start job because they can't find an image. and then report an error
with

API error (404): {"message":"repository myrepo/myimage not found: does not exist or no pull access"}

This can occur even if you have an image on local Nomad still can't find your image. ( not sure this is bug or not :) )

@dadgar
Copy link
Contributor

dadgar commented Feb 21, 2017

@udomsak Hey thanks for using Nomad and sorry you ran into something confusing. Unfortunately I don't quite follow what you are asking to be improved. Could you maybe link to where was confusing in the docs?

@dadgar dadgar added theme/docs Documentation issues and enhancements stage/waiting-reply labels Feb 21, 2017
@udomsak
Copy link
Author

udomsak commented Feb 21, 2017

@dadgar below is my suggestion ( i not well in English ), However may be bug ?

image - The Docker image to run. The image may include a tag or custom URL and should include https:// if required. By default it will be fetched from Docker Hub. You need to add authentication if you not use Docker hub. Otherwise Nomad can't see your image < - This section my be need to add ( See Authentication )

NOTE If you build image on local and they not store on any remote repository ( Docker hub , etc. ) Nomad can't see your image. <- Add this too.

config {
image = "https://hub.docker.internal/redis:3.2"
}

or may be

FAQ.

  • When i use docker driver and then run job i found an Error API error (404): {"message":"repository myrepo/myimage not found: does not exist or no pull access"} what happen ?

Ans: Add Authentication in Nomad job if you not use Docker hub.

@dadgar
Copy link
Contributor

dadgar commented Feb 27, 2017

Fixed by: 71462bf

@github-actions
Copy link

I'm going to lock this issue because it has been closed for 120 days ⏳. This helps our maintainers find and focus on the active issues.
If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Dec 15, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
stage/waiting-reply theme/docs Documentation issues and enhancements
Projects
None yet
Development

No branches or pull requests

2 participants