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

"docker images" slow on 0.7.3 #3468

Closed
jots opened this issue Jan 6, 2014 · 7 comments · Fixed by #3487
Closed

"docker images" slow on 0.7.3 #3468

jots opened this issue Jan 6, 2014 · 7 comments · Fixed by #3487

Comments

@jots
Copy link

jots commented Jan 6, 2014

On ubuntu 13.10 I did:
wget http://get.docker.io/builds/Linux/x86_64/docker-latest -O docker

docker images is slow:

using docker 0.7.2
% time docker images
real 0m0.284s
user 0m0.014s
sys 0m0.005s

using docker 0.7.3
% time docker images
real 0m15.845s <----
user 0m0.011s
sys 0m0.005s

@crosbymichael
Copy link
Contributor

+1

@ruphin
Copy link
Contributor

ruphin commented Jan 7, 2014

+1

I believe this is also causing docker build commands to be excessively slow compared to 0.7.2 when re-building a container.

Previously it would skip over the cached images very fast, and now it takes about a second to recognise an image has been cached and the build is skippable. In some cases, rebuilding the images is faster than pulling them from cache. This issue severely slows down automated systems that often (re-)build containers.

@wvlancke
Copy link

wvlancke commented Jan 7, 2014

+1

1 similar comment
@ticosax
Copy link

ticosax commented Jan 7, 2014

+1

@vieux
Copy link
Contributor

vieux commented Jan 7, 2014

This was introduced by a6fdc5d
@crosbymichael do you have an idea or do you want me to dig in ?

@crosbymichael
Copy link
Contributor

i'll look into it

@KirinDave
Copy link

I am experiencing exactly this behavior on an Ubuntu 14.04 box running docker 1.1.2.

sudo docker images 0.01s user 0.01s system 0% cpu 8.890 total

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

Successfully merging a pull request may close this issue.

7 participants