Why "warning msg=unable to pin image" is seen while creating a docker service in Red Hat Enterprise Linux 7 with docker-1.13.1-63.git94f4240.el7.x86_64 ?

Solution In Progress - Updated -

Issue

  • Why "warning msg=unable to pin image" is seen while creating a docker service in Red Hat Enterprise Linux 7 with docker-1.13.1-63.git94f4240.el7.x86_64 ?
[root@d1 ~]# docker service create --replicas 1 --mount type=volume,src=foo,dst=/test --restart-condition none --name test busybox  ls /test/
unable to pin image busybox to digest: unknown: Not Found
kp6ycwbc37m03jcy8mnlruyb
  • Why service creation fails with the message "unable to pin image" with " no basic auth credentials" ?
[root@d1 ~]# docker service create --with-registry-auth --replicas 1 --mount type=volume,src=foo,dst=/test --restart-condition none --name test 192.168.0.11:5000/dockertestimage  ls /test/
unable to pin image 192.168.0.11:5000/dockertestimage to digest: Head http://192.168.0.11:5000/v2/dockertestimage/manifests/latest: no basic auth credentials
whiawaofii85gkgorpljq7kt5

Environment

  • Red Hat Enterprise Linux 7
  • docker-1.13.1-63.git94f4240.el7.x86_64

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content