Skip to content

Commit

Permalink
WithContainerRunArgs --> WithContainerRuntimeArgs (#1356)
Browse files Browse the repository at this point in the history
Was using old name
  • Loading branch information
davidebbo authored Jul 15, 2024
1 parent b2b9bc8 commit 78382b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/fundamentals/app-host-overview.md
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ var ollama = builder.AddContainer("ollama", "ollama/ollama")
.WithBindMount("./ollamaconfig", "/usr/config")
.WithHttpEndpoint(port: 11434, targetPort: 11434, name: "ollama")
.WithEntrypoint("/usr/config/entrypoint.sh")
.WithContainerRunArgs("--gpus=all");
.WithContainerRuntimeArgs("--gpus=all");
```

For more information, see [GPU support in Docker Desktop](https://docs.docker.com/desktop/gpu/).
Expand Down

0 comments on commit 78382b3

Please sign in to comment.