diff --git a/cmd/nvidia-ctk/README.md b/cmd/nvidia-ctk/README.md index fd73ee9b1..82923d9a4 100644 --- a/cmd/nvidia-ctk/README.md +++ b/cmd/nvidia-ctk/README.md @@ -67,7 +67,7 @@ sudo nvidia-ctk cdi generate --output=/etc/cdi/nvidia.yaml ``` (Note that `sudo` is used to ensure the correct permissions to write to the `/etc/cdi` folder) -With the specification generated, a GPU can be requested by specifying the fully-qualified CDI device name. With `podman` as an exmaple: +With the specification generated, a GPU can be requested by specifying the fully-qualified CDI device name. With `podman` as an example: ```bash podman run --rm -ti --device=nvidia.com/gpu=gpu0 ubuntu nvidia-smi -L ``` diff --git a/tests/e2e/runner.go b/tests/e2e/runner.go index 1f191ff0b..cfbcc081c 100644 --- a/tests/e2e/runner.go +++ b/tests/e2e/runner.go @@ -275,7 +275,7 @@ func (r remoteRunner) Run(script string) (string, string, error) { return stdout.String(), "", nil } -// Run runs teh specified script in the container using the docker exec command. +// Run runs the specified script in the container using the docker exec command. // The script is is run as the root user. func (r nestedContainerRunner) Run(script string) (string, string, error) { return r.runner.Run(`docker exec -u root "` + r.containerName + `" bash -c '` + script + `'`)