Category : dockerhub

To get a docker image’s tags using the docker hub api: curl -sL https://hub.docker.com/v2/repositories/<org>/<name>/tags I pipe that into | jq and extract what I need. However some images don’t have an organization, e.g. mariadb. I tried all these: curl -sL https://hub.docker.com/v2/repositories/mariadb/tags curl -sL https://hub.docker.com/v2/repositories/_/mariadb/tags curl -sL https://hub.docker.com/v2/repositories/mariadb/_/tags curl -sL https://hub.docker.com/v2/repositories/mariadb/mariadb/tags But those give errors, or ..

Read more

Is it possible to generate certificate files for https://hub.docker.com/ login so that such ansible playlist would perform image push without the need to specify login/password in it? – name: Build ubuntu container docker_image: name: "my_name:my_ubuntu_container" build: path: "../" state: present source: build – name: Push my image to docker hub docker_image: name: "my_name:my_ubuntu_container" push: yes ..

Read more

I’m attempting op pull a private docker image into a digital ocean Kubernetes cluster. I receive this error: Failed to pull image "testuser/services:latest": rpc error: code = Unknown desc = failed to pull and unpack image "docker.io/testuser/services:latest": failed to resolve reference "docker.io/testuser/services:latest": pull access denied, repository does not exist or may require authorization: server message: ..

Read more