Answer: Assignment Day2

Update:

On go we can change the settings of the container using Update command

Before updating the memory-swap

After updating the memory-swap and memory

Wait:

Docker wait command waits for 1 or more container to exit and provides the return status of the docker exit.
Once docker wait is used the control will go inside the container and waits there until its get exited.