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
2024-07-17 12:01:12 -04:00
parent 555763c2a5
commit 5666100c2e
2 changed files with 0 additions and 4 deletions

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
}

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