for docker_id in `docker container ls -a | awk '{print $1}'`;do docker restart $docker_id echo "完成启动$docker_id" done