What is the use of “docker update” commands? with example and image

Limited Time Offer!

For Less Than the Cost of a Starbucks Coffee, Access All DevOpsSchool Videos on YouTube Unlimitedly.
Master DevOps, SRE, DevSecOps Skills!

Enroll Now

Docker update command updates the container properties. In the below example I have update –memory-reservation

Before updating :
docker inspect 8de604debbb0
"MemoryReservation": 0,


After updating: docker update 8de604debbb0 --memory-reservation 50M
"MemoryReservation": 52428800,