Commandes Linux : docker-compose images

DOCKER-COMPOSE IMAGES

Commande : docker-compose images
List images used by the created containers.
Usage: images [options] [SERVICE...]

Options:
    -q, --quiet  Only display IDs

 

Lister les images utilisées (téléchargées et construites) par les containers de services :

docker-compose images [SERVICE...]

ex :

$ docker-compose images
         Container                   Repository            Tag       Image Id      Size  
-----------------------------------------------------------------------------------------
db                            postgres                    9.4      7889bf54d0cf   214 MB 
example-voting-app_result_1   example-voting-app_result   latest   25f381575994   77.5 MB
example-voting-app_vote_1     example-voting-app_vote     latest   9768fa953ff5   68.2 MB
example-voting-app_worker_1   example-voting-app_worker   latest   96ca93da0c49   1.6 GB 
redis                         redis                       alpine   05635ee9e1c7   39 MB  
$ docker-compose images db
Container   Repository   Tag     Image Id      Size 
----------------------------------------------------
db          postgres     9.4   7889bf54d0cf   214 MB

 

Fermer le menu
%d blogueurs aiment cette page :