how to pull from local docker registry and push to local docker registry? #19787
-
my local docker registry: docker run -d --net=host registry:2.8.2 it already have all openstack images in it. when I research cephadm, it recommend use podman. I push ceph docker image in my docker local registry, but I can not use podman pull it from my docker registry. I search it in google, found podman can pull image from dockerhub, but how to pull form local docker registry? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
@m986883511, thanks for reaching out. It would be helpful if you could share the exact command and output + error you get. For testing and development, I usually run and use a local registry as follows:
|
Beta Was this translation helpful? Give feedback.
-
[root@localhost ~]# podman pull astute-tec.com:4000/astute/ceph:pacific
Trying to pull astute-tec.com:4000/astute/ceph:pacific...
Error: initializing source docker://astute-tec.com:4000/astute/ceph:pacific: pinging container registry astute-tec.com:4000: Get "https://astute-tec.com:4000/v2/": http: server gave HTTP response to HTTPS client
WARN[0000] Found incomplete layer "3ae734764240d640f5c7be004c84b4e70cb1ccbb67a496f22ca8990c553e80a1", deleting it
[root@localhost ~]# podman pull --tls-verify=false astute-tec.com:4000/astute/ceph:pacific
Trying to pull astute-tec.com:4000/astute/ceph:pacific...
Getting image source signatures
Copying blob 9d8dbaeb8b63 done
Copying blob 7a0437f04f83 [=========>----------------------------] 19.7MiB / 71.7MiB
Copying blob 29d26d4c25c4 done
Copying blob a997af56d24c [==>-----------------------------------] 29.3MiB / 332.8MiB
Copying blob d899366f9e59 done
Copying blob 1983949c69f6 done
Copying blob 8ce400afeaed done
Copying blob b2c0696ea8ce done
Copying blob 4734bd6e53e5 done
Copying blob 942173f409d7 done yes it just tls error. |
Beta Was this translation helpful? Give feedback.
@m986883511, thanks for reaching out. It would be helpful if you could share the exact command and output + error you get.
For testing and development, I usually run and use a local registry as follows: