Skip to content

Instantly share code, notes, and snippets.

@cgwalters
Created April 21, 2022 14:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cgwalters/e3222541496b3cc69f1dbff2e8d4a81f to your computer and use it in GitHub Desktop.
Save cgwalters/e3222541496b3cc69f1dbff2e8d4a81f to your computer and use it in GitHub Desktop.
$ podman pull quay.io/openshift-release-dev/ocp-v4.0-art-dev@sha256:502f9b8333a88ecee1eb7e904af5cb0c75946e3084a553374079abf862446c70
Trying to pull quay.io/openshift-release-dev/ocp-v4.0-art-dev@sha256:502f9b8333a88ecee1eb7e904af5cb0c75946e3084a553374079abf862446c70...
Getting image source signatures
Copying blob 1e138cc587ef done  
Copying blob 54183f4a5679 done  
Copying blob fadcf7c660d5 done  
Copying config 10b43b2460 done  
Writing manifest to image destination
Storing signatures
10b43b2460dbcfd8c95948cec3cdcf6e649b69a88807eb74a11c0ac9cffbf1d6
$ podman create quay.io/openshift-release-dev/ocp-v4.0-art-dev@sha256:502f9b8333a88ecee1eb7e904af5cb0c75946e3084a553374079abf862446c70
5d8aa8c74bb0de7a817f0a9490f248d5fc1b805ff83fcb17a8dc9703c4d51f1a
$ podman mount 5d8aa8c74bb0de7a817f0a9490f248d5fc1b805ff83fcb17a8dc9703c4d51f1a
Error: cannot run command "podman mount" in rootless mode, must execute `podman unshare` first
$ podman unshare
Welcome to fish, the friendly interactive shell
Type `help` for instructions on how to use fish
# podman mount 5d8aa8c74bb0de7a817f0a9490f248d5fc1b805ff83fcb17a8dc9703c4d51f1a
/var/home/walters/.local/share/containers/storage/overlay/d1f389067583486cef8f61ac77cdc7ade94651d92c6dcc03e0b534bdb756a423/merged
# cd /var/home/walters/.local/share/containers/storage/overlay/d1f389067583486cef8f61ac77cdc7ade94651d92c6dcc03e0b534bdb756a423/merged
# ll
total 36K
lrwxrwxrwx. 1 root    root       7 Jun 21  2021 bin -> usr/bin/
dr-xr-xr-x. 1 root    root       0 Jun 21  2021 boot/
drwxr-xr-x. 1 root    root       0 Mar 28 06:23 dev/
drwxr-xr-x. 1 root    root      22 Mar 28 06:37 etc/
drwxr-xr-x. 1 walters walters 2.4K Apr  5 02:21 extensions/
drwxr-xr-x. 1 root    root       0 Jun 21  2021 home/
lrwxrwxrwx. 1 root    root       7 Jun 21  2021 lib -> usr/lib/
lrwxrwxrwx. 1 root    root       9 Jun 21  2021 lib64 -> usr/lib64/
drwx------. 1 root    root       0 Mar 28 06:23 lost+found/
drwxr-xr-x. 1 root    root       0 Jun 21  2021 media/
drwxr-xr-x. 1 root    root       0 Jun 21  2021 mnt/
drwxr-xr-x. 1 root    root       0 Jun 21  2021 opt/
-rw-r--r--. 1 root    root     17K Apr  5 02:21 pkglist.txt
drwxr-xr-x. 1 root    root       0 Mar 28 06:23 proc/
dr-xr-x---. 1 root    root      18 Mar 28 06:37 root/
drwxr-xr-x. 1 root    root      14 Mar 28 06:37 run/
lrwxrwxrwx. 1 root    root       8 Jun 21  2021 sbin -> usr/sbin/
drwxr-xr-x. 1 root    root       8 Apr  5 02:21 srv/
drwxr-xr-x. 1 root    root       0 Mar 28 06:23 sys/
drwxrwxrwt. 1 root    root       0 Mar 28 06:37 tmp/
drwxr-xr-x. 1 root    root     100 Mar 28 06:23 usr/
drwxr-xr-x. 1 root    root       6 Mar 28 06:23 var/
# ostree --repo=srv/repo fsck
Validating refs...
Validating refs in collections...
Enumerating objects...
Verifying content integrity of 1 commit objects...
fsck objects (28343/28343) [=============] 100%
object fsck of 1 commits completed successfully - no errors found.
#
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment