synology nas를 사용했다

최신버전 다운받고
기본 설정 (포트번호 8080)으로 바로 실행 후 켜보니 404 오류가 나왔다.
GUI에서 안되길래 답답해서 ssh 환경에서 진행했다.
아래처럼 해결했다.
~$ docker run -d --name myTomcat -p 8080:8080 tomcat:latest
~$ docker exec -it myTomcat /bin/bash
~$ mv webapps webapps2
~$ mv webapps.dist/ webapps
~$ exit

IT WORKS
https://forums.docker.com/t/tomcat-give-error-404/95130
Tomcat give error 404
Hi guys, After running tomcat on ubuntu with port forwarding its give this error Can you help to understand whats the problem? HTTP Status 404 – Not found Type Status Report Description The origin server did not find a current representation for the targ
forums.docker.com
'Docker' 카테고리의 다른 글
| Docker로 프로젝트(Springboot), DB(Postgres), 캐시(Redis) 연동하기 (0) | 2022.07.15 |
|---|---|
| docker 삭제, docker reinstall, docker uninstall (0) | 2021.11.05 |
| docker 이미지 생성, docker hub 업로드, docker springboot mysql 연동 (0) | 2021.10.22 |
| Docker 설치 mysql 설치 및 실행하기 Ubuntu 18.04 (0) | 2021.10.22 |
| docker mysql Unknown or incorrect time zone : 'Asia/Seoul' (0) | 2021.10.22 |