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!
Used to change container configurations.
To update restart policy
docker update --restart=always 5337b0dc70e87be6c87309004abbc9eff8227a6b4c95cdf5a1b788bf96c6fb70
Before:
"RestartPolicy": {
"Name": "always",
"MaximumRetryCount": 0
},
After:
"RestartPolicy": {
"Name": "always",
"MaximumRetryCount": 0
},