alpine-set-time-zone
alpine 시스템 시간 맞추기
가상이 아닐 경우 host의 시간을 읽어와서 문제가 없지만, docker container 내부의 시간은 UST로 돌아간다.
apk --no-cache add tzdata
cp /usr/share/zoneinfo/Asia/Seoul /etc/localtime
echo "Asia/Seoul" > /etc/timezone
apk del tzdata
Will docker container auto sync time with the host machine?
$ docker run -it -v /etc/localtime:/etc/localtime:ro < image >