Docker-Solve the time error of the synchronization container and the host: Error response from daemon: Error processing tar file(exit status 1): invalid...

Problem background

solution

docker cp /usr/share/zoneinfo/Asia/Shanghai gitlab:/etc/localtime

Restart container

docker restart gitlab

Enter the container for verification

docker exec -it gitlab bash

Guess you like

Origin blog.csdn.net/qq_33801641/article/details/109685924