Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

errors with 'docker-clean all' command #20

Open
guillaumevincent opened this issue Jun 15, 2016 · 9 comments
Open

errors with 'docker-clean all' command #20

guillaumevincent opened this issue Jun 15, 2016 · 9 comments
Labels

Comments

@guillaumevincent
Copy link

1. What version of Docker-Clean are you running ?

2.0.4

2. What command are you trying to run?

docker-clean all

4. What did you see instead ( 'docker-clean -l or --verbose' for the entire log )?

~# docker-clean -l all
No running containers!
Cleaning containers...
Error response from daemon: devmapper: Unknown device 4a96badceaf94c204d9248cb594b9ba316d7a1cef899ab4637e8f6e7259e1b09
Error response from daemon: devmapper: Unknown device 4a96badceaf94c204d9248cb594b9ba316d7a1cef899ab4637e8f6e7259e1b09
Error response from daemon: devmapper: Unknown device 4a96badceaf94c204d9248cb594b9ba316d7a1cef899ab4637e8f6e7259e1b09
DELETED: ID: f2d4ef3216a8 IMAGE: / NAME: 
Stopped containers cleaned: 1
Cleaning images...
DELETED: REPOSITORY/TAG: [] IMAGE ID: 8ec602c0ee99
Error: No such image or container: 99b7073596fb
Error: No such image or container: 99b7073596fb
Error: No such image or container: c4b4bf8f23fb
Error: No such image or container: c4b4bf8f23fb
DELETED: REPOSITORY/TAG: ["node:argon"] IMAGE ID: 1f9967dbfc82
DELETED: REPOSITORY/TAG: ["mysql:5.7"] IMAGE ID: 2fd136002c22
Images cleaned: 3
You've cleared approximately MB: 1672 or GB: 1 of space!
No dangling volumes!
No empty networks!

5. What are your system specs?

Docker Version: 1.11.2, build b9f10c9
OS/Version: Ubuntu 14.04

@killianbrackey
Copy link
Contributor

Do you only see these errors on the all command?

@guillaumevincent
Copy link
Author

@killianbrackey no error on docker-clean or docker-clean stop
I will test docker-clean images

@pascalandy
Copy link

pascalandy commented Dec 11, 2016

I have a similar errors but the images are actually cleaned from my hard drive.

all with img zzrot/docker-clean:docker-1.11.1

Status: Downloaded newer image for zzrot/docker-clean:docker-1.11.1
Stopping running containers...
Not stopping self: 21980deaee4e
Containers stopped: 0
Cleaning containers...
Stopped containers cleaned: 2
Cleaning images...
Error: No such image or container: 97bec870d724
Error: No such image or container: 97bec870d724
Error: No such image or container: 97bec870d724
Error: No such image or container: 97bec870d724
Error: No such image or container: 97bec870d724
Error: No such image or container: 97bec870d724
Error: No such image or container: 6a91777c19c7
Error: No such image or container: 6a91777c19c7
Error: No such image or container: cd9e1c516925
Error: No such image or container: cd9e1c516925
Error: No such image or container: 57c008521b7c
Error: No such image or container: 57c008521b7c
Error: No such image or container: 73d99d931d1d
Error: No such image or container: 73d99d931d1d
Error: No such image or container: e95e92e0c70d
Error: No such image or container: e95e92e0c70d
Error: No such image or container: a9e051bdda62
Error: No such image or container: a9e051bdda62
Error: No such image or container: ab3d33b82da2
Error: No such image or container: ab3d33b82da2
Error: No such image or container: 9bbfefe1846f
Error: No such image or container: 9bbfefe1846f
Error: No such image or container: ae9909c6d08d
Error: No such image or container: ae9909c6d08d
Error: No such image or container: 9c8eff8d0b7f
Error: No such image or container: 9c8eff8d0b7f
Error: No such image or container: 60f0d567a9e6
Error: No such image or container: 60f0d567a9e6
Error: No such image or container: 997af4dae064
Error: No such image or container: 997af4dae064
Error: No such image or container: 1506fef93432
Error: No such image or container: 1506fef93432
Error: No such image or container: 9752d71739d2
Error: No such image or container: 9752d71739d2
Error: No such image or container: 197183e1fb83
Error: No such image or container: 197183e1fb83
Error: No such image or container: 91b2e956f1b4
Error: No such image or container: 91b2e956f1b4
Error: No such image or container: b57789a5996f
Error: No such image or container: b57789a5996f
Error: No such image or container: 3ae1d7a6e32d
Error: No such image or container: 3ae1d7a6e32d
Error: No such image or container: 5de0802e0529
Error: No such image or container: 5de0802e0529
Error: No such image or container: f7d32ef74452
Error: No such image or container: f7d32ef74452
Error: No such image or container: 0d6ee549ae13
Error: No such image or container: 0d6ee549ae13
Error: No such image or container: 0d6ee549ae13
Error: No such image or container: 0d6ee549ae13
Error: No such image or container: 0d6ee549ae13
Error: No such image or container: 0d6ee549ae13
Error: No such image or container: ff9d813c4559
Error: No such image or container: ff9d813c4559
Error: No such image or container: 2f3c6710d8f2
Error: No such image or container: 2f3c6710d8f2
Error: No such image or container: baa5d63471ea
Error: No such image or container: baa5d63471ea
Error: No such image or container: 8f9c114f7897
Error: No such image or container: 8f9c114f7897
Error: No such image or container: 942fd5fd357e
Error: No such image or container: 942fd5fd357e
Error: No such image or container: fa7d80bd32e4
Error: No such image or container: fa7d80bd32e4
Error: No such image or container: 5dd15383a5b8
Error: No such image or container: 5dd15383a5b8
Error: No such image or container: ce0635281dcf
Error: No such image or container: ce0635281dcf
Images cleaned: 23
You've cleared approximately MB: 9217 or GB: 9 of space!
Cleaning existing dangling volumes...
Volumes cleaned: 46
Removing empty networks...
Networks removed: 5

@pascalandy
Copy link

pascalandy commented Dec 11, 2016

Also, would be nice to have a clear tag usage for each specific docker version. I see that not all image working. I had to try 3 of them.

@killianbrackey
Copy link
Contributor

@pascalandy thanks for the update. It looks like the bash array isn't updated when values are being removed. I will take a look at this in the next couple of days. The automated builds are not working (switched from automated build to makefile for multiple image builds). However the tags in DockerHub are here: https://hub.docker.com/r/zzrot/docker-clean/tags/

Which of the tags did you notice wasn't working? Also I agree that the tagging could be better -- it is currently ad hoc based on requests for older docker versions

@pascalandy
Copy link

Tag 2.0.4 is not working

@killianbrackey
Copy link
Contributor

Added a tag for the version of docker clean @pascalandy. I will add an overhaul of the tagging system to the roadmap list @Skilgarriff and I are putting together. Added a link to the tags in the README.md as well

@killianbrackey killianbrackey mentioned this issue Dec 20, 2016
@z00m1n
Copy link

z00m1n commented May 27, 2018

I think the error I'm getting here are related to this issue:

$ docker-clean --all
Stopping running containers...
Containers stopped: 1
Cleaning containers...
Stopped containers cleaned: 1
Cleaning images...
Images cleaned: 1
You've cleared approximately MB: 236 of space!
Cleaning existing dangling volumes...
Volumes cleaned: 1
No empty networks!

No active host found
Docker machine "" does not exist. Use "docker-machine ls" to list machines. Use "docker-machine create" to add a new one.
Docker machine "" does not exist. Use "docker-machine ls" to list machines. Use "docker-machine create" to add a new one.
Running docker-machine env ...
Error: No machine name(s) specified and no "default" machine exists
New IP Address for  : 

Also, could you please get rid of the exclamation marks in the messages ? They're embarrassing...

@z00m1n
Copy link

z00m1n commented Jun 15, 2018

new weird messages popping up while using docker-clean today:

$ docker-clean --all
No running containers!
No containers To clean!
Cleaning images...
Error: No such object: 3193e9762844
Error: No such object: 3193e9762844
Error: No such object: 49ce391258c1
Error: No such object: 49ce391258c1
Error: No such object: cee013317579
Error: No such object: cee013317579
Error: No such object: 70918c47fec9
Error: No such object: 70918c47fec9
Error: No such object: 4577f5f6581c
Error: No such object: 4577f5f6581c
Error: No such object: 00a43fa52c9e
Error: No such object: 00a43fa52c9e
Error: No such object: 78ba456c2e1a
Error: No such object: 78ba456c2e1a
Error: No such object: f928c5eaa942
Error: No such object: f928c5eaa942
Error: No such object: f95911cbeb07
Error: No such object: f95911cbeb07
Error: No such object: 276eb3602fa5
Error: No such object: 276eb3602fa5
Error: No such object: ea6fe7e07b83
Error: No such object: ea6fe7e07b83
Error: No such object: 14b934ae4777
Error: No such object: 14b934ae4777
Error: No such object: a23a7b93363d
Error: No such object: a23a7b93363d
Error: No such object: 59d222f8f725
Error: No such object: 59d222f8f725
Error: No such object: bd3fe0fcb2dc
Error: No such object: bd3fe0fcb2dc
Error: No such object: cb2e2003e793
Error: No such object: cb2e2003e793
Error: No such object: 8ed362d6e9a8
Error: No such object: 8ed362d6e9a8
Error: No such object: 966e31b23781
Error: No such object: 966e31b23781
Error: No such object: 298fc0ca6ca1
Error: No such object: 298fc0ca6ca1
Error: No such object: 6d1bb903ccb5
Error: No such object: 6d1bb903ccb5
Error: No such object: dcbe44a2a853
Error: No such object: dcbe44a2a853
Error: No such object: 69c89bb99b46
Error: No such object: 69c89bb99b46
Error: No such object: d6bf8e4b9b11
Error: No such object: d6bf8e4b9b11
Error: No such object: a79a3b0fc3f6
Error: No such object: a79a3b0fc3f6
Error: No such object: 8159dd340b58
Error: No such object: 8159dd340b58
Error: No such object: b06513c0ec67
Error: No such object: b06513c0ec67
Error: No such object: 41b20e147072
Error: No such object: 41b20e147072
Error: No such object: 1d309379ab0f
Error: No such object: 1d309379ab0f
Error: No such object: ed9df70658bd
Error: No such object: ed9df70658bd
Error: No such object: 52aed7a81881
Error: No such object: 52aed7a81881
Error: No such object: f70dcdefbbe2
Error: No such object: f70dcdefbbe2
Error: No such object: 40e0b61fc096
Error: No such object: 40e0b61fc096
Error: No such object: 230004f6c830
Error: No such object: 230004f6c830
Error: No such object: 159c56b74efb
Error: No such object: 159c56b74efb
Error: No such object: a57b41a71ba8
Error: No such object: a57b41a71ba8
Error: No such object: 8eb12f81d19f
Error: No such object: 8eb12f81d19f
Error: No such object: b6c2214a5f57
Error: No such object: b6c2214a5f57
Error: No such object: 5e716a7ee8d2
Error: No such object: 5e716a7ee8d2
Error: No such object: 88d6ad05c406
Error: No such object: 88d6ad05c406
Error: No such object: 433af1793982
Error: No such object: 433af1793982
Error: No such object: 941ce9e36020
Error: No such object: 941ce9e36020
Error: No such object: 446b315d5609
Error: No such object: 446b315d5609
Error: No such object: 0daed7af6d17
Error: No such object: 0daed7af6d17
Error: No such object: ecf4ee04b7cd
Error: No such object: ecf4ee04b7cd
Error: No such object: 7049a5ef6cab
Error: No such object: 7049a5ef6cab
Error: No such object: ab30d4986496
Error: No such object: ab30d4986496
Error: No such object: 66b5fb58cb9d
Error: No such object: 66b5fb58cb9d
Error: No such object: b7c5b6387972
Error: No such object: b7c5b6387972
Error: No such object: cacbf746035b
Error: No such object: cacbf746035b
Error: No such object: 65b99ef9cc52
Error: No such object: 65b99ef9cc52
Error: No such object: 9dfe2a630ac2
Error: No such object: 9dfe2a630ac2
Error: No such object: 0df6601e88e4
Error: No such object: 0df6601e88e4
Error: No such object: 53b23ba895cd
Error: No such object: 53b23ba895cd
Error: No such object: e19e2e87bf12
Error: No such object: e19e2e87bf12
Error: No such object: ac07187f9b0f
Error: No such object: ac07187f9b0f
Error: No such object: 8183815c0539
Error: No such object: 8183815c0539
Error: No such object: 98d7a63ffc4f
Error: No such object: 98d7a63ffc4f
Error: No such object: e07d46be631e
Error: No such object: e07d46be631e
Error: No such object: edbb230c9543
Error: No such object: edbb230c9543
Error: No such object: 200aeeaba879
Error: No such object: 200aeeaba879
Error: No such object: 34a28cda88c8
Error: No such object: 34a28cda88c8
Error: No such object: 09be22467310
Error: No such object: 09be22467310
Error: No such object: b7dc8ab36839
Error: No such object: b7dc8ab36839
Error: No such object: ff6d2ff2f68b
Error: No such object: ff6d2ff2f68b
Error: No such object: 1a39457779b7
Error: No such object: 1a39457779b7
Error: No such object: 1541620484d2
Error: No such object: 1541620484d2
Error: No such object: 72f776f06595
Error: No such object: 72f776f06595
Error: No such object: ea9231b3e5f5
Error: No such object: ea9231b3e5f5
Images cleaned: 86
You've cleared approximately MB: 6774 or GB: 6 of space!
No dangling volumes!
No empty networks!

No active host found
Docker machine "" does not exist. Use "docker-machine ls" to list machines. Use "docker-machine create" to add a new one.
Docker machine "" does not exist. Use "docker-machine ls" to list machines. Use "docker-machine create" to add a new one.
Running docker-machine env ...
Error: No machine name(s) specified and no "default" machine exists
New IP Address for  : 

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants