Cyber Deals - Get up to 65% off on CKA, CKAD, CKS, KCNA, KCSA exams and courses!

Skopeo Cheat Sheet

Also see,

Note : This is s a living document and I will update whenever needed

Skopeo Handy Commands

Copy local oci image to destination

$ skopeo copy \
  oci:/home/USER/SOURCE_PATH \
  docker://quay.io/USER/IMAGE_NAME:VER

copy using credential to destination

$ skopeo copy \
  --dest-creds=USER_NAME:TOKEN \
  oci:/home/USER/SOURCE_PATH \
  docker://REGISTRY_URL/USER/IMAGE_NAME:VER

$ sudo skopeo copy \
  containers-storage:localhost/IMAGE_NAME \
  docker://REGISTRY_URL/USER/IMAGE_NAME:VER

inspect the image

$ skopeo inspect REGISTRY_URL/IMAGE_NAME

delete an image

$ sudo skopeo delete \
  docker://REGISTRY_URL/USER/IMAGE_NAME:VER

References

Disclaimer: Views expressed in articles are those of the respective authors and do not necessarily reflect the views of their employers or this site. While we aim for accuracy, please verify information before relying on it, and let us know if you spot an error.
Share:

Related Posts

Cheat sheets

kubectl and oc Cheat Sheet

oc (OpenShift CLI) and kubectl share most commands. oc extends Kubernetes with OpenShift-specific features — cluster login, projects, routes, builds, …

Ansible Labs

Ansible Labs

Ansible Automation Platform Enable RHEL and AAP Subscriptions Red Hat Container Registry Authentication AAP Download Options Extract the AAP …

Container

Container Tips

How to install ping utility inside container ? How to allow continers to execute ping ? Error - “/” is not a shared mount How to install …

Ansible - Frequently Asked Questions

Ansible - Frequently Asked Questions

Ansible - Frequently Asked Questions What is Ansible? What is IaC (Infrastructure as Code)? What can Ansible do? What are the advantages of Ansible? …

Ansible Cheatsheet

Ansible Cheatsheet

Ansible Cheat Sheet Ansible is an open-source IT automation engine which can help you to automate most of your repetitive tasks in your work life. …

Ansible Automation Platform - Disaster Recovery

Ansible Automation Platform - Disaster Recovery

These are official references to implement Disaster Recovery (DR) designs for Ansible Automation Platform.