#skopeo

Brandon Mitchellbmitch@fosstodon.org
2025-02-21

To manage your own registry using the OCI APIs, there's a variety of client tooling.

- I'm the author of #regclient (the regsync command is very useful for mirrors): regclient.org
- #Crane is available from Google: github.com/google/go-container
- #Oras was started by Microsoft: oras.land/
- #Skopeo is available from RedHat: github.com/containers/skopeo/

Alejandro Baezzeab@fosstodon.org
2025-02-11

@alxlg your most welcome!

I by no means only use #docker. Far from it. 😎 But it does have a lot of capabilities now. Very much thanks to the outstanding work done on #podman and #buildah.

Heck, yesterday a colleague found out "they" copied #skopeo for image mirroring with "imagetools". The cli design is really noisy, but it does work. πŸ˜…

docs.docker.com/reference/cli/

2024-12-03

Skopeo can also inspect the configuration of a container, not just what's in the OCI manifest. It's great to get a handle on the default environment variables, working directory, and other defaults. Use the --config flag to get the configuration of an image as a big JSON file.

skopeo inspect --config --override-os="linux" --override-arch="amd64" docker://python:3.12

I also needed to specify the OS and CPU architecture I wanted to inspect. Skopeo defaults to what's detected on the host and I'm on an ARM-based Mac. This returns something that's easy to pipe through JQ for just what I need - in this case, the default environment variables of the Python:3.12 image for Intel-based Linux systems.

ᐅ skopeo inspect  --config --override-os="linux" --override-arch="amd64" docker://python:3.12 | jq '.config.Env'
[
"PATH=/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
"LANG=C.UTF-8",
"GPG_KEY=7169605F62C751356D054A26A821E680E5FA6305",
"PYTHON_VERSION=3.12.7",
"PYTHON_SHA256=24887b92e2afd4a2ac602419ad4b596372f67ac9b077190f459aba390faf5550"
]

#containers #skopeo

Adam :redhat: :ansible: :bash:maxamillion@fosstodon.org
2024-11-17
Kevin Dubois πŸ‡§πŸ‡ͺπŸ‡ͺπŸ‡ΊπŸ‡ΊπŸ‡²kevindubois
2024-11-14

Today at , Red Hat announced their intent to contribute their container tools such as , , , to the Cloud Native Computing Foundation! Super exciting news & proof of the commitment Red Hat has to the Open Source community.

redhat.com/en/blog/red-hat-con

2024-04-22

Will I be glad that I found #skopeo? Perhaps this next week will demonstrate.

2024-04-11
Daniel, pined-lizard editiondaniel@masto.doserver.top
2024-03-31

Just setup #anki sync server!

Not that bad of a process, but they don't provide prebuild binaries for their #RustLang implementation

I ended up using skopeo to download and extract the docker image and use the binary from there - simple enough

#skopeo #server #homelab #selfhosting

2024-02-14
Just created some #RISCV based #Container images of #Debian #Ubuntu & #Fedora. This might become helpful when integrating #RV64 in your build & test pipelines.

https://gyptazy.ch/misc/riscv-container-images-for-podman-docker/

#docker #podman #skopeo #risc #risc64 #riscv64
2024-01-22

So nope, #skopeo doesn’t seem to support multi-arch manifest generation. Too bad, a really great tool otherwise. Had to resort to #buildah which works right out of the box in a GitHub action.

Easy peasy container squeezy 😎

That was the biggest hurdle to #Infix little AppStore! Onwards and upwards 😊

2024-01-22

Next up, making multi-arch container images with #buildroot and #skopeo … #OpenSource

Scott Williams 🐧vwbusguy@mastodon.online
2023-11-07

Want to know how big an image is going to be *before* you download it? You can do this with #skopeo and a bit of #bash.

skopeo inspect docker://alpine/openssl:latest | jq '.LayersData[].Size' | paste -s -d+ - | bc | numfmt --to=iec-i --suffix=B

3.6MiB

skopeo inspect docker://ucsb/pstat-134-234:v20231107 | jq '.LayersData[].Size' | paste -s -d+ - | bc | numfmt --to=iec-i --suffix=B

7.6GiB

devguy :verified:developerguy@hachyderm.io
2023-04-05

πŸš¨πŸ””Most probably, if you are working with containers, you use some client-side tooling to work with remote container registries. At that point, there are some helper tools that come in handy like #skopeo, #crane, and #regctl 🧰
A great blog by @d2iq_engπŸŽ–
eng.d2iq.com/blog/a-tale-of-tw

2023-01-16

I've just started using #crane instead of #skopeo (both great tools!) in #mindthegap so wrote up a quick blog post showcasing both tools and a few of their differences

eng.d2iq.com/blog/a-tale-of-tw

#kubernetes #oci #containers #linux #opensource #oss

Scott Williams 🐧vwbusguy@mastodon.online
2023-01-10

I love how much of my job is automated via #Ansible #AWX and #Jenkins. I love how amazing the #RedHat #container tools are for supporting it all - #podman, #skopeo, #toolbx, etc. It's all running on a highly versatile and fully #opensource stack.

2022-12-18

quicktip #19: inspecting remote Windows container images without downloading them using Skopeo.

(to not having to run run a Linux container for Skopeo, we'll build skopeo.exe for Windows).

2022-10-16

#TIL two new interesting tools for #podman: #skopeo for converting docker images and podman itself for automatically writing #systemd units for those images:

jmtd.net/log/podman_generate/

PhilFil3
2022-05-04

I think people should start looking more at for making container images. I use and all the time, even on WSLv2! However, I work mostly in the cloud, so I do what I must. for life.

Antonio Hdez. BlasπŸ”΅nihilipster@fosstodon.org
2021-08-28

"its goal [of this article] was to show you the whole landscape and all the options for building, running, managing and distributing containers and their images." #docker #podman #buildah #skopeo

martinheinz.dev/blog/35

Client Info

Server: https://mastodon.social
Version: 2025.04
Repository: https://github.com/cyevgeniy/lmst