-
Bug
-
Resolution: Won't Fix
-
Major
-
None
-
my docker-compose.yml
version: '3.1'
services:
jenkins:
image: jenkinsci/blueocean
container_name: jenkins
privileged: true
restart: always
user: root
ports:
- '8080:8080'
volumes:
- '/app:/app'
- '/usr/share/fonts:/usr/share/fonts'
- './jenkins_home:/var/jenkins_home'
- '/etc/localtime:/etc/localtime'
- '/etc/timezone:/etc/timezone'
- '/var/run/docker.sock:/var/run/docker.sock'
- '/usr/lib/x86_64-linux-gnu/libltdl.so.7:/usr/lib/x86_64-linux-gnu/libltdl.so.7'
- '~/.ssh:/var/jenkins_home/.ssh'
- '~/.m2:/root/.m2'gnu/libltdl.so.7'
- '~/.ssh:/var/jenkins_home/.ssh'
- '~/.m2:/root/.m2'my docker-compose.yml version: '3.1' services: jenkins: image: jenkinsci/blueocean container_name: jenkins privileged: true restart: always user: root ports: - '8080:8080' volumes: - '/app:/app' - '/usr/share/fonts:/usr/share/fonts' - './jenkins_home:/var/jenkins_home' - '/etc/localtime:/etc/localtime' - '/etc/timezone:/etc/timezone' - '/var/run/docker.sock:/var/run/docker.sock' - '/usr/lib/x86_64-linux-gnu/libltdl.so.7:/usr/lib/x86_64-linux-gnu/libltdl.so.7' - '~/.ssh:/var/jenkins_home/.ssh' - '~/.m2:/root/.m2'gnu/libltdl.so.7' - '~/.ssh:/var/jenkins_home/.ssh' - '~/.m2:/root/.m2'
can not change timezone
after trying many methods
https://stackoverflow.com/questions/55055357/jenkins-in-docker-how-to-change-timezone