Advertisement
ragbalak

Crane URLs for docker

Jul 19th, 2018
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.30 KB | None | 0 0
  1. # to get all the manifests for a docker repo
  2. curl -L -k -X GET <pulp-host-name>:5000/v2/mydocker2/manifests/latest |less
  3.  
  4. # to download each of the manifests
  5. # run it for each of the blobs returned by the first url
  6. curl -L -X GET <pulp-host-name>:5000/v2/mydocker2/blobs/sha256:<shasum> >> docker.image
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement