Does docker have a ram limit? Even as we specify in the parameter -memory? Because my docker, even if I give 55GB RAM, is up to 18GB (more or less), I use windows containers. I wonder if the --memory-swap flag would help or are there any settings in demon.json? I need to use 40GB
return await client.Containers.CreateContainerAsync(
new CreateContainerParameters
{
Env = environmentVariables,
Name = containerName,
Image = imageName,
ExposedPorts = new Dictionary<string, EmptyStruct>
{
{
"80", default(EmptyStruct)
}
},
HostConfig = new HostConfig
{
Memory = containerMemory,
Isolation = "process",