Reputation: 49
I'm trying to start some docker containers, but docker-compose up -d fails because no space left on device, i've tried cleaning all unused images, volumes and containers but i still have the same problem.
Here's the issue.
docker compose error
Upvotes: 2
Views: 7606
Reputation: 1384
The problem with docker container's is that it takes alot of memory space within or system so if you don't have enough memory space docker will throw an exception about no space left.
You should always use sudo docker system prune
command to avoid those errors, Before building any new image don't forget to use this command;
This command will remove all images, containers & volumes from your system.
Don't forget to use sudo docker system prune
Upvotes: 9