# running an interactive container with a tty (remove container after exiting)
podman run -it --rm busybox

# list the images available in the image repository 
podman image list

# build a container from a Dockerfile located in the current directory
podman image build . --tag hello

# run the container just built
podman run -it --rm hello

# show how the history of a image
podman image history hello

# show the layers of an image in a tree layout
podman image tree hello

# remove the container image
podman image rm hello




# create a pod
podman pod create hello-pod

# list the pod just created
podman pod list

# add a container to the pod
podman run -dt --pod hello-pod busybox top

# list the running containers
podman ps -a --pod

# stop the pod and all its containers
podman pod stop hello-pod

# start the pod and all its containers again
podman pod start hello-pod



# inspect the secure computing policy
less /usr/share/containers/seccomp.json
