kst3 docker / UTC / KST / tzdata _ _ _ ____ __ __ | \ | | __ _(_)_ __ __ _| _ \ _ __ _____ ___ _| \/ | __ _ _ __ __ _ __ _ ___ _ __ | \| |/ _` | | '_ \\ \/ / |_) | '__/ _ \ \/ / | | | |\/| |/ _` | '_ \ / _` |/ _` |/ _ \ '__| | |\ | (_| | | | | |> 2024. 3. 12. docker / ubuntu / UTC / KST / 시간대역변경 user@PC:~$ docker exec -it [ContainerID] date Fri Mar 8 05:11:35 UTC 2024 user@PC:~$ user@PC:~$ user@PC:~$ docker exec -it [ContainerID] grep . /etc/*-release /etc/lsb-release:DISTRIB_ID=Ubuntu /etc/lsb-release:DISTRIB_RELEASE=18.04 /etc/lsb-release:DISTRIB_CODENAME=bionic /etc/lsb-release:DISTRIB_DESCRIPTION="Ubuntu 18.04.6 LTS" /etc/os-release:NAME="Ubuntu" /etc/os-release:VERSION="18.04.6 LTS.. 2024. 3. 8. centos / timezone변경 UTC --> KST [root@ip-172-31-17-53 opt]# date Thu Sep 11 16:41:45 UTC 2014 [root@ip-172-31-17-53 opt]# ls -al /etc/localtime -rw-r--r--. 1 root root 118 Jan 11 2014 /etc/localtime [root@ip-172-31-17-53 opt]# ln -sf /usr/share/zoneinfo/Asia/Seoul /etc/localtime [root@ip-172-31-17-53 opt]# ls -al /etc/localtime lrwxrwxrwx. 1 root root 30 Sep 12 01:47 /etc/localtime -> /usr/share/zoneinfo/Asia/Seoul [root@ip-17.. 2020. 4. 22. 이전 1 다음 반응형