Q1. – 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

It is used for updating container’s configuration. A container have different configurations. We can change those configurations via docker update command.

docker update –restart=on-failure:3 renamed1

In the above example we are changing the restart policy of a container.