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

The docker update command dynamically updates container configuration

Update a container’s cpu-shares
$ docker update --cpu-shares 512 1afa20d7cfe5