Simple image that genrates date and time in a given time zone and saves the output to a file named "index.html" in a given path, intended to be used for educational purposes.
$ docker container run -d --name container-name tabpad/timegen:latest
# Generates date and time in UTC and saves to default path /usr/share/nginx/html/index.html
$ docker container run -d --name NewYork tabpad/timegen:latest EST
$ docker container run -d --name NewYork tabpad/timegen:latest America/New_York
# Generates date and time in Eastern Standard Time and saves to default path /usr/share/nginx/html/index.html
$ docker container run -d --name NewYork tabpad/timegen:latest EST /path/html
$ docker container run -d --name NewYork tabpad/timegen:latest EST /path/html/
# Generates date and time in Eastern Standard Time and saves to /path/html/index.html
Content type
Image
Digest
sha256:6f9943135…
Size
3.5 MB
Last updated
almost 4 years ago
docker pull tabpad/timegen