Skip to content

Missing Create Parameters? / Allow custom arguments #268

@apazureck

Description

@apazureck

Hi,

I try to create a container with GPU support with fluent docker, as specified in the Docker Documentation.

I figured out, that fluent docker does not have support for the GPU flag. I expected sth. like this:

containerBuilder.UseGpu("all");

I also did not find any way to work around. I expected it being something like this:

containerBuilder.WithCustomArgument("gpus", "all");

// or

containerBuilder.WithCustomArgument("--gpus all");

Am I missing something? The latter one would be some kind of fallback for everybody who needs features you did not provide with the builder.

If you like I would gladly offer to contribute these changes.

Cheers!

Metadata

Metadata

Assignees

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions