docker run之后状态总是Exited

add -it
docker run -it -name test -d nginx:latest /bin/bash

原文地址:https://www.cnblogs.com/vickey-wu/p/8718613.html