INTERNAL ERROR: cannot create temporary directory !: Docker environment

Yuta is learning Ruby and Rspec!

When I opened my portfolio site for the first time in a while, it turned out to be a screen I didn't want to see in a production environment. However, since this problem was raised in the docker issue on github, I was able to solve the problem relatively easily.

スクリーンショット 2020-10-12 9.27.51.png

Also, because I was using RDS on AWS, the database was safe. RDS is expensive, but it's good mentally !!

environment

Solutions

The solution is to delete the image of the container. However, the information inside the container may disappear ... The information was ambiguous there.

$ docker rm $(docker ps -a -q)
$ docker rm -f $(docker ps -a -q)
$ docker-compose build --no-cache

Cause

It seems that docker-compose will not start when the disk space of docker-compose is running low.

In other words, if you keep data or put together too much processing in the docker-compose file, the cache will accumulate, the docker-compose disk space will run out, and `ʻINTERNAL ERROR: cannot create temporary directory! `` will occur. ..

reference

https://github.com/docker/compose/issues/3262

Recommended Posts

INTERNAL ERROR: cannot create temporary directory !: Docker environment
[Docker] Create Elasticsearch, Kibana environment!
Create a Vue3 environment with Docker!
Create SolrCloud verification environment with Docker
Create Laravel environment with Docker (docker-compose)
Create Rails 6 + MySQL environment with Docker compose
Create a MySQL environment with Docker from 0-> 1
Create Spring Boot-gradle-mysql development environment with Docker
[Docker] Create Node.js + express + webpack environment with Docker
Install Docker and create Java runtime environment
[Memo] Create a CentOS 8 environment easily with Docker
Create a Privoxy + Tor environment instantly using Docker
500 Internal Server Error occurs in Rails production environment
Create a docker environment for Oracle 11g XE
Create a Spring Boot development environment with docker
Docker environment construction
Migration error after Activerecord association in Rails5 + Docker environment (2)
Migration error after Activerecord association in Rails5 + Docker environment
Create an E2E test environment with Docker x Cypress
[Note] Create a java environment from scratch with docker
Create Chisel development environment with Windows10 + WSL2 + VScode + Docker