% docker version !10001
Client:
Version: 1.10.1
API version: 1.22
Go version: go1.5.3
Git commit: 9e83765
Built: Thu Feb 11 19:27:08 2016
OS/Arch: linux/amd64
Server:
Version: 1.10.1
API version: 1.22
Go version: go1.5.3
Git commit: 9e83765
Built: Thu Feb 11 19:27:08 2016
OS/Arch: linux/amd64
when I run the rancher-agent on my hosts I can not remove containers anymore, I always get
Unable to remove filesystem for a01c3c0b5835c423bec069c7c2db81046def0060839add148b738bc2a5da273b: remove /var/lib/docker/containers/a01c3c0b5835c423bec069c7c2db81046def0060839add148b738bc2a5da273b/shm: device or resource busy
as soon as I stop rancher-agent I am able to remove the containers
Any ideas on how I could get 1.10.1 on a host to try and reproduce?
Would you be able to try using Docker 1.10.3 and see if you have the same issue? I’ve never faced this issue with Docker 1.10.3 and deleting containers.
Which containers are you trying to delete? Also, what OS are you running?
I upgraded to docker 1.10.3 and got the same error.
I am using docker-compose v2 with networks and volumes defined. When I do
docker-compose rm -f```
I get the error.
Running on
```Linux nepal 3.13.0-79-generic #123-Ubuntu SMP Fri Feb 19 14:27:58 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux```
What is your docker-compose.yml for rancher-agent? This seems like it might be related more to docker-compose as we aren’t doing anything specific that should cause this.
Hi @tompson , I have been facing this issue and found the root cause as docker mount spaces being watched by rancher cattle watcher and cAdvisor processes. This stops us from removing the container as file system is being used by some other process-