azukiapp / azk

azk is a lightweight open source development environment orchestration tool. Instantly & safely run any environment on your local machine.
http://azk.io
Apache License 2.0
897 stars 63 forks source link

Undefined console output for image download progress #531

Closed tuliomonteazul closed 8 years ago

tuliomonteazul commented 8 years ago

Running on Mac OS X 10.9.5 Azk version 0.15.0

After running azk start -R -vv, a lot of undefined values were printed incrementally. Probably has something to do with the image download progress. Running the same command again didn't reproduce the problem. Deleting the image with adocker rmi -f and running the same command, reproduced the problem.

Here is an image: screen shot 2015-10-01 at 19 37 33

My Azkfile has: image: {"dockerfile": "./docker/Dockerfile"}, My Dockerfile is:

FROM nginx

COPY ./nginx.conf /etc/nginx/conf.d/agendor.conf
saitodisse commented 8 years ago

This error happens sometimes with me too. :( Would be nice if I could easy simulate this to fix that.

gullitmiranda commented 8 years ago

@saitodisse , I guess using the same Dockerfile the problem should be repeated?

slobo commented 8 years ago

This happens randomly to me too. I think it's usually first time we do azk start on a new machine, but could be wrong about that.

saitodisse commented 8 years ago

Yes @slobo, you are right. Every time when pulling new images this happens. To simulate that behaviour I did this, with a Dockerfile using nodesource/node:0.12:

azk stop; /
sudo service docker restart; /
adocker rmi -f nodesource/node:0.12; /
adocker rmi -f $(adocker images -q -f dangling=true | tr '\r\n' ' '); /
azk start -Rvv; /
sudo service docker restart;

I will try to fix this now