Which option sets a memory limit of 128 MiB for a container?
Answer & explanation
Answer: --memory=128m
The --memory option configures the container memory limit. CPU quotas and exposed ports serve different purposes.
Practice resource limits with self-contained questions. Check your answer, then use the explanation to understand the reasoning.
Answer: --memory=128m
The --memory option configures the container memory limit. CPU quotas and exposed ports serve different purposes.