Docker Community Forums

Share and learn in the Docker community.

Docker Image Created not found


(Marwenb) #1

Hello every one,
after that i built a docker image , at the first i can found it by taping docker images

But after 2 minutes when i retaping docker image i can’t found it and i can’t know why

The result of the build is perfect

i got this:

Successfully built 125a69b0877e
Successfully tagged example:latest

(Sam) #2

please show the output of docker images, after build and after waiting for a couple minutes…

(Marwenb) #3

Composer (version 1.5.6) successfully installed to: /usr/local/bin/composer
Use it: php /usr/local/bin/composer

—> 966ae3e1e1d8
Removing intermediate container 41f6df53eea7
Step 8/17 : RUN composer config --global process-timeout 2000
—> Running in 533c4a323b48
—> b0b730c8ed90
Removing intermediate container 533c4a323b48
Step 9/17 : RUN a2enmod rewrite
—> Running in 4c5cc119fc87
Module rewrite already enabled
—> 04b02fb57731
Removing intermediate container 4c5cc119fc87
Step 10/17 : ADD php-custom.ini /etc/php5/apache2/conf.d
—> ec694850defe
Step 11/17 : ADD php-custom.ini /etc/php5/cli/conf.d
—> d8eb417ed355
Step 12/17 : ADD php-custom.ini /usr/local/etc/php/conf.d
—> 2cab925afcad
Step 13/17 : RUN rm /etc/localtime
—> Running in d7ee72b2cb57
—> 61abc28dc86a
Removing intermediate container d7ee72b2cb57
Step 14/17 : RUN ln -s /usr/share/zoneinfo/Europe/Paris /etc/localtime
—> Running in 8c907f67aba5
—> 8c4c6c38ffe2
Removing intermediate container 8c907f67aba5
Step 15/17 : RUN “date”
—> Running in d8b725e14b3f
Thu Dec 28 17:09:12 CET 2017
—> 38ecb3bf2d02
Removing intermediate container d8b725e14b3f
Step 16/17 : RUN usermod -u 1000 www-data
—> Running in 2e5d746208b3
—> 30360ad499ac
Removing intermediate container 2e5d746208b3
Step 17/17 : VOLUME /var/www/html
—> Running in ea997eff84ad
—> 0ddcddd8fbef
Removing intermediate container ea997eff84ad
Successfully built 0ddcddd8fbef
Successfully tagged web-tv4:latest

(Sam) #4

no… that is the output of docker build

please run

docker images

this lists the images that are known locally, both built and pull’ed

(Marwenb) #5

Thank you for your response,
i iger out the solution, I think that there is no spece left for the image that’s why :slight_smile: