Steps to reproduce the issue:
i wanna run my docker image called gateway using the cmd below.(a no-daemon entrypoint has been set in the gateway's Dockerfile)
docker run -d -P gateway
Describe the results you received:
the container can run as usual
Describe the results you expected:
[root@IP-5-14 devicemapper]# docker run -d -P gateway
Error response from daemon: Error running DeviceCreate (createSnapDevice) dm_task_run failed
Additional information you deem important (e.g. issue happens only occasionally):
as the docker info shows, the data space has been raised up to the threshold 100G.
when I delete the container using docker rm -f $(docker ps -a -q). All the containers had been removed but reported the error below:
i used docker ps -a to ensure that all containers had been removed after i did the step 2. the cmd result is empty. but error occur(below) when i delete a NONE image
[root@IP-5-14 devicemapper]# docker rmi 6fdebd7b0eb5
Error response from daemon: Conflict, cannot delete because 6fdebd7b0eb5 is held by an ongoing pull or build
Error: failed to remove images: [6fdebd7b0eb5]
Can someone give me a favor? Thx a lot
The text was updated successfully, but these errors were encountered:
You need to increase the pool allowed for your containers. To do this, you will need to remove your var/lib/docker which will destroy all your containers and images.
sudo service docker stop sudo rm -rf /var/lib/docker sudo dd if=/dev/zero of=/var/lib/docker/devicemapper/devicemapper/data bs=1G count=0 seek=300
This will make your data space used 300GB
Does this solve your issue? Also, try stopping docker processes, start docker again, and see if you can remove the images
Devicemapper running out of space can be very tricky indeed; We're tracking issues around this in #20272.
For Docker 1.11, there's a new option to specify a minimum amount of free space to be kept, and would prevent you from arriving in this situation; see #20786
I'm going to close this issue, because I think this is not a bug, but a support question, but feel free to continue the discussion here
Output of
docker version
:Output of
docker info
:Additional environment details (AWS, VirtualBox, physical, etc.):
Steps to reproduce the issue:
i wanna run my docker image called gateway using the cmd below.(a no-daemon entrypoint has been set in the gateway's Dockerfile)
Describe the results you received:
the container can run as usual
Describe the results you expected:
Additional information you deem important (e.g. issue happens only occasionally):
docker info
shows, the data space has been raised up to the threshold 100G.docker rm -f $(docker ps -a -q)
. All the containers had been removed but reported the error below:docker ps -a
to ensure that all containers had been removed after i did the step 2. the cmd result is empty. but error occur(below) when i delete a NONE imageCan someone give me a favor? Thx a lot
The text was updated successfully, but these errors were encountered: