Change system date time in Docker containers without impacting host

前端 未结 2 544
礼貌的吻别
礼貌的吻别 2020-12-30 03:21

Is it possible to change the system time in Docker containers without changing the host itself?

We are using Docker containers for testing which are sometimes time se

2条回答
  •  长情又很酷
    2020-12-30 04:01

    Just a follow up for those looking to have different datetime in Docker containers, https://github.com/wolfcw/libfaketime should probably be able to do the job.

提交回复
热议问题