wait: Block until one or more containers stop, then print their exit codes

in other terminal, if we stop the container, then will get the status code 0

update:
docker update [OPTIONS] CONTAINER [CONTAINER...]Code language: CSS (css)

docker inspect

docker update


similarly we can do for other configurations as well