diff --git a/podman/domain/containers_create.py b/podman/domain/containers_create.py index a23f4494..029a6873 100644 --- a/podman/domain/containers_create.py +++ b/podman/domain/containers_create.py @@ -331,6 +331,7 @@ def create( volumes_from (List[str]): List of container names or IDs to get volumes from. working_dir (str): Path to the working directory. + workdir (str): Alias of working_dir - Path to the working directory. Returns: A Container object. @@ -525,7 +526,7 @@ def to_bytes(size: Union[int, str, None]) -> Union[int, None]: "version": pop("version"), "volumes": [], "volumes_from": pop("volumes_from"), - "work_dir": pop("working_dir"), + "work_dir": pop("workdir") or pop("working_dir"), } for device in args.pop("devices", []):