```
apk add tzdata
```
ex:
Dockerfile
```
from python:3.7-alpine
RUN apk add tzdata
ENV TZ=Asia/Bangkok
CMD xxxx
```
#TimeZone in slim and Ubuntu Linux Docker Container
ex:
Dockerfile
```
from python
ENV TZ=Asia/Bangkok
CMD xxxx
```
ex:
Run Container (slim or full linux images)
```
docker run --name container-name -e 'TZ=Asia/Bangkok' python
```
It is so nice article thank you for sharing this valuable content
ReplyDeleteDocker Training in Hyderabad
Kubernetes Training in Hyderabad
Docker and Kubernetes Training
Docker and Kubernetes Online Training