容器时间Dockerfile
cat Dockerfile
FROM prom/prometheus:latest
# /usr/share/zoneinfo/Asia/Shanghai
COPY Shanghai /etc/localtime
ENV TIME_ZONE Asia/Shanghai
cat Dockerfile
FROM prom/prometheus:latest
# /usr/share/zoneinfo/Asia/Shanghai
COPY Shanghai /etc/localtime
ENV TIME_ZONE Asia/Shanghai