diff --git a/cmd/podman/common/create.go b/cmd/podman/common/create.go index 65c78317c0..1e2bc4eeb6 100644 --- a/cmd/podman/common/create.go +++ b/cmd/podman/common/create.go @@ -814,7 +814,7 @@ func DefineCreateFlags(cmd *cobra.Command, cf *entities.ContainerCreateOptions, _ = cmd.RegisterFlagCompletionFunc(volumeFlagName, AutocompleteVolumeFlag) deviceFlagName := "device" - createFlags.StringSliceVar( + createFlags.StringArrayVar( &cf.Devices, deviceFlagName, devices(), "Add a host device to the container",