Small tip I wanna share regarding container images. Sometimes, you just wanna kn...
Alyx @x_cli@infosec.exchange
Small tip I wanna share regarding container images.
Sometimes, you just wanna know what is in that container image, but you don't wanna execute it or maybe it does not even have a shell in it to point the entrypoint to.
For this, I use podman:
- podman pull <my_image>
- podman unshare
- cd $(podman image mount <my_image>)
Tadaaa! You are in a mount point at the root directory of the container image.
You can umount with `cd ; podman image umount <my_image>` when you are done.