Docker方式啓動tomcat,訪問首頁出現404錯誤

 1、使用docker pull tomcat 從阿里雲上默認下載了一個latest的版本的tomcat(版本是從阿里雲上拉下的:8.5.50),進行相關網絡端口映射,如下命令: docker run --name mytomcat01 -d -p 8888:8080 tomcat 2、瀏覽器運行訪問不了,報404,這個證明tomcat已經起來了,可能webapp路徑下沒有配置主頁。 3、輸入do
相關文章
相關標籤/搜索