From 6fc98fa4e0daf445486c5d560d5c92fd2b569155 Mon Sep 17 00:00:00 2001 From: Riccardo Paolo Bestetti Date: Fri, 10 Jan 2025 19:12:58 +0100 Subject: [PATCH] Remove the `remove` flag from docstring of Container.create() 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 --- podman/domain/containers_create.py | 1 - 1 file changed, 1 deletion(-) diff --git a/podman/domain/containers_create.py b/podman/domain/containers_create.py index b6b1fadd..ec140433 100644 --- a/podman/domain/containers_create.py +++ b/podman/domain/containers_create.py @@ -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: