mirror of
https://github.com/containers/podman.git
synced 2025-05-17 06:59:07 +08:00
Remove references and checks for --gpus
No way to test this unless running on a nvidia platform. Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
This commit is contained in:
@ -247,8 +247,5 @@ func run(cmd *cobra.Command, args []string) error {
|
||||
}
|
||||
}
|
||||
}
|
||||
if cmd.Flag("gpus").Changed {
|
||||
logrus.Info("--gpus is a Docker specific option and is a NOOP")
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
@ -14,7 +14,6 @@ declare -a hidden=(
|
||||
"docker -D" # Hidden
|
||||
"docker -H" # Hidden
|
||||
|
||||
"docker .* --gpus" # Not likely to be implemented
|
||||
"docker .* --isolation" # Only for Windows containers
|
||||
"docker .* --kernel-memory" # CGroupsV1 only, present but hidden
|
||||
"docker .* --link" # Deprecated in docker
|
||||
|
Reference in New Issue
Block a user