Error:
WARN[0000] /home/ubuntu/project_to_deploy/docker-compose.yml: `version` is obsolete
[+] Running 3/0
✔ Container project_to_deploy-redis-1 Running 0.0s
✔ Container project_to_deploy-database-1 Running 0.0s
✔ Container project_to_deploy-websocket-1 Created 0.0s
Attaching to adminer-1, database-1, php-1, redis-1, websocket-1
Error response from daemon: mkdir /var/lib/docker/overlay2/6caecba4dc69066223cc30ef07739db25ab9a0b6e3b0aef822cac66c3e633d27/merged: no space left on device
Solution:
Step 1: Disk Space Check
df -h

Step 2: Unused Docker Images and Containers:
docker system prune -a

Step 3: Docker Volumes Check:
docker volume ls

Step 4: Docker Configuration:
The location of the s file may differ depending on your operating system:
Linux: /etc/docker/daemon.json or /etc/default/docker
macOS: /etc/docker/daemon.json or in the settings of the Docker Desktop application
Windows: in the settings of the Docker Desktop application
You can configure the space using the storage-opt parameter in the daemon.json file:
{
"storage-opt": [
"dm.basesize=20G"
]
}
Thanks for Reading.