Skip to content

python exec to replace UTC dates to localtime in docker logs pipe

License

Notifications You must be signed in to change notification settings

ieaster1/docker-logs-localtime

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

docker-logs-localtime

replace all UTC dates to local dates in pipe by ieaster1 https://github.com/ieaster1

usage: docker logs -t container_name | local-docker-logs

docker-logs-localtime example

Install

wget -O /usr/local/bin/docker-logs-localtime https://raw.githubusercontent.com/ieaster1/docker-logs-localtime/master/docker-logs-localtime && chmod +x /usr/local/bin/docker-logs-localtime

or

git clone https://github.com/ieaster1/docker-logs-localtime.git /usr/local/docker-logs-localtime && ln -s /usr/local/docker-logs-localtime/docker-logs-localtime /usr/local/bin/docker-logs-localtime && chmod +x /usr/local/docker-logs-localtime/docker-logs-localtime /usr/local/bin/docker-logs-localtime

About

python exec to replace UTC dates to localtime in docker logs pipe

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages