Container Docker does not starta "no space left on device"

Asked

Viewed 178 times

0

I am facing the problem with Docker I had a container that was running when it hit the 10G, and without knowing it I of a stop in it and now it does not start.

# docker start ambient-dev
Error response from daemon: invalid header field value "oci runtime error: container_linux.go:247: starting container process caused \"process_linux.go:359: container init caused \\\"rootfs_linux.go:90: jailing process inside rootfs caused \\\\\\\"can't create pivot_root dir , error mkdir /home/Docker/docker/devicemapper/mnt/cbac9dcaab97a08bf5b12707240db477a871807650ba545480083cffee3e3817/rootfs/.pivot_root428549510: no space left on device\\\\\\\"\\\"\"\n"
Error: failed to start containers: ambient-dev

I can’t commit the container either:

docker commit ambient-dev rubeus/teste
Error response from daemon: ApplyLayer exit status 1 stdout:  stderr: write /var/www/html/unifemm/unifemm_processo_seletivo.sql: no space left on device

I needed to get this container back, but I’m running out of ideas and the google search hasn’t been very fruitful, if anyone can help me.

1 answer

0

In my case I was able to access the container again using Docker export and Docker import and creating a new container based on the image I got in import. Now I’m leaving the answer here because who knows can help someone who comes across this same situation.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.