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:
Daniel J Walsh committed 2024-07-17 12:02:51 -04:00
1 parent 555763c2a5
commit 5666100c2e
2 files changed
-4

No files matched your search

-3
View File
@@ -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
}
-1
View File
@@ -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