Skip to content

Instantly share code, notes, and snippets.

@didip
Created August 27, 2014 21:49
Show Gist options
  • Save didip/d46e0e6d9931a927e254 to your computer and use it in GitHub Desktop.
Save didip/d46e0e6d9931a927e254 to your computer and use it in GitHub Desktop.
Removing container through remote API raise "Device is busy" error, but based on the underlying mount, the SHA directory is actually deleted.
> docker version
Client version: 1.1.2
Client API version: 1.13
Go version (client): go1.2.2
Git commit (client): d84a070/1.1.2
Server version: 1.1.2
Server API version: 1.13
Go version (server): go1.2.2
Git commit (server): d84a070/1.1.2
Engine: devicemapper
OS: CentOS release 6.5 (Final)
URL path: /v1.7/containers/c6017015cce4d33af293a73b4c2913cfd6f5a09045b5b2b26c0ec00141f82aee
The error message is the usual:
Cannot destroy container c6017015cce4d33af293a73b4c2913cfd6f5a09045b5b2b26c0ec00141f82aee: Driver devicemapper failed to remove root filesystem c6017015cce4d33af293a73b4c2913cfd6f5a09045b5b2b26c0ec00141f82aee: Device is Busy
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment