Docker pull from artifactory - docker

Docker pull resulting the following error, we are trying to pull the image from artifactory (docker repo)
% docker pull artifactory.myorg.com/docker/axyu1325/kargo:0.3.0
Error response from daemon:
Missing or empty Content-Length header

Upgrade artifactory to 7.0.0 or later, or downgrade your docker client.

Related

Unable to pull image from the Gitlab container registry

I have created some images in the Gitlab Container Registry. I am unable to pull them using docker on my local system. The login command succeeds but when I type the following command:
docker pull reg-gitlab-project.company.com/services/palimited/integrationservices/springbootproject/springbootproject:latest
I am getting the following error
Error response from daemon: Head "https://reg-gitlab-project.company.com/v2/services/palimited/integrationservices/springbootproject/springbootproject/manifests/latest": denied: access forbidden
I am unable to figure out why this error is occuring? Can anyone guide me.
You need to authenticate with the container registry at reg-gitlab-project.company.com before issuing a docker pull command.
See, GitLab Docs: Authenticate with the Container Registry.

Unable to pull WSO2 APIM 4.0.0 image from docker

We are trying to do a container based setup of APIM 4.0.0 on Openshift and for that trying to pull the image of the latest version of WSO2 APIM from docker using a valid subscription but not able to pull and getting the below error. Can someone please suggest how this issue can be fixed?
[admcoe#blrocpimpbastion ~]$ sudo docker pull docker.wso2.com/wso2am-kubernetes:latest
Trying to pull repository docker.wso2.com/wso2am-kubernetes ...
Pulling repository docker.wso2.com/wso2am-kubernetes
invalid character '<' looking for beginning of value
[admcoe#blrocpimpbastion ~]$ sudo docker pull docker.wso2.com/wso2am-kubernetes
Using default tag: latest
Trying to pull repository docker.wso2.com/wso2am-kubernetes ...
Pulling repository docker.wso2.com/wso2am-kubernetes
invalid character '<' looking for beginning of value
Thanks,
Suman
You can do the following.
Login to docker.wso2.com
docker login docker.wso2.com
Pull the latest docker image of APIM v4.
docker pull docker.wso2.com/wso2am:4.0.0.0

Docker pull fails after continuous retrying to download

$ docker pull oraclelinux
Using default tag: latest
latest: Pulling from library/oraclelinux
c93adbd5ca8c: Downloading [==================================================>] 85.96MB/85.96MB
unexpected EOF
$ docker --version
Docker version 18.09.2, build 6247962
I notice that docker pull continously retries with back-off for a few times and eventually fails with unexpected EOF. Same issue observed if pulling centos, debian image.
The docker pull of this image from a repository in local network succeeds. I'm trying to figure out the failure for pulls from github.io.
docker pull for smaller size images (ex: alpine, helloworld) succeeds.
Running Docker Desktop Version 2.0.0.3 (31259) on MacOS High Sierra. Restarting Docker did not resolve the issue.
Any pointers are greatly appreciated.
Found an answer. I had to use Manual Proxy Configuration within Docker Desktop to point to an internal corp proxy for this to work.

can't pull docker images from nexus proxy

The nexus is configured at 8444 for internal hosting and the 7001 for the external proxy. I am able to pull images from 8444. But can't pull anything from the internet. The nexus is pointing to https://registry-1.docker.io in the proxy settings. Any suggestions?
$ docker pull x.com:8444/hello-world
Using default tag: latest
latest: Pulling from hello-world
c04b14da8d14: Pull complete
Digest: sha256:a18ed77532f6d6781500db650194e0f9396ba5f05f8b50d4046b294ae5f83aa4
Status: Downloaded newer image for x.com:8444/hello-world:latest
$ docker pull x.com:7001/node
Using default tag: latest
Error response from daemon: unknown: unknown
(there is no error log showing in nexus for this pull)
I found the answer myself. In the configuration, need to use
"Use Docker Hub"
option in the Proxy->Docker index.
I used "Use proxy registry (specified above)" which doesn't work.

Docker cloud repository push: access to the requested resource is not authorized on Fedora 23

I've just come over from tutum and and am trying to deploy to a docker cloud repository. I've created the repository and have tagged an existing image:
docker tag deploy foo/rtb
When I attempt to push my tagged image up like so:
docker push foo/rtb
I get this:
The push refers to a repository [docker.io/foo/rtb] (len: 0)
18118bb6b8ef: Preparing
unauthorized: access to the requested resource is not authorized
The repository exists and I've logged in to docker. Is there something I'm missing?
Interestingly enough, if I try to delete the image I get an error like this:
Error response from daemon: conflict: unable to delete 18118bb6b8ef
(must be forced) - image is referenced in one or more repositories
Error: failed to remove images: [18118bb6b8ef]
I had been using docker 1.9.1. That's the version in the Fedora 23 repo.
The kind folks at docker tech support recommended I upgrade to the latest 1.10.3
Upgrading then doing
docker logout
followed by
docker login
fixed everything up.
Did you tag your image ?
docker build --tag docker.io/<yourdockerhubname>/<appname> .
docker build --tag docker.io/moskalr/rtb .
docker push docker.io/<yourdockerhubname>/<appname>
docker push docker.io/moskalr/rtb
the push should respond with something which mentions the dockerhub image name

Resources