mariotoffia / FluentDocker

Use docker, docker-compose local and remote in tests and your .NET core/full framework apps via a FluentAPI
Apache License 2.0
1.31k stars 97 forks source link

How set shm-size when i use ContainerBuilder to start a container. #236

Open NineHundredMillionGirlDream opened 2 years ago

NineHundredMillionGirlDream commented 2 years ago

ContainerBuilder cb = new Builder().UseContainer() .UseImage(ImageAndTag) .Command(Command, Arg) .WithName(Name) .WithIPC(string.IsNullOrWhiteSpace(IPC) ? string.Empty : IPC) .UseNetwork(string.IsNullOrWhiteSpace(Network) ? string.Empty : Network);

I can not find a param to set shm-size.

mariotoffia commented 2 years ago

Thanks for spotting this @NineHundredMillionGirlDream - I'll add it on the next release :)