Podman

To import container image(s) from an archive or compressed file:

podman load -i < <archive.tar>|<compressed_file.gz>

To export a container as an archive:

podman export <container_name> -o <archive>.tar

To inspect a container:

podman inspect <container_name>

The JSON file retrieved from the command above can be filter either with jq or format option:

Filtering with jq

podman inspect <container_name> | jq .[0].ImageName

Filtering with format option:

podman inspect <container_name> --format=''

To check the logs of a container

podman logs <container_name>

To connect to shell in interactive mode within the container:

podman exec -it <container_name> /bin/bash

This site uses Just the Docs, a documentation theme for Jekyll.