Create a pod and run a container in it

Put containers into one pod so they share the same network namespace

podman pod create --name mypod -p 8080:80 && podman run -d --pod mypod nginx:alpine

tool
podman16 commands
tags
podmancontainers

More podman commands

all 16 podman commands