Docker Build Image 時設定時區 Post author:rovingwind Post published:2021 年 7 月 25 日 Post category:ASP.NET Core / Docker Post comments:0 Comments 在 Dockerfile 加入下列設定 ENV TZ=Asia/Taipei RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone TZ 指定成你要的時區 You Might Also Like docker 容器 vim: command not found 2020 年 11 月 27 日 Synology 讓 Docker 服務可以透過 SSL 對外 2021 年 7 月 25 日 Docker 基本指令 2020 年 11 月 27 日 發佈留言 取消回覆CommentEnter your name or username to comment Enter your email address to comment Enter your website URL (optional) 在瀏覽器中儲存顯示名稱、電子郵件地址及個人網站網址,以供下次發佈留言時使用。