개발/docker
Docker 환경에서 Tomcat 시간변경
issac
2022. 2. 23. 09:42
docker 컨테이너 시간바꾸기
-컨테이너 접속 후
# dpkg-reconfigure tzdata
- 한국 서울 기준
6(Asia) -> 68(Seoul) 선택
# date로 변경된 시간 확인 후 docker 재시작
또는
ln -snf /usr/share/zoneinfo/Asia/Seoul /etc/localtime
echo Asia/Seoul > /etc/timezone