Skip to content

Clarify or remove -t option in container run example in docs #27605

@pr0way

Description

@pr0way

In the running a container example, the -t (pseudo-TTY) option is included when running a simple httpd server, which does not actually require an interactive terminal. This may confuse beginners who see the option but do not understand its necessity.

For better clarity and to improve the documentation for new users, I propose one of the following:

  • Remove the -t option from this example, as it is not required for running httpd in detached mode.
  • Extend the documentation with an additional example demonstrating interactive shell usage where -i and -t are explained.
  • Add a note clarifying that -t is optional for non-interactive services like httpd and can be omitted.

What do you think about this change? I believe this will improve comprehension for beginners using Podman.

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationIssue or fix is in project documentationtriagedIssue has been triaged

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions