容器时区
centos
shell
docker run \
-itd \
-e TZ=Asia/Shanghai \
--name centos-7.9.2009 \
-d registry.cn-qingdao.aliyuncs.com/xuxiaoweicomcn/centos:7.9.2009
debian
shell
docker run \
-itd \
-e TZ=Asia/Shanghai \
--name debian-bookworm \
-d registry.cn-qingdao.aliyuncs.com/xuxiaoweicomcn/debian:bookworm
shell
docker run \
-itd \
-e TZ=Asia/Shanghai \
--name debian-bullseye \
-d registry.cn-qingdao.aliyuncs.com/xuxiaoweicomcn/debian:bullseye
shell
docker run \
-itd \
-e TZ=Asia/Shanghai \
--name debian-buster \
-d registry.cn-qingdao.aliyuncs.com/xuxiaoweicomcn/debian:buster
shell
docker run \
-itd \
-e TZ=Asia/Shanghai \
--name debian-stretch \
-d registry.cn-qingdao.aliyuncs.com/xuxiaoweicomcn/debian:stretch
shell
docker run \
-itd \
-e TZ=Asia/Shanghai \
--name debian-jessie \
-d registry.cn-qingdao.aliyuncs.com/xuxiaoweicomcn/debian:jessie
ubuntu
shell
docker run \
-itd \
-v /etc/localtime:/etc/localtime:ro \
--name ubuntu-noble \
-d registry.cn-qingdao.aliyuncs.com/xuxiaoweicomcn/ubuntu:noble
shell
docker run \
-itd \
-v /etc/localtime:/etc/localtime:ro \
--name ubuntu-jammy \
-d registry.cn-qingdao.aliyuncs.com/xuxiaoweicomcn/ubuntu:jammy
shell
docker run \
-itd \
-v /etc/localtime:/etc/localtime:ro \
--name ubuntu-focal \
-d registry.cn-qingdao.aliyuncs.com/xuxiaoweicomcn/ubuntu:focal
shell
docker run \
-itd \
-v /etc/localtime:/etc/localtime:ro \
--name ubuntu-bionic \
-d registry.cn-qingdao.aliyuncs.com/xuxiaoweicomcn/ubuntu:bionic
shell
docker run \
-itd \
-v /etc/localtime:/etc/localtime:ro \
--name ubuntu-xenial \
-d registry.cn-qingdao.aliyuncs.com/xuxiaoweicomcn/ubuntu:xenial