podman-run
Run a command in a new Podman container. tldr-pages
On several platforms
Several platforms
Run command in a new container from a tagged image
podman run image:tag commandIdentifyRun command in a new container in background and display its ID
podman run --detach image:tag commandIdentifyRun command in a one-off container in interactive mode and pseudo-TTY
podman run --rm --interactive --tty image:tag commandIdentifyRun command in a new container with passed environment variables
podman run --env 'variable=value' --env variable image:tag commandIdentifyRun command in a new container with bind mounted volumes
podman run --volume /path/to/host_directory:/path/to/container_directory image:tag commandIdentifyRun command in a new container with published ports
podman run --publish host_port:container_port image:tag commandIdentifyRun command in a new container overwriting the entrypoint of the image
podman run --entrypoint command image:tagIdentifyRun command in a new container connecting it to a network
podman run --network network image:tagIdentify