Skip to content

Commit

Permalink
Merge pull request #167 from zplzk2/master
Browse files Browse the repository at this point in the history
Add method WithIPC()
  • Loading branch information
mariotoffia authored Nov 27, 2020
2 parents 5b6bc0c + 0ad5cd0 commit 7337c28
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Ductus.FluentDocker/Builders/ContainerBuilder.cs
Original file line number Diff line number Diff line change
Expand Up @@ -310,6 +310,12 @@ public ContainerBuilder UseHealthCheck(string cmd = null, string interval = null
return this;
}

public ContainerBuilder WithIPC(string ipc)
{
_config.CreateParams.Ipc = ipc;
return this;
}

/// <summary>
/// Specifies a container runtime, e.g. NVIDIA for GPU workloads.
/// </summary>
Expand Down

0 comments on commit 7337c28

Please sign in to comment.