Forrest logo
back to context overview

podman-run

List of commands for podman-run:

  • podman-run:tldr:004cb podman-run: Run command in a new container with passed environment variables.
    $ podman run --env '${variable}=${value}' --env ${variable} ${image:tag} ${command}
    try on your machine
    explain this command
  • podman-run:tldr:0d94c podman-run: Run command in a new container from a tagged image.
    $ podman run ${image:tag} ${command}
    try on your machine
    explain this command
  • podman-run:tldr:66709 podman-run: Run command in a new container connecting it to a network.
    $ podman run --network ${network} ${image:tag}
    try on your machine
    explain this command
  • podman-run:tldr:88f2e podman-run: Run command in a new container with bind mounted volumes.
    $ podman run --volume ${-path-to-host_path}:${-path-to-container_path} ${image:tag} ${command}
    try on your machine
    explain this command
  • podman-run:tldr:a19ab podman-run: Run command in a one-off container in interactive mode and pseudo-TTY.
    $ podman run --rm --interactive --tty ${image:tag} ${command}
    try on your machine
    explain this command
  • podman-run:tldr:c1af4 podman-run: Run command in a new container in background and display its ID.
    $ podman run --detach ${image:tag} ${command}
    try on your machine
    explain this command
  • podman-run:tldr:e7bd9 podman-run: Run command in a new container overwriting the entrypoint of the image.
    $ podman run --entrypoint ${command} ${image:tag}
    try on your machine
    explain this command
  • podman-run:tldr:edf2a podman-run: Run command in a new container with published ports.
    $ podman run --publish ${host_port}:${container_port} ${image:tag} ${command}
    try on your machine
    explain this command
back to context overview