docker start :啓動一個或多少已經被中止的容器docker
docker stop :中止一個運行中的容器tomcat
docker restart :重啓容器rest
語法: docker start [OPTIONS] CONTAINER [CONTAINER...] docker stop [OPTIONS] CONTAINER [CONTAINER...] docker restart [OPTIONS] CONTAINER [CONTAINER...]
docker start mytomcat
docker stop mytomcat
docker restart mytomcat