docker deployment errors Jenkins time zone issue

  1. Log in as administrator container: docker exec -it -u root xxx / bin / bash


  2. When viewing the current container area: cat / etc / timezone


  3. Changing the current container region: echo 'Asia / Shanghai'> / etc / timezone 


  4. Restart the current container: docker restart xxx

Guess you like

Origin blog.51cto.com/11726705/2438059