You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jan 15, 2026. It is now read-only.
Hello, I am trying to examine a docker images without a docker tool. I have created a simple smallest docker image, where I encounter following error. The image can be found in docker repository: dohnto/debian-skopeo. The dockerfile is following
FROM debian:8.3
RUN apt-get update -y && \
apt-get upgrade -y
Note, that during building such an image, a systemd will be upgraded:
...
The following packages will be upgraded:
apt base-files dmsetup dpkg e2fslibs e2fsprogs gnupg gpgv libapt-pkg4.12
libc-bin libc6 libcomerr2 libdevmapper1.02.1 libgcrypt20 libpam-modules
libpam-modules-bin libpam0g libpcre3 libss2 libsystemd0 libudev1
multiarch-support perl-base systemd systemd-sysv tzdata udev
27 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
...
My workflow in further examination is following:
$ skopeo --version
skopeo version 0.1.17-dev commit: 507d09876d0620d46de7c8c20eb9b58d2dffa482
$ skopeo copy docker://dohnto/debian-skopeo oci:tmp
$ oci-image-tool validate tmp
reference "latest": OK
tmp: OK
$ oci-image-tool unpack --ref latest tmp tmp2
unpacking failed: error extracting layer: symlink /lib/systemd/systemd tmp2/bin/systemd: file exists
$ ls -l tmp2/bin/systemd
lrwxrwxrwx 1 tom tom 20 15. říj 16.38 tmp2/bin/systemd -> /lib/systemd/systemd
I expected this to work and the oci-image-tool to actually unpack the oci image into a folder I could chroot. Thank you for any help or workaround how to solve this issue.