It looks like it is a bug of latest version Google COS Google, Container-Optimized OS, 105-17412.156.30 LTS, Kernel: COS-5.15.120 Kubernetes: 1.25.5 Docker: 23.0.3 Family: cos-105-lts
.
- Create Dockerfile with command
RUN chmod 777 /tmp
- Shut down all affected container by
docker-compose down
- Remove all the unused images by
docker image prune -a
- Clear all the cache bu
docker system prune
- Turn on the containers by
docker-compose up -d
, it will rebuild all the needed image and set correct permission to/tmp
.