cloud,

Skopeo Cheat Sheet

Gini Gini Follow · 1 min read
Share this

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

Gini
Written by Gini Follow
Backpacker, Foodie, Techie

Latest Stories

HashiCorp Certified Terraform Associate – Learning & Exam Tips

I started using Terraform somewhere in 2018, but very limited usage as I thought it is just another tool for provisioning infrastructure and other services – or a variant of Vagrant; ...

In terraform, Sep 18, 2020
Deploy Minikube Using Vagrant and Ansible on VirtualBox – Infrastructure as Code

Minikube is a tool to run a kubernetes cluster locally, that means on your laptop or inside a virtual machine. Minikube will run a single node kubernetes cluster on your machine with ...

In kubernetes, Aug 11, 2020
How to Pass CKA & CKAD Exams ? 10 Tips for Kubernetes Exams

Here see the best tips for Kubernetes Exams - Certified Kubernetes Administrator (CKA) & Certified Kubernetes Application Developer (CKAD).

In kubernetes, Jul 08, 2020
CKA & CKAD - Kubernetes Exam Tips, Learning Path and Certification

Since kubernetes is getting wide acceptance, Kubernetes Certification is the most trending one in IT circle now. I have completed both recently (March – April 2020) and I started gett...

In kubernetes, May 03, 2020

Featured