Skopeo Flashcards

1
Q

copy a container image named myimage from the local container engine to an insecure, public registry at registry.example.com under the myorg organization or user account

A

skopeo copy –dest-tls-verify=false \
containers-storage:myimage \
docker://registry.example.com/myorg/myimage

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

copy a container image from the /home/user/myimage OCI-formatted folder to the insecure, public registry at registry.example.com under the myorg organization or user account

A

skopeo copy –dest-tls-verify=false \

oci: /home/user/myimage \
docker: //registry.example.com/myorg/myimage

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

copy container images between private registries

A

skopeo copy –src-creds=testuser:testpassword \

  • -dest-creds=testuser1:testpassword \
    docker: //srcregistry.domain.com/org1/private \
    docker: //dstegistry.domain2.com/org2/private
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

tags an existing image with tag 1.0 as latest

A

skopeo copy docker://registry.example.com/myorg/myimage:1.0 \
docker://registry.example.com/myorg/myimage:latest

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Delete the myorg/myimage container image from the registry at registry.example.com

A

skopeo delete docker://registry.example.com/myorg/myimage

How well did you know this?
1
Not at all
2
3
4
5
Perfectly