Setting Resources and Limits

Soft limit – the container can go over limit 

Hard limit – container cant go over a limit

Soft limit limit example

Docker container -dt –name container2 –memory-reservation 250m busybox sh

Hard limit example

Docker container -dt –name container2 -m 500m –memory-reservation 250m busybox sh

(Visited 34 times, 1 visits today)

Leave a Reply