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

Unable to list tags with docker-compose deployed Artifactory (embedded Tomcat) #168

Open
SamD opened this issue Aug 23, 2019 · 3 comments
Open

Comments

@SamD
Copy link

SamD commented Aug 23, 2019

I'm able to list using catalog e.g.

curl -X GET "http://docker.artifactory:8081/artifactory/api/docker/docker-local/v2/_catalog" -H "X-JFrog-Art-Api: ...."
{
  "repositories" : [ "docker-local/client", "docker-local/db", "docker-local/server" ]
}

However, trying to list tags I keep getting

curl -X GET "http://docker.artifactory:8081/artifactory/api/docker/v2/docker-local/client/tags/list" -H "X-JFrog-Art-Api: ...."
{
  "errors" : [ {
    "status" : 400,
    "message" : "Unsupported docker repository request for 'v2'"
  } ]
}```

Is there something missing, I've also tried just client for example without the docker-local
@matankatz
Copy link
Collaborator

matankatz commented Sep 2, 2019

Hi SamD
Please note the wrong url:
You sent:

cur -X GET "http://docker.artifactory:8081/artifactory/api/docker/v2/docker-local/client/tags/list" -H "X-JFrog-Art-Api: ...."

While it should be:

curl -X GET "http://docker.artifactory:8081/artifactory/api/docker/docker-local/v2/client/tags/list" -H "X-JFrog-Art-Api: ...."

(v2 and repository name are misplaced)

@SamD
Copy link
Author

SamD commented Sep 2, 2019

Ok thanks, hmmm I thought I had found the sample I used from your docs. as a result of a Google search, perhaps not.

@SamD SamD closed this as completed Sep 2, 2019
@SamD
Copy link
Author

SamD commented Sep 4, 2019

Hmmm still unable to get this work, I keep getting either it is unable to locate the repository name or not found

Is there some specific security setting I might be missing for the api access, I am using the generated api token for the admin user

@SamD SamD reopened this Sep 4, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants