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.

Converting Mongoose model functions to be Promise and callback friendly simultaneously

I just started using promises in one of my Node.js applications after watching the callback ...

Learn more

About Iliyan Trifonov

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