docker-compose up启动又停止,需要加tty为true

tty: true