重啟 docker 容器

docker restart <container> [<container>...]

選項 –time :在殺死容器之前等待停止的秒數(預設值為 10)

docker restart <container> --time 10