From dc8b1f9a87bf159f3154bda178f79f30f370ecfc Mon Sep 17 00:00:00 2001 From: Nicolas MASSE Date: Thu, 27 Jun 2019 10:40:42 +0200 Subject: [PATCH] Update README.md --- Using-Skopeo/README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Using-Skopeo/README.md b/Using-Skopeo/README.md index e014d7f..79b760b 100644 --- a/Using-Skopeo/README.md +++ b/Using-Skopeo/README.md @@ -232,7 +232,7 @@ You can then copy your images to the OpenShift registry, in the `my-images` project: ```sh -skopeo copy --dest-creds="skopeo:$TOKEN" oci:./target:rhel7:7.5 docker://$REGISTRY/my-images/rhel7:7.5 +skopeo --insecure-policy copy --dest-creds="skopeo:$TOKEN" oci:./target:rhel7:7.5 docker://$REGISTRY/my-images/rhel7:7.5 ``` Did you know that even if you can store the images locally, you can also copy @@ -241,7 +241,7 @@ them "on the fly" without any local storage ? Try to copy an image from the Docker Hub directly to the OpenShift registry: ```sh -skopeo copy --dest-creds="skopeo:$TOKEN" docker://docker.io/centos:7 docker://$REGISTRY/my-images/centos:7 +skopeo --insecure-policy copy --dest-creds="skopeo:$TOKEN" docker://docker.io/centos:7 docker://$REGISTRY/my-images/centos:7 ``` ## Pulling an image to the OpenShift registry @@ -270,7 +270,7 @@ You can then copy your images from the OpenShift registry, located in the `other-images` project: ```sh -skopeo copy --src-creds="skopeo:$TOKEN" docker://$REGISTRY/other-images/myimage:latest oci:./target:myimage:latest +skopeo --insecure-policy copy --src-creds="skopeo:$TOKEN" docker://$REGISTRY/other-images/myimage:latest oci:./target:myimage:latest ``` ## Persist the registry credentials