podman-run Verified for current stable LTS

Podman Run Command: Run Command With Published Ports

Use for run command with published ports with Podman Run. Exact CLI syntax to run command with published ports using Podman Run.

When to use this: Use for run command with published ports with Podman Run.

Command Syntax

podman run -p <host_port>:<container_port> {image:tag} <command>

Command Breakdown

-p
Command Option
Tool-specific option used by this command invocation.

FAQ

Purpose: Exact syntax to run command with published ports using Podman Run.

Test path: Replace placeholders and run destructive commands in a disposable workspace first.

Flag behavior: Tool version, platform, and shell can change behavior.

Improve This Command

Suggest a correction, safer default, or version-specific note for this entry.

Related Operations

Back to Podman Run directory