blog.hendricksen.dev
  • Alpine
  • Azure
  • Container
  • Cycleracing
  • Docker
  • Dot Net
  • Filebeat
  • Google Drive
  • Gps
  • Home Automation
  • Internet
  • Node Red
  • Openhab
  • P2000
  • Privacy
  • Security
  • Sensors
  • Traefik
  • Unifi

Making use of timezone in an alpine container image

To set your alpine-based container to output the date in your favorite local timezone, pass it the TZ=Europe/Amsterdam environment variable and also install the tzdata package using apk. A date command will then give you your local time instead of (the default) UTC time.

Read full post
Dec 17, 2021 2 min read alpine container
Page 1 of 1
Built with Hugo and
Back to top