How to change the time zone inside a Docker container running Ubuntu

More information can be seen in my other article.

You should always set the correct time zone in your app. However if you want the server’s time to be your time, you can use the following command to reconfigure it:

sudo dpkg-reconfigure tzdata

Check this Dockerfile and this bash script that automate the process.

More information with images.

Put your GitLab on HTTPS

For this article I will use the following configuration:GitLab Docker image by sameersbn ...

Learn more

About Iliyan Trifonov

Web Developer, Blogger
Tagged , , , . Bookmark the permalink.