We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Describe the bug when I launched powerjobServer in docker container time is not consist with Host Node
To Reproduce docker run command:
docker run -ti --entrypoint /bin/bash powerjob/powerjob-server:4.3.6
then exec the date comman:
root@e21d6333f969:/# date Mon Apr 8 10:27:33 Asia 2024
but the host Node time is Mon Apr 8 18:27:33 Asia 2024,time offset is 8 hours
Mon Apr 8 18:27:33 Asia 2024
then I make a new Dockerfile as below:
FROM powerjob/powerjob-server:4.3.6 RUN apt update \ && apt install -y tzdata \ && ln -fs /usr/share/zoneinfo/${TZ} /etc/localtime \ && echo ${TZ} > /etc/timezone \ && dpkg-reconfigure --frontend noninteractive tzdata \ && rm -rf /var/lib/apt/lists/*
build by it:
docker build . -t pserver
run the new image:
docker run -ti --entrypoint /bin/bash pserver
now is consist with Host Node time: Mon Apr 8 18:31:59 CST 2024
Mon Apr 8 18:31:59 CST 2024
root@62ac7455d3b3:/# date Mon Apr 8 18:31:59 CST 2024
Expected behavior A clear and concise description of what you expected to happen.
Environment
Screenshots If applicable, add screenshots to help explain your problem.
The text was updated successfully, but these errors were encountered:
relevant Dockerfile:
Sorry, something went wrong.
KFCFans
No branches or pull requests
Describe the bug
when I launched powerjobServer in docker container time is not consist with Host Node
To Reproduce
docker run command:
then exec the date comman:
root@e21d6333f969:/# date Mon Apr 8 10:27:33 Asia 2024
but the host Node time is
Mon Apr 8 18:27:33 Asia 2024
,time offset is 8 hoursthen I make a new Dockerfile as below:
build by it:
docker build . -t pserver
run the new image:
now is consist with Host Node time:
Mon Apr 8 18:31:59 CST 2024
root@62ac7455d3b3:/# date Mon Apr 8 18:31:59 CST 2024
Expected behavior
A clear and concise description of what you expected to happen.
Environment
Screenshots
If applicable, add screenshots to help explain your problem.
The text was updated successfully, but these errors were encountered: