Last active
April 12, 2021 18:06
-
-
Save cgwalters/47e4a6c5f6a06cb34c3c5f523b22a8c3 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ ostree-ext-cli container export-oci --repo=/var/srv/walters/builds/fcos/tmp/repo fedora/x86_64/coreos/testing-devel tmp/fcos-oci | |
$ ll tmp/fcos-oci/ | |
total 8.0K | |
drwxr-xr-x. 1 walters walters 12 Apr 12 13:59 blobs | |
-rw-r--r--. 1 walters walters 235 Apr 12 14:00 index.json | |
-rw-r--r--. 1 walters walters 30 Apr 12 13:59 oci-layout | |
$ ll tmp/fcos-oci/blobs/sha256/ | |
total 709M | |
-rw-r--r--. 1 walters walters 350 Apr 12 14:00 2577566f24e885356203c0f010bc39371bf968d6d4f1b5f77b010a3be4c47f62 | |
-rw-r--r--. 1 walters walters 709M Apr 12 14:00 661e87aeae95f660663bce7539ad3386cecd787b01f960ce6e20e3b90c372128 | |
-rw-r--r--. 1 walters walters 204 Apr 12 14:00 c7bb58b090322753f6473d2433d1d8d8d33e3743de0d7a6ca93a14816ee0a567 | |
$ skopeo inspect oci:tmp/fcos-oci/ | |
{ | |
"Digest": "sha256:2577566f24e885356203c0f010bc39371bf968d6d4f1b5f77b010a3be4c47f62", | |
"RepoTags": [], | |
"Created": null, | |
"DockerVersion": "", | |
"Labels": null, | |
"Architecture": "amd64", | |
"Os": "linux", | |
"Layers": [ | |
"sha256:661e87aeae95f660663bce7539ad3386cecd787b01f960ce6e20e3b90c372128" | |
], | |
"Env": null | |
} | |
$ skopeo copy oci:tmp/fcos-oci docker://quay.io/cgwalters/fcos | |
Getting image source signatures | |
Copying blob 661e87aeae95 done | |
Copying config c7bb58b090 [--------------------------------------] 0.0b / 204.0b | |
Writing manifest to image destination | |
Copying config c7bb58b090 [======================================] 204.0b / 204.0b | |
Writing manifest to image destination | |
Storing signatures | |
$ podman-host run --entrypoint bash --rm -ti quay.io/cgwalters/fcos | |
bash-5.0# grep OSTREE /usr/lib/os-release | |
OSTREE_VERSION='33.20210330.dev.0' | |
bash-5.0# rpm-ostree status | |
error: This system was not booted via libostree; cannot operate | |
bash-5.0# | |
``` |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment