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

DevOps

MOTOSHARE 🚗🏍️
Turning Idle Vehicles into Shared Rides & Earnings

From Idle to Income. From Parked to Purpose.
Earn by Sharing, Ride by Renting.
Where Owners Earn, Riders Move.
Owners Earn. Riders Move. Motoshare Connects.

With Motoshare, every parked vehicle finds a purpose. Owners earn. Renters ride.
🚀 Everyone wins.

Start Your Journey with Motoshare

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
            },
Code language: JavaScript (javascript)