Skip to content

Commit

Permalink
Remove the remove flag from docstring of Container.create()
Browse files Browse the repository at this point in the history
This commit removes the `remove` flag from the docstring entirely, as
the create() operation doesn't support the `remove` flag. It is
tolerated as an input because run() supports it and it internally calls
the start() operation relaying its own kwargs.

Signed-off-by: Riccardo Paolo Bestetti <pbl@bestov.io>
  • Loading branch information
vmsh0 committed Jan 10, 2025
1 parent f8324c2 commit 6fc98fa
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion podman/domain/containers_create.py
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,6 @@ def create(
read_only (bool): Mount the container's root filesystem as read only.
read_write_tmpfs (bool): Mount temporary file systems as read write,
in case of read_only options set to True. Default: False
remove (bool): Remove the container when it has finished running. Default: False.
restart_policy (Dict[str, Union[str, int]]): Restart the container when it exits.
Configured as a dictionary with keys:
Expand Down

0 comments on commit 6fc98fa

Please sign in to comment.