diff --git a/cmd/podman/common/create.go b/cmd/podman/common/create.go index e574f228ed..da391d30d5 100644 --- a/cmd/podman/common/create.go +++ b/cmd/podman/common/create.go @@ -822,6 +822,7 @@ func DefineCreateFlags(cmd *cobra.Command, cf *ContainerCLIOpts) { &cf.PidFile, pidFileFlagName, "", "Write the container process ID to the file") + _ = cmd.RegisterFlagCompletionFunc(pidFileFlagName, completion.AutocompleteDefault) _ = createFlags.MarkHidden("signature-policy") if registry.IsRemote() {