简体   繁体   中英

Docker-compose Fails due to no space left on device

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

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

docker system prune works but you need to use sudo

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM